1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,52571,55436,81140,20783,30030,91918,48425,26330,10772,53660,74606,96626,69340,78761,80669,e=>{"use strict";let t;var n,a,r,i,s,o,l,c,d=e.i(75254);let u=(0,d.default)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);e.s(["Info",0,u],52571);let p=(0,d.default)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);e.s(["Search",0,p],55436);var h=e.i(71645);function m(e,t,{checkForDefaultPrevented:n=!0}={}){return function(a){if(e?.(a),!1===n||!a.defaultPrevented)return t?.(a)}}function f(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function g(...e){return t=>{let n=!1,a=e.map(e=>{let a=f(e,t);return n||"function"!=typeof a||(n=!0),a});if(n)return()=>{for(let t=0;t<a.length;t++){let n=a[t];"function"==typeof n?n():f(e[t],null)}}}}function x(...e){return h.useCallback(g(...e),e)}"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,m],81140),e.s(["composeRefs",0,g,"useComposedRefs",0,x],20783);var y=e.i(43476);function v(e,t=[]){let n=[],a=()=>{let t=n.map(e=>h.createContext(e));return function(n){let a=n?.[e]||t;return h.useMemo(()=>({[`__scope${e}`]:{...n,[e]:a}}),[n,a])}};return a.scopeName=e,[function(t,a){let r=h.createContext(a),i=n.length;n=[...n,a];let s=t=>{let{scope:n,children:a,...s}=t,o=n?.[e]?.[i]||r,l=h.useMemo(()=>s,Object.values(s));return(0,y.jsx)(o.Provider,{value:l,children:a})};return s.displayName=t+"Provider",[s,function(n,s){let o=s?.[e]?.[i]||r,l=h.useContext(o);if(l)return l;if(void 0!==a)return a;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let a=n.reduce((t,{useScope:n,scopeName:a})=>{let r=n(e)[`__scope${a}`];return{...t,...r}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}(a,...t)]}e.s(["createContextScope",0,v],30030);var b=e.i(74080);function w(e){var t;let n,a=(t=e,(n=h.forwardRef((e,t)=>{let{children:n,...a}=e;if(h.isValidElement(n)){var r;let e,i,s=(r=n,(i=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?r.ref:(i=(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?r.props.ref:r.props.ref||r.ref),o=function(e,t){let n={...t};for(let a in t){let r=e[a],i=t[a];/^on[A-Z]/.test(a)?r&&i?n[a]=(...e)=>{let t=i(...e);return r(...e),t}:r&&(n[a]=r):"style"===a?n[a]={...r,...i}:"className"===a&&(n[a]=[r,i].filter(Boolean).join(" "))}return{...e,...n}}(a,n.props);return n.type!==h.Fragment&&(o.ref=t?g(t,s):s),h.cloneElement(n,o)}return h.Children.count(n)>1?h.Children.only(null):null})).displayName=`${t}.SlotClone`,n),r=h.forwardRef((e,t)=>{let{children:n,...r}=e,i=h.Children.toArray(n),s=i.find(C);if(s){let e=s.props.children,n=i.map(t=>t!==s?t:h.Children.count(e)>1?h.Children.only(null):h.isValidElement(e)?e.props.children:null);return(0,y.jsx)(a,{...r,ref:t,children:h.isValidElement(e)?h.cloneElement(e,void 0,n):null})}return(0,y.jsx)(a,{...r,ref:t,children:n})});return r.displayName=`${e}.Slot`,r}var j=Symbol("radix.slottable");function C(e){return h.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===j}e.s(["createSlot",0,w,"createSlottable",0,function(e){let t=({children:e})=>(0,y.jsx)(y.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=j,t}],91918);var N=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=w(`Primitive.${t}`),a=h.forwardRef((e,a)=>{let{asChild:r,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,y.jsx)(r?n:t,{...i,ref:a})});return a.displayName=`Primitive.${t}`,{...e,[t]:a}},{});function k(e,t){e&&b.flushSync(()=>e.dispatchEvent(t))}function F(e){let t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...e)=>t.current?.(...e),[])}e.s(["Primitive",0,N,"dispatchDiscreteCustomEvent",0,k],48425);var E="dismissableLayer.update",R=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),A=h.forwardRef((e,t)=>
1{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:a,onPointerDownOutside:r,onFocusOutside:i,onInteractOutside:s,onDismiss:o,...c}=e,d=h.useContext(R),[u,p]=h.useState(null),f=u?.ownerDocument??globalThis?.document,[,g]=h.useState({}),v=x(t,e=>p(e)),b=Array.from(d.layers),[w]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),j=b.indexOf(w),C=u?b.indexOf(u):-1,k=d.layersWithOutsidePointerEventsDisabled.size>0,A=C>=j,B=function(e,t=globalThis?.document){let n=F(e),a=h.useRef(!1),r=h.useRef(()=>{});return h.useEffect(()=>{let e=e=>{if(e.target&&!a.current){let a=function(){T("dismissableLayer.pointerDownOutside",n,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",r.current),r.current=a,t.addEventListener("click",r.current,{once:!0})):a()}else t.removeEventListener("click",r.current);a.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>a.current=!0}}(e=>{let t=e.target,n=[...d.branches].some(e=>e.contains(t));A&&!n&&(r?.(e),s?.(e),e.defaultPrevented||o?.())},f),D=function(e,t=globalThis?.document){let n=F(e),a=h.useRef(!1);return h.useEffect(()=>{let e=e=>{e.target&&!a.current&&T("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}(e=>{let t=e.target;![...d.branches].some(e=>e.contains(t))&&(i?.(e),s?.(e),e.defaultPrevented||o?.())},f);return!function(e,t=globalThis?.document){let n=F(e);h.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{C===d.layers.size-1&&(a?.(e),!e.defaultPrevented&&o&&(e.preventDefault(),o()))},f),h.useEffect(()=>{if(u)return n&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(l=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(u)),d.layers.add(u),S(),()=>{n&&1===d.layersWithOutsidePointerEventsDisabled.size&&(f.body.style.pointerEvents=l)}},[u,f,n,d]),h.useEffect(()=>()=>{u&&(d.layers.delete(u),d.layersWithOutsidePointerEventsDisabled.delete(u),S())},[u,d]),h.useEffect(()=>{let e=()=>g({});return document.addEventListener(E,e),()=>document.removeEventListener(E,e)},[]),(0,y.jsx)(N.div,{...c,ref:v,style:{pointerEvents:k?A?"auto":"none":void 0,...e.style},onFocusCapture:m(e.onFocusCapture,D.onFocusCapture),onBlurCapture:m(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:m(e.onPointerDownCapture,B.onPointerDownCapture)})});function S(){let e=new CustomEvent(E);document.dispatchEvent(e)}function T(e,t,n,{discrete:a}){let r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),a?k(r,i):r.dispatchEvent(i)}A.displayName="DismissableLayer",h.forwardRef((e,t)=>{let n=h.useContext(R),a=h.useRef(null),r=x(t,a);return h.useEffect(()=>{let e=a.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,y.jsx)(N.div,{...e,ref:r})}).displayName="DismissableLayerBranch",e.s(["DismissableLayer",0,A],26330);var B=0;function D(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var M="focusScope.autoFocusOnMount",P="focusScope.autoFocusOnUnmount",I={bubbles:!1,cancelable:!0},L=h.forwardRef((e,t)=>{let{loop:n=!1,trapped:a=!1,onMountAutoFocus:r,onUnmountAutoFocus:i,...s}=e,[o,l]=h.useState(null),c=F(r),d=F(i),u=h.useRef(null),p=x(t,e=>l(e)),m=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect(()=>{if(a){let e=function(e){if(m.paused||!o)return;let t=e.target;o.contains(t)?u.current=t:V(u.current,{select:!0})},t=function(e){if(m.paused||!o)return;let t=e.relatedTarget;null!==t&&(o.contains(t)||V(u.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&V(o)});return o&&n.observe(o,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[a,o,m.paused]),h.useEffect(()=>{if(o){W.add(m);let e=document.activeElement;if(!o.contains(e)){let t=new CustomEvent(M,I);o.addEventListener(M,c),o.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let a of e)if(V(a,{select:t}),document.activeElement!==n)return}(H(o).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&V(o))}return()=>{o.removeEventListener(M,c),setTimeout(()=>{let t=new CustomEvent(P,I);o.addEventListener(P,d),o.dispatchEvent(t),t.defaultPrevented||V(e??document.body,{select:!0}),o.removeEventListener(P,d),W.remove(m)},0)}}},[o,c,d,m]);let f=h.useCallback(e=>{if(!n&&!a||m.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){var i;let t,a=e.currentTarget,[s,o]=[O(t=H(i=a),i),O(t.reverse(),i)];s&&o?e.shiftKey||r!==o?e.shiftKey&&r===s&&(e.preventDefault(),n&&V(o,{select:!0})):(e.preventDefault(),n&&V(s,{select:!0})):r===a&&e.preventDefault()}},[n,a,m.paused]);return(0,y.jsx)(N.div,{tabIndex:-1,...s,ref:p,onKeyDown:f})});function H(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function O(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function V(e,{select:t=!1}={}){if(e&&e.focus){var n;let a=document.activeElement;e.focus({preventScroll:!0}),e!==a&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}L.displayName="FocusScope";var W=(t=[],{add(e){let n=t[0];e!==n&&n?.pause(),(t=_(t,e)).unshift(e)},remove(e){t=_(t,e),t[0]?.resume()}});function _(e,t){let n=[...e],a=n.indexOf(t);return -1!==a&&n.splice(a,1),n}var U=globalThis?.document?h.useLayoutEffect:()=>{},z=h[" useId ".trim().toString()]||(()=>void 0),q=0;function Z(e){let[t,n]=h.useState(z());return U(()=>{e||n(e=>e??String(q++))},[e]),e||(t?`radix-${t}`:"")}e.s(["useId",0,Z],10772);let Q=["top","right","bottom","left"],$=Math.min,K=Math.max,G=Math.round,X=Math.floor,Y=e=>({x:e,y:e}
1),J={left:"right",right:"left",bottom:"top",top:"bottom"},ee={start:"end",end:"start"};function et(e,t){return"function"==typeof e?e(t):e}function en(e){return e.split("-")[0]}function ea(e){return e.split("-")[1]}function er(e){return"x"===e?"y":"x"}function ei(e){return"y"===e?"height":"width"}let es=new Set(["top","bottom"]);function eo(e){return es.has(en(e))?"y":"x"}function el(e){return e.replace(/start|end/g,e=>ee[e])}let ec=["left","right"],ed=["right","left"],eu=["top","bottom"],ep=["bottom","top"];function eh(e){return e.replace(/left|right|bottom|top/g,e=>J[e])}function em(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function ef(e){let{x:t,y:n,width:a,height:r}=e;return{width:a,height:r,top:n,left:t,right:t+a,bottom:n+r,x:t,y:n}}function eg(e,t,n){let a,{reference:r,floating:i}=e,s=eo(t),o=er(eo(t)),l=ei(o),c=en(t),d="y"===s,u=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,h=r[l]/2-i[l]/2;switch(c){case"top":a={x:u,y:r.y-i.height};break;case"bottom":a={x:u,y:r.y+r.height};break;case"right":a={x:r.x+r.width,y:p};break;case"left":a={x:r.x-i.width,y:p};break;default:a={x:r.x,y:r.y}}switch(ea(t)){case"start":a[o]-=h*(n&&d?-1:1);break;case"end":a[o]+=h*(n&&d?-1:1)}return a}let ex=async(e,t,n)=>{let{placement:a="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,o=i.filter(Boolean),l=await (null==s.isRTL?void 0:s.isRTL(t)),c=await s.getElementRects({reference:e,floating:t,strategy:r}),{x:d,y:u}=eg(c,a,l),p=a,h={},m=0;for(let n=0;n<o.length;n++){let{name:i,fn:f}=o[n],{x:g,y:x,data:y,reset:v}=await f({x:d,y:u,initialPlacement:a,placement:p,strategy:r,middlewareData:h,rects:c,platform:s,elements:{reference:e,floating:t}});d=null!=g?g:d,u=null!=x?x:u,h={...h,[i]:{...h[i],...y}},v&&m<=50&&(m++,"object"==typeof v&&(v.placement&&(p=v.placement),v.rects&&(c=!0===v.rects?await s.getElementRects({reference:e,floating:t,strategy:r}):v.rects),{x:d,y:u}=eg(c,p,l)),n=-1)}return{x:d,y:u,placement:p,strategy:r,middlewareData:h}};async function ey(e,t){var n;void 0===t&&(t={});let{x:a,y:r,platform:i,rects:s,elements:o,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:p=!1,padding:h=0}=et(t,e),m=em(h),f=o[p?"floating"===u?"reference":"floating":u],g=ef(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(f)))||n?f:f.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:d,strategy:l})),x="floating"===u?{x:a,y:r,width:s.floating.width,height:s.floating.height}:s.reference,y=await (null==i.getOffsetParent?void 0:i.getOffsetParent(o.floating)),v=await (null==i.isElement?void 0:i.isElement(y))&&await (null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},b=ef(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:x,offsetParent:y,strategy:l}):x);return{top:(g.top-b.top+m.top)/v.y,bottom:(b.bottom-g.bottom+m.bottom)/v.y,left:(g.left-b.left+m.left)/v.x,right:(b.right-g.right+m.right)/v.x}}function ev(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function eb(e){return Q.some(t=>e[t]>=0)}let ew=new Set(["left","top"]);async function ej(e,t){let{placement:n,platform:a,elements:r}=e,i=await (null==a.isRTL?void 0:a.isRTL(r.floating)),s=en(n),o=ea(n),l="y"===eo(n),c=ew.has(s)?-1:1,d=i&&l?-1:1,u=et(t,e),{mainAxis:p,crossAxis:h,alignmentAxis:m}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return o&&"number"==typeof m&&(h="end"===o?-1*m:m),l?{x:h*d,y:p*c}:{x:p*c,y:h*d}}function eC(){return"u">typeof window}function eN(e){return eE(e)?(e.nodeName||"").toLowerCase():"#document"}function ek(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function eF(e){var t;return null==(t=(eE(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function eE(e){return!!eC()&&(e instanceof Node||e instanceof ek(e).Node)}function eR(e){return!!eC()&&(e instanceof Element||e instanceof ek(e).Element)}function eA(e){return!!eC()&&(e instanceof HTMLElement||e instanceof ek(e).HTMLElement)}function eS(e){return!(!eC()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof ek(e).ShadowRoot)}let eT=new Set(["inline","contents"]);function eB(e){let{overflow:t,overflowX:n,overflowY:a,display:r}=eU(e);return/auto|scroll|overlay|hidden|clip/.test(t+a+n)&&!eT.has(r)}let eD=new Set(["table","td","th"]),eM=[":popover-open",":modal"];function eP(e){return eM.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let eI=["transform","translate","scale","rotate","perspective"],eL=["transform","translate","scale","rotate","perspective","filter"],eH=["paint","layout","strict","content"];function eO(e){let t=eV(),n=eR(e)?eU(e):e;return eI.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||eL.some(e=>(n.willChange||"").includes(e))||eH.some(e=>(n.contain||"").includes(e))}function eV(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let eW=new Set(["html","body","#document"]);function e_(e){return eW.has(eN(e))}function eU(e){return ek(e).getComputedStyle(e)}function ez(e){return eR(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eq(e){if("html"===eN(e))return e;let t=e.assignedSlot||e.parentNode||eS(e)&&e.host||eF(e);return eS(t)?t.host:t}function eZ(e,t,n){var a;void 0===t&&(t=[]),void 0===n&&(n=!0);let r=function e(t){let n=eq(t);return e_(n)?t.ownerDocument?t.ownerDocument.body:t.body:eA(n)&&eB(n)?n:e(n)}(e),i=r===(null==(a=e.ownerDocument)?void 0:a.body),s=ek(r);if(i){let e=eQ(s);
1return t.concat(s,s.visualViewport||[],eB(r)?r:[],e&&n?eZ(e):[])}return t.concat(r,eZ(r,[],n))}function eQ(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function e$(e){let t=eU(e),n=parseFloat(t.width)||0,a=parseFloat(t.height)||0,r=eA(e),i=r?e.offsetWidth:n,s=r?e.offsetHeight:a,o=G(n)!==i||G(a)!==s;return o&&(n=i,a=s),{width:n,height:a,$:o}}function eK(e){return eR(e)?e:e.contextElement}function eG(e){let t=eK(e);if(!eA(t))return Y(1);let n=t.getBoundingClientRect(),{width:a,height:r,$:i}=e$(t),s=(i?G(n.width):n.width)/a,o=(i?G(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),o&&Number.isFinite(o)||(o=1),{x:s,y:o}}let eX=Y(0);function eY(e){let t=ek(e);return eV()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eX}function eJ(e,t,n,a){var r;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),s=eK(e),o=Y(1);t&&(a?eR(a)&&(o=eG(a)):o=eG(e));let l=(void 0===(r=n)&&(r=!1),a&&(!r||a===ek(s))&&r)?eY(s):Y(0),c=(i.left+l.x)/o.x,d=(i.top+l.y)/o.y,u=i.width/o.x,p=i.height/o.y;if(s){let e=ek(s),t=a&&eR(a)?ek(a):a,n=e,r=eQ(n);for(;r&&a&&t!==n;){let e=eG(r),t=r.getBoundingClientRect(),a=eU(r),i=t.left+(r.clientLeft+parseFloat(a.paddingLeft))*e.x,s=t.top+(r.clientTop+parseFloat(a.paddingTop))*e.y;c*=e.x,d*=e.y,u*=e.x,p*=e.y,c+=i,d+=s,r=eQ(n=ek(r))}}return ef({width:u,height:p,x:c,y:d})}function e0(e,t){let n=ez(e).scrollLeft;return t?t.left+n:eJ(eF(e)).left+n}function e1(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-e0(e,n),y:n.top+t.scrollTop}}let e2=new Set(["absolute","fixed"]);function e5(e,t,n){var a;let r;if("viewport"===t)r=function(e,t){let n=ek(e),a=eF(e),r=n.visualViewport,i=a.clientWidth,s=a.clientHeight,o=0,l=0;if(r){i=r.width,s=r.height;let e=eV();(!e||e&&"fixed"===t)&&(o=r.offsetLeft,l=r.offsetTop)}let c=e0(a);if(c<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(a.clientWidth-t.clientWidth-r);s<=25&&(i-=s)}else c<=25&&(i+=c);return{width:i,height:s,x:o,y:l}}(e,n);else if("document"===t){let t,n,i,s,o,l,c;a=eF(e),t=eF(a),n=ez(a),i=a.ownerDocument.body,s=K(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),o=K(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),l=-n.scrollLeft+e0(a),c=-n.scrollTop,"rtl"===eU(i).direction&&(l+=K(t.clientWidth,i.clientWidth)-s),r={width:s,height:o,x:l,y:c}}else if(eR(t)){let e,a,i,s,o,l;a=(e=eJ(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,s=eA(t)?eG(t):Y(1),o=t.clientWidth*s.x,l=t.clientHeight*s.y,r={width:o,height:l,x:i*s.x,y:a*s.y}}else{let n=eY(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return ef(r)}function e3(e){return"static"===eU(e).position}function e6(e,t){if(!eA(e)||"fixed"===eU(e).position)return null;if(t)return t(e);let n=e.offsetParent;return eF(e)===n&&(n=n.ownerDocument.body),n}function e4(e,t){var n;let a=ek(e);if(eP(e))return a;if(!eA(e)){let t=eq(e);for(;t&&!e_(t);){if(eR(t)&&!e3(t))return t;t=eq(t)}return a}let r=e6(e,t);for(;r&&(n=r,eD.has(eN(n)))&&e3(r);)r=e6(r,t);return r&&e_(r)&&e3(r)&&!eO(r)?a:r||function(e){let t=eq(e);for(;eA(t)&&!e_(t);){if(eO(t))return t;if(eP(t))break;t=eq(t)}return null}(e)||a}let e8=async function(e){let t=this.getOffsetParent||e4,n=this.getDimensions,a=await n(e.floating);return{reference:function(e,t,n){let a=eA(t),r=eF(t),i="fixed"===n,s=eJ(e,!0,i,t),o={scrollLeft:0,scrollTop:0},l=Y(0);if(a||!a&&!i)if(("body"!==eN(t)||eB(r))&&(o=ez(t)),a){let e=eJ(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else r&&(l.x=e0(r));i&&!a&&r&&(l.x=e0(r));let c=!r||a||i?Y(0):e1(r,o);return{x:s.left+o.scrollLeft-l.x-c.x,y:s.top+o.scrollTop-l.y-c.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}},e7={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:a,strategy:r}=e,i="fixed"===r,s=eF(a),o=!!t&&eP(t.floating);if(a===s||o&&i)return n;let l={scrollLeft:0,scrollTop:0},c=Y(1),d=Y(0),u=eA(a);if((u||!u&&!i)&&(("body"!==eN(a)||eB(s))&&(l=ez(a)),eA(a))){let e=eJ(a);c=eG(a),d.x=e.x+a.clientLeft,d.y=e.y+a.clientTop}let p=!s||u||i?Y(0):e1(s,l);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+d.x+p.x,y:n.y*c.y-l.scrollTop*c.y+d.y+p.y}},getDocumentElement:eF,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:a,strategy:r}=e,i=[..."clippingAncestors"===n?eP(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let a=eZ(e,[],!1).filter(e=>eR(e)&&"body"!==eN(e)),r=null,i="fixed"===eU(e).position,s=i?eq(e):e;for(;eR(s)&&!e_(s);){let t=eU(s),n=eO(s);n||"fixed"!==t.position||(r=null),(i?!n&&!r:!n&&"static"===t.position&&!!r&&e2.has(r.position)||eB(s)&&!n&&function e(t,n){let a=eq(t);
1return!(a===n||!eR(a)||e_(a))&&("fixed"===eU(a).position||e(a,n))}(e,s))?a=a.filter(e=>e!==s):r=t,s=eq(s)}return t.set(e,a),a}(t,this._c):[].concat(n),a],s=i[0],o=i.reduce((e,n)=>{let a=e5(t,n,r);return e.top=K(a.top,e.top),e.right=$(a.right,e.right),e.bottom=$(a.bottom,e.bottom),e.left=K(a.left,e.left),e},e5(t,s,r));return{width:o.right-o.left,height:o.bottom-o.top,x:o.left,y:o.top}},getOffsetParent:e4,getElementRects:e8,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=e$(e);return{width:t,height:n}},getScale:eG,isElement:eR,isRTL:function(e){return"rtl"===eU(e).direction}};function e9(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let te=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:a,placement:r,rects:i,platform:s,elements:o,middlewareData:l}=t,{element:c,padding:d=0}=et(e,t)||{};if(null==c)return{};let u=em(d),p={x:n,y:a},h=er(eo(r)),m=ei(h),f=await s.getDimensions(c),g="y"===h,x=g?"clientHeight":"clientWidth",y=i.reference[m]+i.reference[h]-p[h]-i.floating[m],v=p[h]-i.reference[h],b=await (null==s.getOffsetParent?void 0:s.getOffsetParent(c)),w=b?b[x]:0;w&&await (null==s.isElement?void 0:s.isElement(b))||(w=o.floating[x]||i.floating[m]);let j=w/2-f[m]/2-1,C=$(u[g?"top":"left"],j),N=$(u[g?"bottom":"right"],j),k=w-f[m]-N,F=w/2-f[m]/2+(y/2-v/2),E=K(C,$(F,k)),R=!l.arrow&&null!=ea(r)&&F!==E&&i.reference[m]/2-(F<C?C:N)-f[m]/2<0,A=R?F<C?F-C:F-k:0;return{[h]:p[h]+A,data:{[h]:E,centerOffset:F-E-A,...R&&{alignmentOffset:A}},reset:R}}});var tt="u">typeof document?h.useLayoutEffect:function(){};function tn(e,t){let n,a,r;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(a=n;0!=a--;)if(!tn(e[a],t[a]))return!1;return!0}if((n=(r=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(a=n;0!=a--;)if(!({}).hasOwnProperty.call(t,r[a]))return!1;for(a=n;0!=a--;){let n=r[a];if(("_owner"!==n||!e.$$typeof)&&!tn(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function ta(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function tr(e,t){let n=ta(e);return Math.round(t*n)/n}function ti(e){let t=h.useRef(e);return tt(()=>{t.current=e}),t}var ts=h.forwardRef((e,t)=>{let{children:n,width:a=10,height:r=5,...i}=e;return(0,y.jsx)(N.svg,{...i,ref:t,width:a,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,y.jsx)("polygon",{points:"0,0 30,0 15,10"})})});ts.displayName="Arrow";var to="Popper",[tl,tc]=v(to),[td,tu]=tl(to),tp=e=>{let{__scopePopper:t,children:n}=e,[a,r]=h.useState(null);return(0,y.jsx)(td,{scope:t,anchor:a,onAnchorChange:r,children:n})};tp.displayName=to;var th="PopperAnchor",tm=h.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:a,...r}=e,i=tu(th,n),s=h.useRef(null),o=x(t,s),l=h.useRef(null);return h.useEffect(()=>{let e=l.current;l.current=a?.current||s.current,e!==l.current&&i.onAnchorChange(l.current)}),a?null:(0,y.jsx)(N.div,{...r,ref:o})});tm.displayName=th;var tf="PopperContent",[tg,tx]=tl(tf),ty=h.forwardRef((e,t)=>{var n,a,r,i,s,o,l,c,d,u,p,m,f;let{__scopePopper:g,side:v="bottom",sideOffset:w=0,align:j="center",alignOffset:C=0,arrowPadding:k=0,avoidCollisions:E=!0,collisionBoundary:R=[],collisionPadding:A=0,sticky:S="partial",hideWhenDetached:T=!1,updatePositionStrategy:B="optimized",onPlaced:D,...M}=e,P=tu(tf,g),[I,L]=h.useState(null),H=x(t,e=>L(e)),[O,V]=h.useState(null),W=function(e){let[t,n]=h.useState(void 0);return U(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let a,r;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;a=t.inlineSize,r=t.blockSize}else a=e.offsetWidth,r=e.offsetHeight;n({width:a,height:r})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(O),_=W?.width??0,z=W?.height??0,q="number"==typeof A?A:{top:0,right:0,bottom:0,left:0,...A},Z=Array.isArray(R)?R:[R],Q=Z.length>0,G={padding:q,boundary:Z.filter(tj),altBoundary:Q},{refs:Y,floatingStyles:J,placement:ee,isPositioned:es,middlewareData:em}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:a=[],platform:r,elements:{reference:i,floating:s}={},transform:o=!0,whileElementsMounted:l,open:c}=e,[d,u]=h.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}
1),[p,m]=h.useState(a);tn(p,a)||m(a);let[f,g]=h.useState(null),[x,y]=h.useState(null),v=h.useCallback(e=>{e!==N.current&&(N.current=e,g(e))},[]),w=h.useCallback(e=>{e!==k.current&&(k.current=e,y(e))},[]),j=i||f,C=s||x,N=h.useRef(null),k=h.useRef(null),F=h.useRef(d),E=null!=l,R=ti(l),A=ti(r),S=ti(c),T=h.useCallback(()=>{var e,a;let r,i,s;if(!N.current||!k.current)return;let o={placement:t,strategy:n,middleware:p};A.current&&(o.platform=A.current),(e=N.current,a=k.current,r=new Map,s={...(i={platform:e7,...o}).platform,_c:r},ex(e,a,{...i,platform:s})).then(e=>{let t={...e,isPositioned:!1!==S.current};B.current&&!tn(F.current,t)&&(F.current=t,b.flushSync(()=>{u(t)}))})},[p,t,n,A,S]);tt(()=>{!1===c&&F.current.isPositioned&&(F.current.isPositioned=!1,u(e=>({...e,isPositioned:!1})))},[c]);let B=h.useRef(!1);tt(()=>(B.current=!0,()=>{B.current=!1}),[]),tt(()=>{if(j&&(N.current=j),C&&(k.current=C),j&&C){if(R.current)return R.current(j,C,T);T()}},[j,C,T,R,E]);let D=h.useMemo(()=>({reference:N,floating:k,setReference:v,setFloating:w}),[v,w]),M=h.useMemo(()=>({reference:j,floating:C}),[j,C]),P=h.useMemo(()=>{let e={position:n,left:0,top:0};if(!M.floating)return e;let t=tr(M.floating,d.x),a=tr(M.floating,d.y);return o?{...e,transform:"translate("+t+"px, "+a+"px)",...ta(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:a}},[n,o,M.floating,d.x,d.y]);return h.useMemo(()=>({...d,update:T,refs:D,elements:M,floatingStyles:P}),[d,T,D,M,P])}({strategy:"fixed",placement:v+("center"!==j?"-"+j:""),whileElementsMounted:(...e)=>(function(e,t,n,a){let r;void 0===a&&(a={});let{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:c=!1}=a,d=eK(e),u=i||s?[...d?eZ(d):[],...eZ(t)]:[];u.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let p=d&&l?function(e,t){let n,a=null,r=eF(e);function i(){var e;clearTimeout(n),null==(e=a)||e.disconnect(),a=null}return!function s(o,l){void 0===o&&(o=!1),void 0===l&&(l=1),i();let c=e.getBoundingClientRect(),{left:d,top:u,width:p,height:h}=c;if(o||t(),!p||!h)return;let m={rootMargin:-X(u)+"px "+-X(r.clientWidth-(d+p))+"px "+-X(r.clientHeight-(u+h))+"px "+-X(d)+"px",threshold:K(0,$(1,l))||1},f=!0;function g(t){let a=t[0].intersectionRatio;if(a!==l){if(!f)return s();a?s(!1,a):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==a||e9(c,e.getBoundingClientRect())||s(),f=!1}try{a=new IntersectionObserver(g,{...m,root:r.ownerDocument})}catch(e){a=new IntersectionObserver(g,m)}a.observe(e)}(!0),i}(d,n):null,h=-1,m=null;o&&(m=new ResizeObserver(e=>{let[a]=e;a&&a.target===d&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),d&&!c&&m.observe(d),m.observe(t));let f=c?eJ(e):null;return c&&function t(){let a=eJ(e);f&&!e9(f,a)&&n(),f=a,r=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==p||p(),null==(e=m)||e.disconnect(),m=null,c&&cancelAnimationFrame(r)}})(...e,{animationFrame:"always"===B}),elements:{reference:P.anchor},middleware:[{...{name:"offset",options:a=n={mainAxis:w+z,alignmentAxis:C},async fn(e){var t,n;let{x:r,y:i,placement:s,middlewareData:o}=e,l=await ej(e,a);return s===(null==(t=o.offset)?void 0:t.placement)&&null!=(n=o.arrow)&&n.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:s}}}},options:[n,void 0]},E&&{...{name:"shift",options:s=i={mainAxis:!0,crossAxis:!1,limiter:"partial"===S?{...(r=void 0,{options:r={},fn(e){let{x:t,y:n,placement:a,rects:i,middlewareData:s}=e,{offset:o=0,mainAxis:l=!0,crossAxis:c=!0}=et(r,e),d={x:t,y:n},u=eo(a),p=er(u),h=d[p],m=d[u],f=et(o,e),g="number"==typeof f?{mainAxis:f,crossAxis:0}:{mainAxis:0,crossAxis:0,...f};if(l){let e="y"===p?"height":"width",t=i.reference[p]-i.floating[e]+g.mainAxis,n=i.reference[p]+i.reference[e]-g.mainAxis;h<t?h=t:h>n&&(h=n)}if(c){var x,y;let e="y"===p?"width":"height",t=ew.has(en(a)),n=i.reference[u]-i.floating[e]+(t&&(null==(x=s.offset)?void 0:x[u])||0)+(t?0:g.crossAxis),r=i.reference[u]+i.reference[e]+(t?0:(null==(y=s.offset)?void 0:y[u])||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[p]:h,[u]:m}}}),options:[void 0,void 0]}:void 0,...G},async fn(e){let{x:t,y:n,placement:a}
1=e,{mainAxis:r=!0,crossAxis:i=!1,limiter:o={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=et(s,e),c={x:t,y:n},d=await ey(e,l),u=eo(en(a)),p=er(u),h=c[p],m=c[u];if(r){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=h+d[e],a=h-d[t];h=K(n,$(h,a))}if(i){let e="y"===u?"top":"left",t="y"===u?"bottom":"right",n=m+d[e],a=m-d[t];m=K(n,$(m,a))}let f=o.fn({...e,[p]:h,[u]:m});return{...f,data:{x:f.x-t,y:f.y-n,enabled:{[p]:r,[u]:i}}}}},options:[i,void 0]},E&&{...{name:"flip",options:l=o={...G},async fn(e){var t,n,a,r,i,s,o,c;let d,u,p,{placement:h,middlewareData:m,rects:f,initialPlacement:g,platform:x,elements:y}=e,{mainAxis:v=!0,crossAxis:b=!0,fallbackPlacements:w,fallbackStrategy:j="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:N=!0,...k}=et(l,e);if(null!=(t=m.arrow)&&t.alignmentOffset)return{};let F=en(h),E=eo(g),R=en(g)===g,A=await (null==x.isRTL?void 0:x.isRTL(y.floating)),S=w||(R||!N?[eh(g)]:(d=eh(g),[el(g),d,el(d)])),T="none"!==C;!w&&T&&S.push(...(u=ea(g),p=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?ed:ec;return t?ec:ed;case"left":case"right":return t?eu:ep;default:return[]}}(en(g),"start"===C,A),u&&(p=p.map(e=>e+"-"+u),N&&(p=p.concat(p.map(el)))),p));let B=[g,...S],D=await ey(e,k),M=[],P=(null==(n=m.flip)?void 0:n.overflows)||[];if(v&&M.push(D[F]),b){let e,t,n,a,r=(s=h,o=f,void 0===(c=A)&&(c=!1),e=ea(s),n=ei(t=er(eo(s))),a="x"===t?e===(c?"end":"start")?"right":"left":"start"===e?"bottom":"top",o.reference[n]>o.floating[n]&&(a=eh(a)),[a,eh(a)]);M.push(D[r[0]],D[r[1]])}if(P=[...P,{placement:h,overflows:M}],!M.every(e=>e<=0)){let e=((null==(a=m.flip)?void 0:a.index)||0)+1,t=B[e];if(t&&("alignment"!==b||E===eo(t)||P.every(e=>eo(e.placement)!==E||e.overflows[0]>0)))return{data:{index:e,overflows:P},reset:{placement:t}};let n=null==(r=P.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:r.placement;if(!n)switch(j){case"bestFit":{let e=null==(i=P.filter(e=>{if(T){let t=eo(e.placement);return t===E||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:i[0];e&&(n=e);break}case"initialPlacement":n=g}if(h!==n)return{reset:{placement:n}}}return{}}},options:[o,void 0]},{...{name:"size",options:d=c={...G,apply:({elements:e,rects:t,availableWidth:n,availableHeight:a})=>{let{width:r,height:i}=t.reference,s=e.floating.style;s.setProperty("--radix-popper-available-width",`${n}px`),s.setProperty("--radix-popper-available-height",`${a}px`),s.setProperty("--radix-popper-anchor-width",`${r}px`),s.setProperty("--radix-popper-anchor-height",`${i}px`)}},async fn(e){var t,n;let a,r,{placement:i,rects:s,platform:o,elements:l}=e,{apply:c=()=>{},...u}=et(d,e),p=await ey(e,u),h=en(i),m=ea(i),f="y"===eo(i),{width:g,height:x}=s.floating;"top"===h||"bottom"===h?(a=h,r=m===(await (null==o.isRTL?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(r=h,a="end"===m?"top":"bottom");let y=x-p.top-p.bottom,v=g-p.left-p.right,b=$(x-p[a],y),w=$(g-p[r],v),j=!e.middlewareData.shift,C=b,N=w;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(N=v),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(C=y),j&&!m){let e=K(p.left,0),t=K(p.right,0),n=K(p.top,0),a=K(p.bottom,0);f?N=g-2*(0!==e||0!==t?e+t:K(p.left,p.right)):C=x-2*(0!==n||0!==a?n+a:K(p.top,p.bottom))}await c({...e,availableWidth:N,availableHeight:C});let k=await o.getDimensions(l.floating);return g!==k.width||x!==k.height?{reset:{rects:!0}}:{}}},options:[c,void 0]},O&&{...{name:"arrow",options:p=u={element:O,padding:k},fn(e){let{element:t,padding:n}="function"==typeof p?p(e):p;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?te({element:t.current,padding:n}).fn(e):{}:t?te({element:t,padding:n}).fn(e):{}}},options:[u,void 0]},tC({arrowWidth:_,arrowHeight:z}),T&&{...{name:"hide",options:f=m={strategy:"referenceHidden",...G},async fn(e){let{rects:t}=e,{strategy:n="referenceHidden",...a}=et(f,e);switch(n){case"referenceHidden":{let n=ev(await ey(e,{...a,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:eb(n)}}}case"escaped":{let n=ev(await ey(e,{...a,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:eb(n)}}}default:return{}}}},options:[m,void 0]}]}),[ef,eg]=tN(ee),eC=F(D);U(()=>{es&&eC?.()},[es,eC]);let eN=em.arrow?.x,ek=em.arrow?.y,eE=em.arrow?.centerOffset!==0,[eR,eA]=h.useState();return U(()=>{I&&eA(window.getComputedStyle(I).zIndex)},[I]),(0,y.jsx)("div",{ref:Y.setFloating,"data-radix-popper-content-wrapper":"",style:{...J,transform:es?J.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eR,"--radix-popper-transform-origin":[em.transformOrigin?.x,em.transformOrigin?.y].join(" "),...em.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,y.jsx)(tg,{scope:g,placedSide:ef,onArrowChange:V,arrowX:eN,arrowY:ek,shouldHideArrow:eE,children:(0,y.jsx)(N.div,{"data-side":ef,"data-align":eg,...M,ref:H,style:{...M.style,animation:es?void 0:"none"}})})})});ty.displayName=tf;var tv="PopperArrow",tb={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},tw=h.forwardRef(function(e,t){let{__scopePopper:n,...a}=e,r=tx(tv,n),i=tb[r.placedSide];return(0,y.jsx)("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0},children:(0,y.jsx)(ts,{...a,ref:t,style:{...a.style,display:"block"}})})});function tj(e){return null!==e}tw.displayName=tv;var tC=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:a,middlewareData:r}=t,i=r.arrow?.centerOffset!==0,s=i?0:e.arrowWidth,o=i?0:e.arrowHeight,[l,c]=tN(n),d={start:"0%",center:"50%",end:"100%"}[c],u=(r.arrow?.x??0)+s/2,p=(r.arrow?.y??0)+o/2,h="",m="";return"bottom"===l?(h=i?d:`${u}px`,m=`${-o}px`):"top"===l?(h=i?d:`${u}px`,m=`${a.floating.height+o}px`):"right"===l?(h=`${-o}px`,m=i?d:`${p}px`):"left"===l&&(h=`${a.floating.width+o}px`,m=i?d:`${p}px`),{data:{x:h,y:m}}}});function tN(e){let[t,n="center"]=e.split("-");return[t,n]}e.s(["Anchor",0,tm,"Arrow",0,tw,"Content",0,ty,"Root",0,tp,"createPopperScope",0,tc],53660);var tk=h.forwardRef((e,t)=>{let{container:n,...a}=e,[r,i]=h.useState(!1);U(()=>i(!0),[]);let s=n||r&&globalThis?.document?.body;return s?b.default.createPortal((0,y.jsx)(N.div,{...a,ref:t}),s):null});tk.displayName="Portal",e.s(["Portal",0,tk],74606);var tF=e=>{var t;let n,a,{present:r,children:i}=e,s=function(e){var t,n;let[a,r]=h.useState(),i=h.useRef(null),s=h.useRef(e),o=h.useRef("none"),[l,c]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},h.useReducer((e,t)=>n[e][t]??e,t));return h.useEffect(()=>{let e=tE(i.current);o.current="mounted"===l?e:"none"},[l]),U(()=>{let t=i.current,n=s.current;if(n!==e){let a=o.current,r=tE(t);e?c("MOUNT"):"none"===r||t?.display==="none"?c("UNMOUNT"):n&&a!==r?c("ANIMATION_OUT"):c("UNMOUNT"),s.current=e}},[e,c]),U(()=>{if(a){let e,t=a.ownerDocument.defaultView??window,n=n=>{let r=tE(i.current).includes(CSS.escape(n.animationName));if(n.target===a&&r&&(c("ANIMATION_END"),!s.current)){let n=a.style.animationFillMode;a.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===a.style.animationFillMode&&(a.style.animationFillMode=n)})}},r=e=>{e.target===a&&(o.current=tE(i.current))};return a.addEventListener("animationstart",r),a.addEventListener("animationcancel",n),a.addEventListener("animationend",n),()=>{t.clearTimeout(e),a.removeEventListener("animationstart",r),a.removeEventListener("animationcancel",n),a.removeEventListener("animationend",n)}}c("ANIMATION_END")},[a,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:h.useCallback(e=>{i.current=e?getComputedStyle(e):null,r(e)},[])}}(r),o="function"==typeof i?i({present:s.isPresent}):h.Children.only(i),l=x(s.ref,(t=o,(a=(n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?t.ref:(a=(n=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof i||s.isPresent?h.cloneElement(o,{ref:l}):null};function tE(e){return e?.animationName||"none"}tF.displayName="Presence",e.s(["Presence",0,tF],96626),h[" useEffectEvent ".trim().toString()],h[" useInsertionEffect ".trim().toString()];var tR=h[" useInsertionEffect ".trim().toString()]||U;function tA({prop:e,defaultProp:t,onChange:n=()=>{},caller:a}){let[r,i,s]=function({defaultProp:e,onChange:t}){let[n,a]=h.useState(e),r=h.useRef(n),i=h.useRef(t);return tR(()=>{i.current=t},[t]),h.useEffect(()=>{r.current!==n&&(i.current?.(n),r.current=n)},[n,r]),[n,a,i]}({defaultProp:t,onChange:n}),o=void 0!==e,l=o?e:r;{let t=h.useRef(void 0!==e);h.useEffect(()=>{let e=t.current;if(e!==o){let t=o?"controlled":"uncontrolled";console.warn(`${a} is changing from ${e?"controlled":"uncontrolled"} to ${t}. 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.`)}t.current=o},[o,a])}return[l,h.useCallback(t=>{if(o){let n="function"==typeof t?t(e):t;n!==e&&s.current?.(n)}else i(t)},[o,e,i,s])]}Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,tA],69340);
1var tS=new WeakMap,tT=new WeakMap,tB={},tD=0,tM=function(e){return e&&(e.host||tM(e.parentNode))},tP=function(e,t,n,a){var r=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=tM(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});tB[n]||(tB[n]=new WeakMap);var i=tB[n],s=[],o=new Set,l=new Set(r),c=function(e){!e||o.has(e)||(o.add(e),c(e.parentNode))};r.forEach(c);var d=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(o.has(e))d(e);else try{var t=e.getAttribute(a),r=null!==t&&"false"!==t,l=(tS.get(e)||0)+1,c=(i.get(e)||0)+1;tS.set(e,l),i.set(e,c),s.push(e),1===l&&r&&tT.set(e,!0),1===c&&e.setAttribute(n,"true"),r||e.setAttribute(a,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return d(t),o.clear(),tD++,function(){s.forEach(function(e){var t=tS.get(e)-1,r=i.get(e)-1;tS.set(e,t),i.set(e,r),t||(tT.has(e)||e.removeAttribute(a),tT.delete(e)),r||e.removeAttribute(n)}),--tD||(tS=new WeakMap,tS=new WeakMap,tT=new WeakMap,tB={})}},tI=function(e,t,n){void 0===n&&(n="data-aria-hidden");var a=Array.from(Array.isArray(e)?e:[e]),r=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return r?(a.push.apply(a,Array.from(r.querySelectorAll("[aria-live], script"))),tP(a,r,n,"aria-hidden")):function(){return null}},tL=e.i(90571),tH="right-scroll-bar-position",tO="width-before-scroll-bar";function tV(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var tW="u">typeof window?h.useLayoutEffect:h.useEffect,t_=new WeakMap,tU=(void 0===n&&(n={}),(void 0===a&&(a=function(e){return e}),r=[],i=!1,s={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var t=a(e,i);return r.push(t),function(){r=r.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){i=!0;var t=[];if(r.length){var n=r;r=[],n.forEach(e),t=r}var a=function(){var n=t;t=[],n.forEach(e)},s=function(){return Promise.resolve().then(a)};s(),r={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),r}}}}).options=(0,tL.__assign)({async:!0,ssr:!1},n),s),tz=function(){},tq=h.forwardRef(function(e,t){var n,a,r,i,s=h.useRef(null),o=h.useState({onScrollCapture:tz,onWheelCapture:tz,onTouchMoveCapture:tz}),l=o[0],c=o[1],d=e.forwardProps,u=e.children,p=e.className,m=e.removeScrollBar,f=e.enabled,g=e.shards,x=e.sideCar,y=e.noRelative,v=e.noIsolation,b=e.inert,w=e.allowPinchZoom,j=e.as,C=e.gapMode,N=(0,tL.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=(n=[s,t],a=function(e){return n.forEach(function(t){return tV(t,e)})},(r=(0,h.useState)(function(){return{value:null,callback:a,facade:{get current(){return r.value},set current(value){var e=r.value;e!==value&&(r.value=value,r.callback(value,e))}}}})[0]).callback=a,i=r.facade,tW(function(){var e=t_.get(i);if(e){var t=new Set(e),a=new Set(n),r=i.current;t.forEach(function(e){a.has(e)||tV(e,null)}),a.forEach(function(e){t.has(e)||tV(e,r)})}t_.set(i,n)},[n]),i),F=(0,tL.__assign)((0,tL.__assign)({},N),l);return h.createElement(h.Fragment,null,f&&h.createElement(x,{sideCar:tU,removeScrollBar:m,shards:g,noRelative:y,noIsolation:v,inert:b,setCallbacks:c,allowPinchZoom:!!w,lockRef:s,gapMode:C}),d?h.cloneElement(h.Children.only(u),(0,tL.__assign)((0,tL.__assign)({},F),{ref:k})):h.createElement(void 0===j?"div":j,(0,tL.__assign)({},F,{className:p,ref:k}),u))});tq.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},tq.classNames={fullWidth:tO,zeroRight:tH};var tZ=function(e){var t=e.sideCar,n=(0,tL.__rest)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var a=t.read();if(!a)throw Error("Sidecar medium not found");return h.createElement(a,(0,tL.__assign)({},n))};
1tZ.isSideCarExport=!0;var tQ=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=c||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var a,r;(a=t).styleSheet?a.styleSheet.cssText=n:a.appendChild(document.createTextNode(n)),r=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(r)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},t$=function(){var e=tQ();return function(t,n){h.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},tK=function(){var e=t$();return function(t){return e(t.styles,t.dynamic),null}},tG={left:0,top:0,right:0,gap:0},tX=function(e){return parseInt(e||"",10)||0},tY=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],a=t["padding"===e?"paddingTop":"marginTop"],r=t["padding"===e?"paddingRight":"marginRight"];return[tX(n),tX(a),tX(r)]},tJ=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return tG;var t=tY(e),n=document.documentElement.clientWidth,a=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,a-n+t[2]-t[0])}},t0=tK(),t1="data-scroll-locked",t2=function(e,t,n,a){var r=e.left,i=e.top,s=e.right,o=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(a,";\n padding-right: ").concat(o,"px ").concat(a,";\n }\n body[").concat(t1,"] {\n overflow: hidden ").concat(a,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(a,";"),"margin"===n&&"\n padding-left: ".concat(r,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(o,"px ").concat(a,";\n "),"padding"===n&&"padding-right: ".concat(o,"px ").concat(a,";")].filter(Boolean).join(""),"\n }\n \n .").concat(tH," {\n right: ").concat(o,"px ").concat(a,";\n }\n \n .").concat(tO," {\n margin-right: ").concat(o,"px ").concat(a,";\n }\n \n .").concat(tH," .").concat(tH," {\n right: 0 ").concat(a,";\n }\n \n .").concat(tO," .").concat(tO," {\n margin-right: 0 ").concat(a,";\n }\n \n body[").concat(t1,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(o,"px;\n }\n")},t5=function(){var e=parseInt(document.body.getAttribute(t1)||"0",10);return isFinite(e)?e:0},t3=function(){h.useEffect(function(){return document.body.setAttribute(t1,(t5()+1).toString()),function(){var e=t5()-1;e<=0?document.body.removeAttribute(t1):document.body.setAttribute(t1,e.toString())}},[])},t6=function(e){var t=e.noRelative,n=e.noImportant,a=e.gapMode,r=void 0===a?"margin":a;t3();var i=h.useMemo(function(){return tJ(r)},[r]);return h.createElement(t0,{styles:t2(i,!t,r,n?"":"!important")})},t4=!1;if("u">typeof window)try{var t8=Object.defineProperty({},"passive",{get:function(){return t4=!0,!0}});window.addEventListener("test",t8,t8),window.removeEventListener("test",t8,t8)}catch(e){t4=!1}var t7=!!t4&&{passive:!1},t9=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},ne=function(e,t){var n=t.ownerDocument,a=t;do{if("u">typeof ShadowRoot&&a instanceof ShadowRoot&&(a=a.host),nt(e,a)){var r=nn(e,a);if(r[1]>r[2])return!0}a=a.parentNode}while(a&&a!==n.body)return!1},nt=function(e,t){return"v"===e?t9(t,"overflowY"):t9(t,"overflowX")},nn=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},na=function(e,t,n,a,r){var i,s=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),o=s*a,l=n.target,c=t.contains(l),d=!1,u=o>0,p=0,h=0;do{if(!l)break;var m=nn(e,l),f=m[0],g=m[1]-m[2]-s*f;(f||g)&&nt(e,l)&&(p+=g,h+=f);var x=l.parentNode;l=x&&x.nodeType===Node.DOCUMENT_FRAGMENT_NODE?x.host:x}while(!c&&l!==document.body||c&&(t.contains(l)||t===l))return u&&(r&&1>Math.abs(p)||!r&&o>p)?d=!0:!u&&(r&&1>Math.abs(h)||!r&&-o>h)&&(d=!0),d},nr=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ni=function(e){return[e.deltaX,e.deltaY]},ns=function(e){return e&&"current"in e?e.current:e},no=0,nl=[];let nc=(o=function(e){var t=h.useRef([]),n=h.useRef([0,0]),a=h.useRef(),r=h.useState(no++)[0],i=h.useState(tK)[0],s=h.useRef(e);h.useEffect(function(){s.current=e},[e]),h.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var t=(0,tL.__spreadArray)([e.lockRef.current],(e.shards||[]).map(ns),!0).filter(
1Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var o=h.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var r,i=nr(e),o=n.current,l="deltaX"in e?e.deltaX:o[0]-i[0],c="deltaY"in e?e.deltaY:o[1]-i[1],d=e.target,u=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===u&&"range"===d.type)return!1;var p=ne(u,d);if(!p)return!0;if(p?r=u:(r="v"===u?"h":"v",p=ne(u,d)),!p)return!1;if(!a.current&&"changedTouches"in e&&(l||c)&&(a.current=r),!r)return!0;var h=a.current||r;return na(h,t,e,"h"===h?l:c,!0)},[]),l=h.useCallback(function(e){if(nl.length&&nl[nl.length-1]===i){var n="deltaY"in e?ni(e):nr(e),a=t.current.filter(function(t){var a;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(a=t.delta,a[0]===n[0]&&a[1]===n[1])})[0];if(a&&a.should){e.cancelable&&e.preventDefault();return}if(!a){var r=(s.current.shards||[]).map(ns).filter(Boolean).filter(function(t){return t.contains(e.target)});(r.length>0?o(e,r[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=h.useCallback(function(e,n,a,r){var i={name:e,delta:n,target:a,should:r,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(a)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=h.useCallback(function(e){n.current=nr(e),a.current=void 0},[]),u=h.useCallback(function(t){c(t.type,ni(t),t.target,o(t,e.lockRef.current))},[]),p=h.useCallback(function(t){c(t.type,nr(t),t.target,o(t,e.lockRef.current))},[]);h.useEffect(function(){return nl.push(i),e.setCallbacks({onScrollCapture:u,onWheelCapture:u,onTouchMoveCapture:p}),document.addEventListener("wheel",l,t7),document.addEventListener("touchmove",l,t7),document.addEventListener("touchstart",d,t7),function(){nl=nl.filter(function(e){return e!==i}),document.removeEventListener("wheel",l,t7),document.removeEventListener("touchmove",l,t7),document.removeEventListener("touchstart",d,t7)}},[]);var m=e.removeScrollBar,f=e.inert;return h.createElement(h.Fragment,null,f?h.createElement(i,{styles:"\n .block-interactivity-".concat(r," {pointer-events: none;}\n .allow-interactivity-").concat(r," {pointer-events: all;}\n")}):null,m?h.createElement(t6,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},tU.useMedium(o),tZ);var nd=h.forwardRef(function(e,t){return h.createElement(tq,(0,tL.__assign)({},e,{ref:t,sideCar:nc}))});nd.classNames=tq.classNames;var nu="Popover",[np,nh]=v(nu,[tc]),nm=tc(),[nf,ng]=np(nu),nx=e=>{let{__scopePopover:t,children:n,open:a,defaultOpen:r,onOpenChange:i,modal:s=!1}=e,o=nm(t),l=h.useRef(null),[c,d]=h.useState(!1),[u,p]=tA({prop:a,defaultProp:r??!1,onChange:i,caller:nu});return(0,y.jsx)(tp,{...o,children:(0,y.jsx)(nf,{scope:t,contentId:Z(),triggerRef:l,open:u,onOpenChange:p,onOpenToggle:h.useCallback(()=>p(e=>!e),[p]),hasCustomAnchor:c,onCustomAnchorAdd:h.useCallback(()=>d(!0),[]),onCustomAnchorRemove:h.useCallback(()=>d(!1),[]),modal:s,children:n})})};nx.displayName=nu;var ny="PopoverAnchor";h.forwardRef((e,t)=>{let{__scopePopover:n,...a}=e,r=ng(ny,n),i=nm(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:o}=r;return h.useEffect(()=>(s(),()=>o()),[s,o]),(0,y.jsx)(tm,{...i,...a,ref:t})}).displayName=ny;var nv="PopoverTrigger",nb=h.forwardRef((e,t)=>{let{__scopePopover:n,...a}=e,r=ng(nv,n),i=nm(n),s=x(t,r.triggerRef),o=(0,y.jsx)(N.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.contentId,"data-state":nB(r.open),...a,ref:s,onClick:m(e.onClick,r.onOpenToggle)});return r.hasCustomAnchor?o:(0,y.jsx)(tm,{asChild:!0,...i,children:o})});nb.displayName=nv;var nw="PopoverPortal",[nj,nC]=np(nw,{forceMount:void 0}),nN=e=>{let{__scopePopover:t,forceMount:n,children:a,container:r}=e,i=ng(nw,t);return(0,y.jsx)(nj,{scope:t,forceMount:n,children:(0,y.jsx)(tF,{present:n||i.open,children:(0,y.jsx)(tk,{asChild:!0,container:r,children:a})})})};nN.displayName=nw;var nk="PopoverContent",nF=h.forwardRef((e,t)=>
1{let n=nC(nk,e.__scopePopover),{forceMount:a=n.forceMount,...r}=e,i=ng(nk,e.__scopePopover);return(0,y.jsx)(tF,{present:a||i.open,children:i.modal?(0,y.jsx)(nR,{...r,ref:t}):(0,y.jsx)(nA,{...r,ref:t})})});nF.displayName=nk;var nE=w("PopoverContent.RemoveScroll"),nR=h.forwardRef((e,t)=>{let n=ng(nk,e.__scopePopover),a=h.useRef(null),r=x(t,a),i=h.useRef(!1);return h.useEffect(()=>{let e=a.current;if(e)return tI(e)},[]),(0,y.jsx)(nd,{as:nE,allowPinchZoom:!0,children:(0,y.jsx)(nS,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:m(e.onCloseAutoFocus,e=>{e.preventDefault(),i.current||n.triggerRef.current?.focus()}),onPointerDownOutside:m(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;i.current=2===t.button||n},{checkForDefaultPrevented:!1}),onFocusOutside:m(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),nA=h.forwardRef((e,t)=>{let n=ng(nk,e.__scopePopover),a=h.useRef(!1),r=h.useRef(!1);return(0,y.jsx)(nS,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(a.current||n.triggerRef.current?.focus(),t.preventDefault()),a.current=!1,r.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(a.current=!0,"pointerdown"===t.detail.originalEvent.type&&(r.current=!0));let i=t.target;n.triggerRef.current?.contains(i)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&r.current&&t.preventDefault()}})}),nS=h.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:a,onOpenAutoFocus:r,onCloseAutoFocus:i,disableOutsidePointerEvents:s,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:d,...u}=e,p=ng(nk,n),m=nm(n);return h.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??D()),document.body.insertAdjacentElement("beforeend",e[1]??D()),B++,()=>{1===B&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),B--}},[]),(0,y.jsx)(L,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:r,onUnmountAutoFocus:i,children:(0,y.jsx)(A,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:d,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:c,onDismiss:()=>p.onOpenChange(!1),children:(0,y.jsx)(ty,{"data-state":nB(p.open),role:"dialog",id:p.contentId,...m,...u,ref:t,style:{...u.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),nT="PopoverClose";function nB(e){return e?"open":"closed"}h.forwardRef((e,t)=>{let{__scopePopover:n,...a}=e,r=ng(nT,n);return(0,y.jsx)(N.button,{type:"button",...a,ref:t,onClick:m(e.onClick,()=>r.onOpenChange(!1))})}).displayName=nT,h.forwardRef((e,t)=>{let{__scopePopover:n,...a}=e,r=nm(n);return(0,y.jsx)(tw,{...r,...a,ref:t})}).displayName="PopoverArrow",e.s(["Content",0,nF,"Portal",0,nN,"Root",0,nx,"Trigger",0,nb],78761);var nD=e.i(57688);let nM=(0,h.memo)(function({code:e="gb",size:t=24,className:n=""}){let a=e.toLowerCase().trim().slice(0,2);return(0,y.jsx)("div",{style:{width:t,height:t},className:"relative overflow-hidden rounded-full",children:(0,y.jsx)(nD.default,{src:`/flags/${a}.svg`,alt:`${a} flag`,fill:!0,className:`object-cover ${n}`,onError:e=>{e.target.src="/flags/gb.svg"}})})});e.s(["CountryFlag",0,nM],80669)},67105,e=>{"use strict";let t={eur:{name:"Euro",displayName:"Euro (EU)",currencyCode:"EUR",isoCode:"eu",isSourceCurrency:!0,searchTerms:["euro","europe","european union","eu","eurozone","germany","france","spain","italy"],isFavorite:!0},gbp:{name:"British Pound",displayName:"Pound (United Kingdom)",currencyCode:"GBP",isoCode:"gb",isSourceCurrency:!0,searchTerms:["uk","united kingdom","britain","england","scotland","wales","sterling","pound","london"],isFavorite:!0},usd:{name:"US Dollar",displayName:"Dollar (United States)",currencyCode:"USD",isoCode:"us",isSourceCurrency:!0,searchTerms:["usa","united states","america","dollar","usd","american"],isFavorite:!0},inr:{name:"Indian Rupee",displayName:"Rupee (India)",currencyCode:"INR",isoCode:"in",isSourceCurrency:!1,searchTerms:["india","indian","rupee","rupees","delhi","mumbai","bangalore"],isFavorite:!0},sek:{name:"Swedish Krona",displayName:"Krona (Sweden)",currencyCode:"SEK",isoCode:"se",isSourceCurrency:!0,searchTerms:["swede
1n","swedish","krona","crown","stockholm","scandinavia"],isFavorite:!1},dkk:{name:"Danish Krone",displayName:"Krone (Denmark)",currencyCode:"DKK",isoCode:"dk",isSourceCurrency:!0,searchTerms:["denmark","danish","krone","crown","copenhagen","scandinavia"],isFavorite:!1},nok:{name:"Norwegian Krone",displayName:"Krone (Norway)",currencyCode:"NOK",isoCode:"no",isSourceCurrency:!1,searchTerms:["norway","norwegian","krone","crown","oslo","scandinavia"],isFavorite:!1},huf:{name:"Hungarian Forint",displayName:"Forint (Hungary)",currencyCode:"HUF",isoCode:"hu",isSourceCurrency:!0,searchTerms:["hungary","hungarian","forint","budapest"],isFavorite:!1},pln:{name:"Polish ZÅoty",displayName:"ZÅoty (Poland)",currencyCode:"PLN",isoCode:"pl",isSourceCurrency:!1,searchTerms:["poland","polish","zloty","zÅoty","warsaw"],isFavorite:!1},chf:{name:"Swiss Franc",displayName:"Franc (Switzerland)",currencyCode:"CHF",isoCode:"ch",isSourceCurrency:!1,searchTerms:["switzerland","swiss","franc","zurich","geneva","bern"],isFavorite:!1},cad:{name:"Canadian Dollar",displayName:"Dollar (Canada)",currencyCode:"CAD",isoCode:"ca",isSourceCurrency:!1,searchTerms:["canada","canadian","dollar","ottawa","toronto"],isFavorite:!1},mxn:{name:"Mexican Peso",displayName:"Peso (Mexico)",currencyCode:"MXN",isoCode:"mx",isSourceCurrency:!1,searchTerms:["mexico","mexican","peso","mexico city"],isFavorite:!1},sgd:{name:"Singapore Dollar",displayName:"Dollar (Singapore)",currencyCode:"SGD",isoCode:"sg",isSourceCurrency:!1,searchTerms:["singapore","singaporean","dollar"],isFavorite:!1},hkd:{name:"Hong Kong Dollar",displayName:"Dollar (Hong Kong)",currencyCode:"HKD",isoCode:"hk",isSourceCurrency:!1,searchTerms:["hong kong","hongkong","dollar"],isFavorite:!1},cny:{name:"Chinese Yuan",displayName:"Yuan (China)",currencyCode:"CNY",isoCode:"cn",isSourceCurrency:!1,searchTerms:["china","chinese","yuan","renminbi","beijing","shanghai"],isFavorite:!1},php:{name:"Philippine Peso",displayName:"Peso (Philippines)",currencyCode:"PHP",isoCode:"ph",isSourceCurrency:!1,searchTerms:["philippines","filipino","philippine","peso","manila"],isFavorite:!1},idr:{name:"Indonesian Rupiah",displayName:"Rupiah (Indonesia)",currencyCode:"IDR",isoCode:"id",isSourceCurrency:!1,searchTerms:["indonesia","indonesian","rupiah","jakarta"],isFavorite:!1},aud:{name:"Australian Dollar",displayName:"Dollar (Australia)",currencyCode:"AUD",isoCode:"au",isSourceCurrency:!1,searchTerms:["australia","australian","dollar","sydney","melbourne"],isFavorite:!1},nzd:{name:"New Zealand Dollar",displayName:"Dollar (New Zealand)",currencyCode:"NZD",isoCode:"nz",isSourceCurrency:!1,searchTerms:["new zealand","kiwi","dollar","wellington","auckland"],isFavorite:!1},brl:{name:"Brazilian Real",displayName:"Real (Brazil)",currencyCode:"BRL",isoCode:"br",isSourceCurrency:!1,searchTerms:["brazil","brazilian","real","sao paulo","rio de janeiro"],isFavorite:!1},mad:{name:"Moroccan Dirham",displayName:"Dirham (Morocco)",currencyCode:"MAD",isoCode:"ma",isSourceCurrency:!1,searchTerms:["morocco","moroccan","dirham","rabat","casablanca"],isFavorite:!1},egp:{name:"Egyptian Pound",displayName:"Pound (Egypt)",currencyCode:"EGP",isoCode:"eg",isSourceCurrency:!1,searchTerms:["egypt","egyptian","pound","cairo"],isFavorite:!1},kes:{name:"Kenyan Shilling",displayName:"Shilling (Kenya)",currencyCode:"KES",isoCode:"ke",isSourceCurrency:!1,searchTerms:["kenya","kenyan","shilling","nairobi"],isFavorite:!1},zar:{name:"South African Rand",displayName:"Rand (South Africa)",currencyCode:"ZAR",isoCode:"za",isSourceCurrency:!1,searchTerms:["south africa","south african","rand","johannesburg","cape town"],isFavorite:!1},tzs:{name:"Tanzanian Shilling",displayName:"Shilling (Tanzania)",currencyCode:"TZS",isoCode:"tz",isSourceCurrency:!1,searchTerms:["tanzania","tanzanian","shilling","dar es salaam"],isFavorite:!1},ngn:{name:"Nigerian Naira",displayName:"Naira (Nigeria)",currencyCode:"NGN",isoCode:"ng",isSourceCurrency:!1,searchTerms:["nigeria","nigerian","naira","lagos","abuja"],isFavorite:!1},pkr:{name:"Pakistani Rupee",displayName:"Rupee (Pakistan)",currencyCode:"PKR",isoCode:"pk",isSourceCurrency:!1,searchTerms:["pakistan","pakistani","rupee","rupees","islamabad","karachi","lahore"],isFavorite:!1}},n={name:"",displayName:"",currencyCode:"",isoCode:"",isSourceCurrency:!1,searchTerms:[],isFavorite:!1};e.s(["currencyMap",0,t,"currencyUtils",0,{getDefaultFromCurrency:()=>t.gbp||n,getDefaultToCurrency:()=>t.inr||n}])},55575,e=>{"use strict";let t;var n=e.i(43476),a=e.i(71645),r=e.i(52571),i=e.i(55436),s=e.i(64659),o=e.i(78761),l=e.i(80669),c=e.i(67105);let d=({currency:e,onSelect:t})=>(0,n.jsxs)("button",{className:"w-full flex items-center gap-3 p-2 hover:bg-gray-50 rounded-lg transition-colors",onClick:()=>t(e),children:[(0,n.jsx)("div",{className:"w-6 h-4 flex items-center justify-center",children:(0,n.jsx)(l.CountryFlag,{code:e.isoCode})}),(0,n.jsxs)("div",{className:"text-left flex-1",children:[(0,n.jsx)("div",{className:"font-medium",children:e.currencyCode}),(0,n.jsx)("div",{className:"text-sm text-gray-500",children:e.name})]})]});function u({onSelect:e,selectedCurrency:t,isSource:r,placeholder:p="Select currency"}){let[h,m]=(0,a.useState)(""),[f,g]=(0,a.useState)(!1),x=t=>{e(t),g(!1),m("")},y=(0,a.useMemo)(()=>{let e=h.toLowerCase();return Object.values(c.currencyMap).filter(n=>t?.isoCode!==n.isoCode&&(n.displayName.toLowerCase().includes(e)||n.currencyCode.toLowerCase().includes(e)||n.name.toLowerCase().includes(e)||n.searchTerms?.some(t=>t.includes(e)))&&(!r||n.isSourceCurrency)).sort((e,t)=>
1e.currencyCode.localeCompare(t.currencyCode))},[h,r,t]),v=(0,a.useMemo)(()=>y.filter(e=>e.isFavorite),[y]),b=(0,a.useMemo)(()=>h?y:y.filter(e=>!e.isFavorite),[h,y]);return(0,n.jsxs)(o.Root,{open:f,onOpenChange:g,children:[(0,n.jsx)(o.Trigger,{asChild:!0,children:(0,n.jsxs)("button",{className:"flex items-center gap-2 hover:bg-gray-50 p-2 rounded-lg",children:[t?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"w-6 h-4 flex items-center justify-center",children:(0,n.jsx)(l.CountryFlag,{code:t.isoCode})}),(0,n.jsx)("span",{className:"text-xl",children:t.currencyCode})]}):(0,n.jsx)("span",{className:"text-gray-500",children:p}),(0,n.jsx)(s.ChevronDown,{className:"w-4 h-4 text-gray-500"})]})}),(0,n.jsx)(o.Portal,{children:(0,n.jsx)(o.Content,{className:"z-50 w-[300px] bg-white rounded-lg shadow-lg p-4",align:"end",sideOffset:5,children:(0,n.jsxs)("div",{className:"space-y-4",children:[(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)(i.Search,{className:"absolute left-3 top-3 h-4 w-4 text-gray-400"}),(0,n.jsx)("input",{placeholder:"Search countries or currencies",className:"w-full pl-9 pr-4 py-2 rounded-lg border border-gray-200",value:h,onChange:e=>m(e.target.value)})]}),(0,n.jsxs)("div",{className:"max-h-[300px] overflow-y-auto",children:[!h&&(0,n.jsxs)("div",{className:"space-y-2",children:[v.length>0&&(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"sticky top-0 bg-white py-1 z-10",children:(0,n.jsx)("div",{className:"text-xs font-medium text-gray-500 uppercase",children:"Popular"})}),(0,n.jsx)("div",{className:"space-y-1",children:v.map(e=>(0,n.jsx)(d,{currency:e,onSelect:x},e.isoCode))})]}),b.length>0&&(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"sticky top-0 bg-white py-1 z-10 border-t border-gray-200",children:(0,n.jsx)("div",{className:"text-xs font-medium text-gray-500 uppercase",children:"All Currencies"})}),(0,n.jsx)("div",{className:"space-y-1",children:b.map(e=>(0,n.jsx)(d,{currency:e,onSelect:x},e.isoCode))})]})]}),h&&(0,n.jsx)("div",{className:"space-y-1",children:0===y.length?(0,n.jsx)("div",{className:"text-center text-gray-500 py-4",children:"No currencies found"}):y.map(e=>(0,n.jsx)(d,{currency:e,onSelect:x},e.isoCode))})]})]})})})]})}var p=e.i(75555),h=e.i(40143),m=e.i(86491),f=e.i(15823),g=e.i(93803),x=e.i(19273),y=class extends f.Subscribable{constructor(e,t){super(),this.options=t,this.#e=e,this.#t=null,this.#n=(0,g.pendingThenable)(),this.bindMethods(),this.setOptions(t)}#e;#a=void 0;#r=void 0;#i=void 0;#s;#o;#n;#t;#l;#c;#d;#u;#p;#h;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#a.addObserver(this),v(this.#a,this.options)?this.#f():this.updateResult(),this.#g())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return b(this.#a,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return b(this.#a,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#x(),this.#y(),this.#a.removeObserver(this)}setOptions(e){let t=this.options,n=this.#a;if(this.options=this.#e.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,x.resolveEnabled)(this.options.enabled,this.#a))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#v(),this.#a.setOptions(this.options),t._defaulted&&!(0,x.shallowEqualObjects)(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#a,observer:this});let a=this.hasListeners();a&&w(this.#a,n,this.options,t)&&this.#f(),this.updateResult(),a&&(this.#a!==n||(0,x.resolveEnabled)(this.options.enabled,this.#a)!==(0,x.resolveEnabled)(t.enabled,this.#a)||(0,x.resolveStaleTime)(this.options.staleTime,this.#a)!==(0,x.resolveStaleTime)(t.staleTime,this.#a))&&this.#b();let r=this.#w();a&&(this.#a!==n||(0,x.resolveEnabled)(this.options.enabled,this.#a)!==(0,x.resolveEnabled)(t.enabled,this.#a)||r!==this.#h)&&this.#j(r)}getOptimisticResult(e){var t,n;let a=this.#e.getQueryCache().build(this.#e,e),r=this.createResult(a,e);return t=this,n=r,(0,x.shallowEqualObjects)(t.getCurrentResult(),n)||(this.#i=r,this.#o=this.options,this.#s=this.#a.state),r}getCurrentResult(){return this.#i}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),"promise"!==n||this.options.experimental_prefetchInRender||"pending"!==this.#n.status||this.#n.reject(Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(e,n))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#a}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#f({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#i))}#f(e){this.#v();let t=this.#a.fetch(this.options,e);return e?.throwOnError||(t=t.catch(x.noop)),t}#b(){this.#x();let e=(0,x.resolveStaleTime)(this.options.staleTime,this.#a);if(x.isServer||this.#i.isStale||!(0,x.isValidTimeout)(e))return;let t=(0,x.timeUntilStale)(this.#i.dataUpdatedAt,e);this.#u=setTimeout(()=>{this.#i.isStale||this.updateResult()},t+1)}#w(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#a):this.options.refetchInterval)??!1}#j(e){this.#y(),this.#h=e,!x.isServer&&!1!==(0,x.resolveEnabled)(this.options.enabled,this.#a)&&(0,x.isValidTimeout)(this.#h)&&0!==this.#h&&(this.#p=setInterval(()=>
1{(this.options.refetchIntervalInBackground||p.focusManager.isFocused())&&this.#f()},this.#h))}#g(){this.#b(),this.#j(this.#w())}#x(){this.#u&&(clearTimeout(this.#u),this.#u=void 0)}#y(){this.#p&&(clearInterval(this.#p),this.#p=void 0)}createResult(e,t){let n,a=this.#a,r=this.options,i=this.#i,s=this.#s,o=this.#o,l=e!==a?e.state:this.#r,{state:c}=e,d={...c},u=!1;if(t._optimisticResults){let n=this.hasListeners(),i=!n&&v(e,t),s=n&&w(e,a,t,r);(i||s)&&(d={...d,...(0,m.fetchState)(c.data,e.options)}),"isRestoring"===t._optimisticResults&&(d.fetchStatus="idle")}let{error:p,errorUpdatedAt:h,status:f}=d;n=d.data;let y=!1;if(void 0!==t.placeholderData&&void 0===n&&"pending"===f){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,y=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#d?.state.data,this.#d):t.placeholderData,void 0!==e&&(f="success",n=(0,x.replaceData)(i?.data,e,t),u=!0)}if(t.select&&void 0!==n&&!y)if(i&&n===s?.data&&t.select===this.#l)n=this.#c;else try{this.#l=t.select,n=t.select(n),n=(0,x.replaceData)(i?.data,n,t),this.#c=n,this.#t=null}catch(e){this.#t=e}this.#t&&(p=this.#t,n=this.#c,h=Date.now(),f="error");let b="fetching"===d.fetchStatus,C="pending"===f,N="error"===f,k=C&&b,F=void 0!==n,E={status:f,fetchStatus:d.fetchStatus,isPending:C,isSuccess:"success"===f,isError:N,isInitialLoading:k,isLoading:k,data:n,dataUpdatedAt:d.dataUpdatedAt,error:p,errorUpdatedAt:h,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>l.dataUpdateCount||d.errorUpdateCount>l.errorUpdateCount,isFetching:b,isRefetching:b&&!C,isLoadingError:N&&!F,isPaused:"paused"===d.fetchStatus,isPlaceholderData:u,isRefetchError:N&&F,isStale:j(e,t),refetch:this.refetch,promise:this.#n,isEnabled:!1!==(0,x.resolveEnabled)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=e=>{"error"===E.status?e.reject(E.error):void 0!==E.data&&e.resolve(E.data)},n=()=>{t(this.#n=E.promise=(0,g.pendingThenable)())},r=this.#n;switch(r.status){case"pending":e.queryHash===a.queryHash&&t(r);break;case"fulfilled":("error"===E.status||E.data!==r.value)&&n();break;case"rejected":("error"!==E.status||E.error!==r.reason)&&n()}}return E}updateResult(){let e=this.#i,t=this.createResult(this.#a,this.options);if(this.#s=this.#a.state,this.#o=this.options,void 0!==this.#s.data&&(this.#d=this.#a),(0,x.shallowEqualObjects)(t,e))return;this.#i=t;let n=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!this.#m.size)return!0;let a=new Set(n??this.#m);return this.options.throwOnError&&a.add("error"),Object.keys(this.#i).some(t=>this.#i[t]!==e[t]&&a.has(t))};this.#C({listeners:n()})}#v(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#a)return;let t=this.#a;this.#a=e,this.#r=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#g()}#C(e){h.notifyManager.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#i)}),this.#e.getQueryCache().notify({query:this.#a,type:"observerResultsUpdated"})})}};function v(e,t){return!1!==(0,x.resolveEnabled)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==t.retryOnMount)||void 0!==e.state.data&&b(e,t,t.refetchOnMount)}function b(e,t,n){if(!1!==(0,x.resolveEnabled)(t.enabled,e)&&"static"!==(0,x.resolveStaleTime)(t.staleTime,e)){let a="function"==typeof n?n(e):n;return"always"===a||!1!==a&&j(e,t)}return!1}function w(e,t,n,a){return(e!==t||!1===(0,x.resolveEnabled)(a.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&j(e,n)}function j(e,t){return!1!==(0,x.resolveEnabled)(t.enabled,e)&&e.isStaleByTime((0,x.resolveStaleTime)(t.staleTime,e))}e.i(47167);var C=e.i(12598),N=a.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t})),k=a.createContext(!1);k.Provider;var F=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()}),E=e.i(8069),R=e.i(57951),A=e.i(81140),S=e.i(20783),T=e.i(30030),B=e.i(26330),D=e.i(10772),M=e.i(53660),P=(e.i(74606),e.i(96626)),I=e.i(48425),L=e.i(91918),H=e.i(69340),O=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"}),V=a.forwardRef((e,t)=>
1(0,n.jsx)(I.Primitive.span,{...e,ref:t,style:{...O,...e.style}}));V.displayName="VisuallyHidden";var[W,_]=(0,T.createContextScope)("Tooltip",[M.createPopperScope]),U=(0,M.createPopperScope)(),z="TooltipProvider",q="tooltip.open",[Z,Q]=W(z),$=e=>{let{__scopeTooltip:t,delayDuration:r=700,skipDelayDuration:i=300,disableHoverableContent:s=!1,children:o}=e,l=a.useRef(!0),c=a.useRef(!1),d=a.useRef(0);return a.useEffect(()=>{let e=d.current;return()=>window.clearTimeout(e)},[]),(0,n.jsx)(Z,{scope:t,isOpenDelayedRef:l,delayDuration:r,onOpen:a.useCallback(()=>{window.clearTimeout(d.current),l.current=!1},[]),onClose:a.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>l.current=!0,i)},[i]),isPointerInTransitRef:c,onPointerInTransitChange:a.useCallback(e=>{c.current=e},[]),disableHoverableContent:s,children:o})};$.displayName=z;var K="Tooltip",[G,X]=W(K),Y=e=>{let{__scopeTooltip:t,children:r,open:i,defaultOpen:s,onOpenChange:o,disableHoverableContent:l,delayDuration:c}=e,d=Q(K,e.__scopeTooltip),u=U(t),[p,h]=a.useState(null),m=(0,D.useId)(),f=a.useRef(0),g=l??d.disableHoverableContent,x=c??d.delayDuration,y=a.useRef(!1),[v,b]=(0,H.useControllableState)({prop:i,defaultProp:s??!1,onChange:e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(q))):d.onClose(),o?.(e)},caller:K}),w=a.useMemo(()=>v?y.current?"delayed-open":"instant-open":"closed",[v]),j=a.useCallback(()=>{window.clearTimeout(f.current),f.current=0,y.current=!1,b(!0)},[b]),C=a.useCallback(()=>{window.clearTimeout(f.current),f.current=0,b(!1)},[b]),N=a.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>{y.current=!0,b(!0),f.current=0},x)},[x,b]);return a.useEffect(()=>()=>{f.current&&(window.clearTimeout(f.current),f.current=0)},[]),(0,n.jsx)(M.Root,{...u,children:(0,n.jsx)(G,{scope:t,contentId:m,open:v,stateAttribute:w,trigger:p,onTriggerChange:h,onTriggerEnter:a.useCallback(()=>{d.isOpenDelayedRef.current?N():j()},[d.isOpenDelayedRef,N,j]),onTriggerLeave:a.useCallback(()=>{g?C():(window.clearTimeout(f.current),f.current=0)},[C,g]),onOpen:j,onClose:C,disableHoverableContent:g,children:r})})};Y.displayName=K;var J="TooltipTrigger",ee=a.forwardRef((e,t)=>{let{__scopeTooltip:r,...i}=e,s=X(J,r),o=Q(J,r),l=U(r),c=a.useRef(null),d=(0,S.useComposedRefs)(t,c,s.onTriggerChange),u=a.useRef(!1),p=a.useRef(!1),h=a.useCallback(()=>u.current=!1,[]);return a.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),(0,n.jsx)(M.Anchor,{asChild:!0,...l,children:(0,n.jsx)(I.Primitive.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...i,ref:d,onPointerMove:(0,A.composeEventHandlers)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(p.current||o.isPointerInTransitRef.current||(s.onTriggerEnter(),p.current=!0))}),onPointerLeave:(0,A.composeEventHandlers)(e.onPointerLeave,()=>{s.onTriggerLeave(),p.current=!1}),onPointerDown:(0,A.composeEventHandlers)(e.onPointerDown,()=>{s.open&&s.onClose(),u.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:(0,A.composeEventHandlers)(e.onFocus,()=>{u.current||s.onOpen()}),onBlur:(0,A.composeEventHandlers)(e.onBlur,s.onClose),onClick:(0,A.composeEventHandlers)(e.onClick,s.onClose)})})});ee.displayName=J;var[et,en]=W("TooltipPortal",{forceMount:void 0}),ea="TooltipContent",er=a.forwardRef((e,t)=>{let a=en(ea,e.__scopeTooltip),{forceMount:r=a.forceMount,side:i="top",...s}=e,o=X(ea,e.__scopeTooltip);return(0,n.jsx)(P.Presence,{present:r||o.open,children:o.disableHoverableContent?(0,n.jsx)(ec,{side:i,...s,ref:t}):(0,n.jsx)(ei,{side:i,...s,ref:t})})}),ei=a.forwardRef((e,t)=>{let r=X(ea,e.__scopeTooltip),i=Q(ea,e.__scopeTooltip),s=a.useRef(null),o=(0,S.useComposedRefs)(t,s),[l,c]=a.useState(null),{trigger:d,onClose:u}=r,p=s.current,{onPointerInTransitChange:h}=i,m=a.useCallback(()=>{c(null),h(!1)},[h]),f=a.useCallback((e,t)=>{let n,a=e.currentTarget,r={x:e.clientX,y:e.clientY},i=function(e,t){let n=Math.abs(t.top-e.y),a=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,a,r,i)){case i:return"left";case r:return"right";case n:return"top";case a:return"bottom";default:throw Error("unreachable")}}(r,a.getBoundingClientRect());c(((n=[...function(e,t,n=5){let a=[];switch(t){case"top":a.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":a.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":a.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":a.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return a}
1(r,i),...function(e){let{top:t,right:n,bottom:a,left:r}=e;return[{x:r,y:t},{x:n,y:t},{x:n,y:a},{x:r,y:a}]}(t.getBoundingClientRect())].slice()).sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),function(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let a=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(a.y-n.y)>=(e.y-n.y)*(a.x-n.x))t.pop();else break}t.push(a)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let a=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(a.y-t.y)>=(e.y-t.y)*(a.x-t.x))n.pop();else break}n.push(a)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}(n))),h(!0)},[h]);return a.useEffect(()=>()=>m(),[m]),a.useEffect(()=>{if(d&&p){let e=e=>f(e,p),t=e=>f(e,d);return d.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{d.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[d,p,f,m]),a.useEffect(()=>{if(l){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},a=d?.contains(t)||p?.contains(t),r=!function(e,t){let{x:n,y:a}=e,r=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let s=t[e],o=t[i],l=s.x,c=s.y,d=o.x,u=o.y;c>a!=u>a&&n<(d-l)*(a-c)/(u-c)+l&&(r=!r)}return r}(n,l);a?m():r&&(m(),u())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[d,p,l,u,m]),(0,n.jsx)(ec,{...e,ref:o})}),[es,eo]=W(K,{isInside:!1}),el=(0,L.createSlottable)("TooltipContent"),ec=a.forwardRef((e,t)=>{let{__scopeTooltip:r,children:i,"aria-label":s,onEscapeKeyDown:o,onPointerDownOutside:l,...c}=e,d=X(ea,r),u=U(r),{onClose:p}=d;return a.useEffect(()=>(document.addEventListener(q,p),()=>document.removeEventListener(q,p)),[p]),a.useEffect(()=>{if(d.trigger){let e=e=>{let t=e.target;t?.contains(d.trigger)&&p()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[d.trigger,p]),(0,n.jsx)(B.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:e=>e.preventDefault(),onDismiss:p,children:(0,n.jsxs)(M.Content,{"data-state":d.stateAttribute,...u,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,n.jsx)(el,{children:i}),(0,n.jsx)(es,{scope:r,isInside:!0,children:(0,n.jsx)(V,{id:d.contentId,role:"tooltip",children:s||i})})]})})});er.displayName=ea;var ed="TooltipArrow";a.forwardRef((e,t)=>{let{__scopeTooltip:a,...r}=e,i=U(a);return eo(ed,a).isInside?null:(0,n.jsx)(M.Arrow,{...i,...r,ref:t})}).displayName=ed;var eu=e.i(75157);let ep=a.forwardRef(({className:e,sideOffset:t=4,...a},r)=>(0,n.jsx)(er,{ref:r,sideOffset:t,className:(0,eu.cn)("z-50 overflow-hidden rounded-md bg-white px-3 py-1.5 text-sm text-gray-700 shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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",e),...a}));ep.displayName=er.displayName;var eh=e.i(46932);let em=e=>{let[t,n]=e.replace(/[^\d.]/g,"").split(".");return(t=t.replace(/^0+/,"")||"0").length>13&&(t=t.slice(0,13)),n?.length>2&&(n=n.slice(0,2)),t=t.replace(/\B(?=(\d{3})+(?!\d))/g,","),n?`${t}.${n}`:t},ef=e=>null==e||isNaN(e)?"0.00":e.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2});function eg({amount:e,onAmountChange:t,fromCurrency:i,onFromCurrencyChange:s,toCurrency:o,onToCurrencyChange:l,onQuoteDataChange:c}){var d;let{ensureAnonymousAuth:p}=(0,R.useAuth)(),[m,f]=(0,a.useState)("source"),[g,v]=(0,a.useState)(""),[b,w]=(0,a.useState)(null),j=i.currencyCode===o.currencyCode;(0,a.useEffect)(()=>{p().catch(console.error)},[p]);let[A,S]=(0,a.useState)({amount:e,type:m});(0,a.useEffect)(()=>{var t;let n,a,r=(t=(e,t)=>
1{parseFloat(e.replace(/,/g,""))>=1&&S({amount:e,type:t})},n=null,(a=function(...e){n&&clearTimeout(n),n=setTimeout(()=>{t.apply(this,e)},200)}).cancel=()=>{n&&(clearTimeout(n),n=null)},a),i="source"===m?e:g;return i&&"0"!==i&&r(i,m),()=>r.cancel()},[e,g,m]);let{data:T}=function(e,t,n,r="source"){let{user:i,ensureAnonymousAuth:s}=(0,R.useAuth)();return function(e,t,n){let r=a.useContext(k),i=a.useContext(N),s=(0,C.useQueryClient)(n),o=s.defaultQueryOptions(e);if(s.getDefaultOptions().queries?._experimental_beforeQuery?.(o),o._optimisticResults=r?"isRestoring":"optimistic",o.suspense){let e=e=>"static"===e?e:Math.max(e??1e3,1e3),t=o.staleTime;o.staleTime="function"==typeof t?(...n)=>e(t(...n)):e(t),"number"==typeof o.gcTime&&(o.gcTime=Math.max(o.gcTime,1e3))}(o.suspense||o.throwOnError||o.experimental_prefetchInRender)&&!i.isReset()&&(o.retryOnMount=!1),a.useEffect(()=>{i.clearReset()},[i]);let l=!s.getQueryCache().get(o.queryHash),[c]=a.useState(()=>new t(s,o)),d=c.getOptimisticResult(o),u=!r&&!1!==e.subscribed;if(a.useSyncExternalStore(a.useCallback(e=>{let t=u?c.subscribe(h.notifyManager.batchCalls(e)):x.noop;return c.updateResult(),t},[c,u]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),a.useEffect(()=>{c.setOptions(o)},[o,c]),o?.suspense&&d.isPending)throw F(o,c,i);if((({result:e,errorResetBoundary:t,throwOnError:n,query:a,suspense:r})=>e.isError&&!t.isReset()&&!e.isFetching&&a&&(r&&void 0===e.data||(0,x.shouldThrowError)(n,[e.error,a])))({result:d,errorResetBoundary:i,throwOnError:o.throwOnError,query:s.getQueryCache().get(o.queryHash),suspense:o.suspense}))throw d.error;if(s.getDefaultOptions().queries?._experimental_afterQuery?.(o,d),o.experimental_prefetchInRender&&!x.isServer&&d.isLoading&&d.isFetching&&!r){let e=l?F(o,c,i):s.getQueryCache().get(o.queryHash)?.promise;e?.catch(x.noop).finally(()=>{c.updateResult()})}return o.notifyOnChangeProps?d:c.trackResult(d)}({queryKey:["quotes",{fromCurrency:e,toCurrency:t,amount:n,type:r}],queryFn:async()=>(i||await s(),E.endpoints.quotes.getQuotes({source_currency:e.currencyCode,target_currency:t.currencyCode,amount:n,fixed_side:r})),enabled:!!(e&&t&&n>=1),staleTime:3e4,refetchInterval:3e4},y,void 0)}(i,o,(0,a.useCallback)(()=>{let e=parseFloat(A.amount.replace(/,/g,""))||0;return 1===e?1.01:e},[A.amount])(),A.type),B=(0,a.useCallback)(e=>{t(e)},[t]),D=(0,a.useCallback)(e=>{c?.(e)},[c]);(0,a.useEffect)(()=>{if(j&&A.amount){let t=parseFloat(A.amount.replace(/,/g,""))||0,n={sendAmount:t,receiveAmount:t,fee:0,feePercentage:0,exchangeRate:1,quotes:[{provider:"riva",rate:1,feeAmount:0,feePercentage:0,sendAmount:t,receiveAmount:t,exchangeRate:1}]};if("source"===m){let e=em(n.receiveAmount.toString());e!==g&&v(e)}else{let t=em(n.sendAmount.toString());t!==e&&B(t)}w(n),D(n)}},[j,A.amount,A.type,m,e,g,B,D]),(0,a.useEffect)(()=>{if(!j&&T&&T.quotes.length>0){if("source"===m){let e=em(T.receiveAmount.toString());e!==g&&v(e)}else{let t=em(T.sendAmount.toString());t!==e&&B(t)}w(T),D(T)}},[T,m,e,g,B,D,j]);let M=(0,a.useCallback)((e,t)=>{let n=em(e);f(t);let a=parseFloat(n.replace(/,/g,""));if(!isNaN(a)&&0===a){B(""),v(""),w(null),S({amount:"",type:"source"}),D(null);return}"source"===t?B(n):v(n)},[B,D]);return(0,n.jsx)(eh.motion.div,{className:"bg-white rounded-2xl border border-[#ecedee] p-8 px-7 max-w-[464px] w-full relative",animate:{boxShadow:["0 0 120px 40px rgba(37, 99, 235, 0.12)","0 0 140px 50px rgba(37, 99, 235, 0.18)","0 0 120px 40px rgba(37, 99, 235, 0.12)"]},transition:{duration:3,repeat:1/0,ease:"easeInOut"},children:(0,n.jsxs)("div",{className:"space-y-6",children:[(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsx)("label",{className:"text-[14px] font-medium text-[#0F172A]",children:"You send"}),(0,n.jsxs)("div",{className:"flex items-center border border-[#cbd5e1] rounded-xl p-2.5 bg-white hover:border-gray-300 transition-colors",children:[(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsx)("div",{className:"flex items-center text-[25px] font-semibold",children:(0,n.jsx)("input",{type:"text",value:e,onChange:e=>M(e.target.value,"source"),className:"w-full border-none focus:outline-none bg-transparent font-semibold text-[#0F172A]",placeholder:"0.00",suppressHydrationWarning:!0})})}),(0,n.jsx)(u,{selectedCurrency:i,onSelect:s,excludeCurrency:o.isoCode,isSource:!0})]})]}
1),(0,n.jsxs)("div",{className:"space-y-2 text-[13px] divide-y divide-gray-50",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between py-2",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2 text-gray-900",children:[(0,n.jsx)("span",{className:"w-3",children:"-"}),(0,n.jsxs)("span",{children:[j?"0.00":ef(b?.fee)," ",i.currencyCode," "," ",!j&&(0,n.jsxs)("span",{className:"text-[#020817]",children:["(",b?.feePercentage?.toFixed(2),"%)"]})]})]}),(0,n.jsxs)("div",{className:"flex items-center gap-1.5 text-[#475569]",children:["Transfer fee",(0,n.jsx)($,{delayDuration:100,children:(0,n.jsxs)(Y,{children:[(0,n.jsx)(ee,{className:"cursor-help",children:(0,n.jsx)(r.Info,{className:"w-4 h-4"})}),(0,n.jsx)(ep,{side:"top",className:"p-3",children:(0,n.jsx)("p",{className:"max-w-xs",children:j?"No fees for same currency transfers":"source"===m?"Fee is calculated from your send amount":"Fee is calculated from the equivalent send amount"})})]})})]})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between py-1.5",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2 text-[#020817]",children:[(0,n.jsx)("span",{className:"w-3",children:"="}),(0,n.jsxs)("span",{children:[j?ef(parseFloat(e.replace(/,/g,""))):ef(b?.sendAmount?b.sendAmount-b.fee:0)," ",i.currencyCode]})]}),(0,n.jsx)("div",{className:"text-[#475569]",children:"Amount we'll convert"})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between py-1.5",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2 text-[#020817]",children:[(0,n.jsx)("span",{className:"w-3",children:"Ã"}),(0,n.jsx)("span",{children:j?"1.0000":null==(d=b?.exchangeRate)||isNaN(d)?"0.00":d.toLocaleString("en-US",{minimumFractionDigits:4,maximumFractionDigits:4})})]}),(0,n.jsxs)("div",{className:"flex items-center gap-1.5 text-[#475569]",children:["Exchange rate",(0,n.jsx)($,{delayDuration:100,children:(0,n.jsxs)(Y,{children:[(0,n.jsx)(ee,{className:"cursor-help",children:(0,n.jsx)(r.Info,{className:"w-4 h-4"})}),(0,n.jsx)(ep,{side:"top",className:"p-3",children:(0,n.jsx)("p",{className:"max-w-xs",children:j?"Same currency transfers have a 1:1 exchange rate":"Current mid-market rate"})})]})})]})]})]}),(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsx)("label",{className:"text-[14px] font-medium text-[#0F172A]",children:"Recipient gets"}),(0,n.jsxs)("div",{className:"flex items-center border border-[#cbd5e1] rounded-xl p-2.5 bg-white hover:border-gray-300 transition-colors",children:[(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsx)("div",{className:"flex items-center text-[25px] font-semibold",children:(0,n.jsx)("input",{type:"text",value:g,onChange:e=>M(e.target.value,"target"),className:"w-full border-none focus:outline-none bg-transparent text-[#0F172A]",placeholder:"0.00",suppressHydrationWarning:!0})})}),(0,n.jsx)(u,{selectedCurrency:o,onSelect:l,excludeCurrency:i.isoCode,isSource:!1})]})]}),(0,n.jsx)("div",{className:"space-y-4",children:(0,n.jsx)("div",{className:"relative",children:(0,n.jsx)("button",{onClick:()=>{window.location.href="https://app.riva.money/"},className:"w-full bg-[#0F172A] hover:bg-[#1E293B] text-white text-xl font-semibold h-[50px] rounded-lg transition-colors",children:"Send money"})})})]})})}let ex=[{id:"tfg-case-study",imageUrl:"/home/insights/tfg-client-testimonial.jpg",category:"Insight",title:"Riva Case Study: Optimising Payments for Talent Force Global",thumbnailText:"How a global staffing leader cut payment costs and reduced operational complexities by partnering with Riva Money.",articleText:`<h2>Client Testimonial</h2> 2<blockquote style="border-left: 4px solid #2563eb; padding-left: 1rem; margin: 2rem 0; font-style: italic; color: #374151;"> 3 <p style="margin-bottom: 0.5rem;">"Riva Money transformed our global payment process. We've cut costs significantly, our employees get paid faster, and our finance team finally has the transparency it needs. It's a gameâchanger for us."</p> 4 <p style="margin: 0; font-style: normal; font-weight: 600;">â Ben Tellez, Talent Force Global</p> 5</blockquote> 6 7<h2>Case study: How a global staffing leader cut payment costs and reduced operational complexities</h2> 8<p>By partnering with <strong>Riva Money</strong>, a leading staffing and recruitment firm operating globally streamlined its highâvolume international payments â improving settlement speed, enhancing transparency, gaining greater control over cash flow, and significantly reducing transfer costs.</p> 9 10<h2>The Challenge</h2> 11<p>Managing hundreds of monthly payments across multiple currencies globally was complex, expensive, and timeâconsuming.</p> 12<ul> 13 <li><strong>High bank fees</strong> were eroding margins.</li> 14 <li><strong>
14Slow settlement times</strong> caused cashâflow challenges for employees, contractors and partners.</li> 15 <li><strong>Lack of transparency</strong> made reconciliation difficult and created an administrative burden for the finance team.</li> 16</ul> 17<p>The company needed a faster, more costâefficient, and transparent solution â without compromising on compliance or security.</p> 18 19<h2>The Solution</h2> 20<p><strong>Riva Money</strong> deployed a dual-rail global payments platform, harnessing blockchain alongside other payment technologies to deliver faster, more transparent, and costâefficient crossâborder transactions.</p> 21<ul> 22 <li>Centralised platform to manage payments in multiple currencies.</li> 23 <li>Faster settlement times, reducing crossâborder delays.</li> 24 <li>Clear, upfront pricing with no hidden bank charges.</li> 25 <li>Realâtime tracking and reporting for the finance team.</li> 26 <li>ERP integration for effortless bookkeeping.</li> 27</ul> 28<p>The client was onboarded quickly and efficiently, enabling them to begin processing international payments with minimal disruption to their existing operations.</p> 29 30<h2>The Results</h2> 31<p>Since switching to Riva, the client has seen:</p> 32<ul> 33 <li>56% reduction in transaction costs compared to traditional banks.</li> 34 <li>Settlement times went from about 4 business days to around 1 day for most currencies.</li> 35 <li>Time savings of ~20 hours per month for the finance team through streamlined reconciliation processes.</li> 36 <li>Increased trust and satisfaction among employees, contractors, and partners thanks to faster, more reliable payments.</li> 37</ul> 38 39<p>Ready to simplify and accelerate your global payments? <a href="https://calendly.com/nik-riva/intro-to-riva" class="survey-link">Book a demo</a> and see how we can help your business scale more efficiently.</p>`,date:"December 2025",featured:!1,imagePosition:"before"},{id:"welcome-rob",imageUrl:"/home/insights/welcome-rob.jpg",category:"Insight",title:"Meet Rob â Building Processes That Enable Growth",thumbnailText:"Meet Rob, our Strategy & Operations Manager, building processes that enable scalable growth at Riva.",articleText:`<p>At Riva, we believe great products are built by great people.</p> 40 41<p>Meet Rob, our Strategy and Operations Manager, who has been instrumental in strengthening Riva's operational foundation over the past months.</p> 42 43<p>He plays a vital role in running and scaling Riva's internal processes. He collaborates across multiple teams, from product and onboarding to customer success, to streamline workflows. His goal is to ensure every business joining Riva experiences clarity, efficiency, and speed from day one.</p> 44 45<p>He is also involved in shaping Riva's operational blueprint for expansion into new markets, specifically mentioning Europe, North America, Africa, and Latin America.</p> 46 47<p>We asked him a few quick questions to get to know Rob better, covering his work, motivation for joining Riva, and his interests outside of the office.</p> 48 49<h2>Why did you choose to join a start-up?</h2> 50 51<p>I wanted to be part of a fast-moving environment where decisions matter and the impact of my work is visible daily. I find the aspects of taking ownership, wearing multiple hats, and helping build something from the ground up to be exciting.</p> 52 53<h2>What makes the payments industry interesting to you?</h2> 54 55<p>The payments industry is undergoing a major transformation, with new technologies reshaping how money moves across borders. Companies like Riva are challenging slow-moving incumbents by making processes faster, clearer, and more cost-efficient. I find it unique to work in an industry where such significant change is happening in real-time.</p> 56 57<h2>What's your core focus at Riva?</h2> 58 59<p>My role is to help Riva scale efficiently while ensuring clients receive a seamless experience. This involves improving internal processes, supporting product development, and assisting in expanding Riva's footprint into new regions with the appropriate operational frameworks.</p> 60 61<h2>What do you enjoy outside of work?</h2> 62 63<p>I love anything outdoors. I grew up in Cape Town, which offered easy access to mountains and oceans, opportunities I always tried to utilize. Additionally, I'm a big sports fan and enjoy traveling, discovering new places, and meeting new people.</p>`,date:"December 2025",featured:!1,imagePosition:"before",disabled:!0},{id:"swiss-license",imageUrl:"/home/insights/swiss-license.jpg",category:"Announcement",title:"Riva approved as a Virtual Asset Service Provider",thumbnailText:"Riva Money Switzerland has been approved as a Virtual Asset Service Provider (VASP) and is now a member of the SRO VQF",articleText:`<h2>Riva Money Switzerland Approved as a Virtual Asset Service Provider (VASP)</h2> 64 <p>Weâre excited to share that Riva Money Switzerland has been approved as a Virtual Asset Service Provider (VASP) and is now a member of the self-regulatory organisation (SRO) VQF â the Financial Services Standards Association, Switzerlandâs leading self
64-regulatory organisation under FINMA supervision.</p> 65 <p>This approval marks another important milestone in Rivaâs mission to make business payments faster, more transparent, and more cost-efficient across borders.</p> 66 <p>As a VASP, Riva Money Switzerland can provide clients with regulated virtual asset services, including facilitating cross-border payments and conversions between fiat currencies and digital settlement instruments such as stablecoins. This additional capability complements Rivaâs existing payment infrastructure and strengthens our ability to deliver seamless, real-time international transfers for businesses.</p> 67 68 <blockquote style="border-left: 4px solid #e5e7eb; padding-left: 1rem; margin: 2rem 0; font-style: italic; color: #6d7e9b;"> 69 <p style="margin-bottom: 0.5rem;">"This approval is a key step in expanding Rivaâs dual-rail payment capabilities,â says Mahendra Katoch, CTO and Co-Founder of Riva Money.</p> 70 <p style="margin-bottom: 0.5rem;">"It allows us to combine the stability and compliance of traditional banking rails with the efficiency and speed of blockchain-based payment infrastru
70cture â all while maintaining our focus on cost savings and transparency for our clients."</p> 71 </blockquote> 72 <p>The approval in Switzerland adds to Rivaâs growing regulatory footprint in Europe, following the authorisation of Riva Money Europe AB as a Payment Institution by the Swedish Financial Supervisory Authority (Finansinspektionen). Together, these regulatory foundations enable Riva to continue building the next generation of cross-border payments â helping businesses move money globally, faster and cheaper than ever before.</p> 73 `,date:"November 2025",featured:!1,imagePosition:"before"},{id:"eu-license",imageUrl:"/home/insights/eu-license.jpg",category:"Announcement",title:"Riva receives Payment Institution license",thumbnailText:"Riva Money Europe AB has been officially authorised as a Payment Institution (API) by the Swedish FSA.",articleText:`<h2>Riva receives Payment Institution license approval from the Swedish Financial Supervisory Authority (Finansinspektionen)</h2> 74<p>We're proud to announce that Riva Money Europe AB has been officially authorised as a Payment Institution (API) by the Swedish Financial Supervisory Authority (Finansinspektionen).</p> 75<p>
75This authorisation marks a major milestone in Riva's journey to make cross-border payments for businesses more cost-efficient, transparent, and faster.</p> 76 77<h2>A foundation for Riva's EU operations</h2> 78<p>The license forms the regulatory cornerstone of Riva's business within the European Union and enables the company to offer regulated payment services to businesses across the EEA.</p> 79<p>In line with Riva's phased expansion strategy, the license will initially be passported to Germany, France, Spain, the Netherlands, Portugal, and Denmark, with additional countries added gradually as Riva scales its footprint across Europe.</p> 80 81<h2>Enabling a new standard for business payments</h2> 82<p>The approval from Finansinspektionen allows Riva to move from development to full operational readiness â paving the way to deliver on our mission of helping businesses make cross-border payments that are fair, transparent, and predictable.</p> 83<p>With this authorisation, Riva can now operate under the EU and Swedish regulatory standards that govern established financial institutions, including robust safeguarding, governance, and compliance frameworks designed to protect client funds and ensure transparency.</p> 84<p>Ultimately, this milestone enables Riva to offer a secure, compliant, and fully supervised alternative to traditional banks â built to meet the highest standards of transparency and operational integrity.</p> 85 86<blockquote style="border-left: 4px solid #e5e7eb; padding-left: 1rem; margin: 2rem 0; font-style: italic; color: #374151;"> 87 <p style="margin-bottom: 0.5rem;">"With our Payment Institution license in place, Riva is ready to deliver the efficiency, transparency, and trust business payments have long deserved."</p> 88 <p style="margin: 0; font-style: normal; font-weight: 600;">â Niklas Hoejman, CEO and co-founder Riva Money</p> 89</blockquote> 90 91<h2>Next steps</h2> 92<p>Riva is now in the final stages of preparing for launch, with go-live planned for the latter part of Q4 2025. Stay tuned for more updates as we move closer to making Riva's platform available to businesses across Europe.</p> 93`,date:"November 2025",featured:!1,imagePosition:"before"},{id:"hsbc-innovation-report",imageUrl:"/home/insights/hsbc-report.jpg",category:"Insight",title:"Riva featured in HSBC Innovation Report",thumbnailText:"Riva co-founder Niklas Hoejman featured in the latest UK Innovation Update by HSBC and Dealroom.",articleText:`<p>Riva has been recognised among the leading innovators shaping the future of finance in the latest UK Innovation Update published by HSBC Innovation Banking and Dealroom.co.</p> 94 95<p>The report highlights the continued strength of the UK's startup ecosystem â with fintech once again at the forefront, representing nearly a quarter of all venture investment. Despite macroeconomic headwinds, funding remains resilient across all stages, from early-stage ventures to established scale-ups.</p> 96 97<p>"The current deal environment for fintech remains highly dynamic, with payments standing out as one of the most attractive segments," said Niklas Hoejman, co-founder and CEO of Riva.</p> 98 99<p>"Riva's recent $3 million pre-seed round reflects this trend, with investors actively pursuing opportunities driven by both the scale of the global market and the rapid pace of technological innovation."</p> 100 101<p>The report notes that UK startups collectively raised $9 billion in Q3 2025, marking the second-strongest third quarter on record. Fintech continues to lead the charge, underscoring the UK's position as a global hub for financial innovation.</p> 102 103<p>"The emergence of blockchain and stablecoins has enabled new payment infrastru
103ctures that promise faster, cheaper, and more transparent solutions â in sharp contrast to the legacy rails still largely operated by banks," Hoejman added. "Recent regulatory changes in the UK and EU are also shaping the landscape, providing greater clarity around digital assets and opening the door for broader institutional adoption, even as fragmentation across jurisdictions continues to complicate scaling."</p> 104 105<p>At Riva, the focus remains on building next-generation solutions for global payments â combining traditional banking rails with blockchain and stablecoin technology to make cross-border transfers faster, cheaper, and more transparent for businesses worldwide.</p> 106 107<p>Read the full report <a href="https://dealroom.co/reports/uk-innovation-update-q3-2025" class="survey-link" target="_blank" rel="noopener noreferrer">here</a>.</p>`,date:"October 2025",featured:!1,imagePosition:"before"},{id:"sales-team-expansion",imageUrl:"/home/insights/sales-team-joiners.jpg",category:"News",title:"Riva Expands the Sales Team",thumbnailText:"We're excited to welcome 10 new colleagues to our sales team!",articleText:`<p>Riva continues to scale rapidly ahead of launch, expanding its commercial organisation with ten new team members joining the sales function across Europe and the UK.</p> 108 109<p>This expansion marks a major milestone in Riva's go-to-market build-out â combining local-language expertise, regional market insight, and proven sales talent to accelerate customer acquisition and partnerships in key European markets.</p> 110 111<p>"Building a high-performing sales engine means combining structure with local strength," says Daniel Leveau, Head of GTM at Riva.</p> 112 113<p>"Our new team brings together exceptional talent with native-language capability and strong market knowledge. This gives us the ability to engage customers more effectively, scale outreach systematically, and convert opportunity into growth faster than ever."</p> 114 115<p>
115The growing team reinforces Riva's commitment to a customer-centric, locally embedded sales model, ensuring that businesses across Europe and the UK can access faster, cheaper, and more transparent cross-border payment solutions.</p>`,date:"October 2025",featured:!1,imagePosition:"before",disabled:!0},{id:"tech-talent-joining",imageUrl:"/home/insights/tech-talent-join.jpg",category:"News",title:"Tech Talent Joining Riva",thumbnailText:"We are excited to welcome Abhimanyu, Sarthak and Him to the Riva team!",articleText:`<p>As Riva prepares to go live, we're thrilled to welcome three new engineers â Abhimanyu Kumar, Sarthak Gupta, and Him Agrawal â who join our growing tech team to strengthen our backend and infrastructure capabilities.</p> 116 117<p>Their expertise will play a key role in building the next generation of Riva's payments infrastructure â designed for scale, reliability, and speed as we bring faster, cheaper, and more transparent cross-border payments to businesses globally.</p> 118 119<p>"What drew me to Riva was the chance to tackle impactful challenges alongside talented people," says Abhimanyu Kumar, Backend Engineer. "It's inspiring to be part of a team that's moving at incredible speed and shaping the future of payments."</p> 120 121<p>Sarthak Gupta, Infrastructure Engineer, adds: "It's exciting to work on systems designed for scale and reliability â in a space where technology can truly change how money moves globally."</p> 122 123<p>"Riva is at the forefront of transforming cross-border payments," notes Him Agrawal, Backend Engineer. "The opportunity to help build next-generation, scalable solutions in such a dynamic environment makes this an exciting time to join."</p> 124 125<p>With the addition of these talented engineers, Riva continues to build momentum â combining deep technical expertise with our vision to redefine how businesses move money across borders.</p>`,date:"October 2025",featured:!1,imagePosition:"before",disabled:!0},{id:"story-behind-riva",imageUrl:"/home/insights/story-behind-riva.jpg",category:"Insight",title:"The Story Behind Riva",thumbnailText:"In a guest post with Project A, Niklas Hoejman shares what inspired him and Mahendra Katoch to start Riva.",articleText:` 126 <p>Why was Riva founded? Not because of a business plan on paper â but from first-hand experience of managing billions across borders, shutting down payment corridors when markets went haywire, and seeing companies struggle because the global payments system simply didnât work.</p> 127 128 <p>In this guest article, published together with our lead investor Project A, Rivaâs co-founder Niklas Hoejman shares the journey that led him and his co-founder Mahendra Katoch to create Riva. Among other things, the article covers:</p> 129 130 <p> ⢠The breaking points that revealed the fragility of todayâs payment rails</p> 131 <p> ⢠What it meant to manage FX exposure at scale â and the risks of pre-funding models for payment firms</p> 132 <p> ⢠Why corporate (B2B) payments are still decades behind consumer solutions</p> 133 <p> ⢠Insights from CFOs on what really matters: predictability and convenience</p> 134 <p> ⢠Rivaâs vision of a dual-rail future â combining banking rails and blockchain rails for the best outcomes</p> 135 136 <p>The article is both a personal story and a blueprint for the future of global payments.</p> 137 138 <p>ð Read it <a href="https://www.project-a.vc/blog/the-day-i-shut-down-an-entire-country" class="survey-link" target="_blank" rel="noopener noreferrer">here</a> to understand why Riva exists, and where we are heading.</p> 139 `,date:"September 2025",featured:!1,imagePosition:"before"},{id:"leonardo-welcome",imageUrl:"/home/insights/leonardo-welcome.jpg",category:"News",title:"Welcome Leonardo Fernandes",thumbnailText:"We are excited to have Leonardo on board as part of the Riva team!",articleText:`<p>We're delighted to welcome Leonardo as the newest member of our sales team at Riva. With a focus on business development in Spanish- and Portuguese-speaking countries, Leonardo will play a key role in strengthening our presence and building lasting client relationships as we expand our global footprint.</p> 140 141<p>To introduce him beyond the job title and give you a sense of who he is, we asked Leonardo three quick questions about what drives him, how he approaches sales, and what he enjoys outside of work.</p> 142 143<h2>What excites you most about being part of Riva?</h2> 144 145<p>Being right in the middle of the transformation of the payments industry. At Riva, we're challenging the incumbents in a space where the customer value from new technologies is crystal clear.</p> 146 147<p>Add to that the fast-moving, dynamic environment of the team â it's an inspiring place to be.</p> 148 149<h2>What's one thing about sales you've learned that always sticks with you?</h2> 150 151<p>It might sound like a clich\xe9, but listening really does beat talking.</p> 152 153<p>The better you understand a client's needs, the stronger and more lasting the relationship becomes â and that's what builds long-term trust and success.</p> 154 155<h2>What do you enjoy outside of work?</h2> 156 157<p>Outside of work, I enjoy spending time in nature â I love both the mountains and the sea. Being outdoors gives me a sense of belonging and purpose. I like to stay active with exercise and long walks, and I also enjoy eating out.</p> 158 159<p>And of course, I appreciate my beer and popcorn too â it's all about balance!</p>`,date:"September 2025",featured:!1,imagePosition:"before",disabled:!0},{id:"new-era-of-payments",imageUrl:"/home/insights/new-era-of-payments.jpg",category:"Insight",title:"A New Era for Global Payments",thumbnailText:"Stablecoins are redefining cross-border payments â bringing speed, savings, and clarity.",articleText:`<h1>A New Era for Global Payments</h1> 160 161<p>The global payments industry is vast, moving trillions of dollars every single day. Yet for many companies, especially when dealing with emerging markets, the experience of moving money across borders feels stuck in the past. Transfers can take days to arrive, fees and FX spreads erode margins, and finance teams are left with little transparency into where funds are or what they actually cost.</p> 162 163<p>The reality is that most international B2B payments still flow through legacy bank infrastru
163cture, often via long chains of correspondent banks. This system is slow, expensive, and opaque by design. While fintechs have started to challenge the incumbents â building smoother user interfaces and offering sharper FX pricing â the underlying rails remain the same. For businesses operating globally, the pain points are clear: slow settlement, lack of transparency, and high costs.</p> 164 165<h2>New Technologies Emerge</h2> 166 167<p>Change is coming. Over the past few years, new technologies have emerged that fundamentally rethink how money can move. Blockchain in particular offers an entirely new set of capabilities for payments: near-instant settlement, 24/7 availability, programmability, and global reach.</p> 168 169<p>One of the most promising use cases of blockchain in payments is stablecoins. A stablecoin is a digital currency designed to maintain a stable value relative to a traditional asset, usually a fiat currency like the US dollar or euro. Unlike volatile cryptocurrencies such as Bitcoin, stablecoins are built to serve as reliable mediums of exchange.</p> 170 171<p>And they are no longer a fringe crypto experiment. With a record market capitalization, growing liquidity, and adoption by major institutions â from Visa and Stripe to JPMorgan and PayPal â stablecoins are fast becoming a core part of the global payments ecosystem.</p> 172 173<h2>Why Stablecoins Matter for Payments</h2> 174 175<p>Stablecoins address many of the weaknesses of the current system. Settlement can happen in seconds rather than days. Transactions are available around the clock, not just during banking hours. Fees can be dramatically lower, particularly for cross-border flows that currently pass through multiple intermediaries.</p> 176 177<p>Transparency is another key advantage. On-chain transactions are traceable in real time, making it easier to track funds and reduce reconciliation complexity. For businesses, this translates into better cash flow predictability, improved working capital management, and a more efficient finance function.</p> 178 179<p>Stablecoins will not replace traditional infrastructure overnight. But they provide an increasingly compelling alternative â and when combined with existing rails, they unlock powerful new possibilities.</p> 180 181<h2>Riva's Approach: Dual-Rail Systems</h2> 182 183<p>At Riva, we believe the future of payments is not about ideology â blockchain versus traditional rails â but pragmatism. Businesses do not care about the technology in itself; they care about speed, cost, transparency, and reliability.</p> 184 185<p>That is why we are building a dual-rail infrastructure that orchestrates payments across both traditional networks (e.g. SEPA, SWIFT, ACH) and blockchain-based stablecoin rails. For each transaction, our system dynamically selects the best available route. A transfer from London to Singapore might move on-chain in near real time, while a transfer to New York may be faster and cheaper via established fiat rails.</p> 186 187<p>This dual-rail approach ensures flexibility and resilience. Companies benefit from the efficiency of stablecoins without having to abandon the security and familiarity of traditional systems. The result: faster, cheaper, and more transparent payments, with no trade-off in compliance or reliability.</p> 188 189<h2>Regulation Catches Up</h2> 190 191<p>A critical factor in the mainstreaming of stablecoins is regulation. For years, lack of clarity held back adoption. That is now changing rapidly.</p> 192 193<p>In the <strong>U.S.</strong>, the GENIUS Act of 2025 introduced the first federal framework for stablecoins, establishing clear rules for issuers and payment institutions.</p> 194 195<p>In <strong>Europe</strong>, MiCA (Markets in Crypto-Assets Regulation) has come into effect, providing harmonized regulation across the EU.</p> 196 197<p>The <strong>UK</strong> is rolling out its own stablecoin regime, while Switzerland has already built a robust framework for digital asset service providers.</p> 198 199<p>This regulatory momentum gives institutions confidence to engage at scale. Deeper, regulated liquidity pools are forming, creating a safer and more mature ecosystem for businesses to rely on.</p> 200 201<h2>The Wider Impact</h2> 202 203<p>The benefits of stablecoins and blockchain payments extend beyond efficie
203ncy. They open new possibilities for treasury management â from instant liquidity to new hedging mechanisms. They also unlock financial inclusion: small businesses and individuals in underserved markets can gain access to fast, low-cost international transfers that were previously out of reach.</p> 204 205<p>For global enterprises, the combination of reduced costs, improved transparency, and faster settlement is not just an operational improvement. It is a strategic enabler: supporting expansion into new markets, strengthening supplier and customer relationships, and giving finance teams a level of control they never had before.</p> 206 207<h2>A New Era for Global Payments</h2> 208 209<p>Global payments is one of the last great industries still constrained by legacy infrastructure. That constraint is now breaking. Stablecoins and dual-rail systems represent not just an incremental upgrade but a fundamental shift in how money moves.</p> 210 211<p>The companies that adapt early will gain a competitive edge â faster settlement, lower costs, and full transparency in their financial flows. Those that fail to evolve risk being left behind in a system that is moving at internet speed.</p> 212 213<p>A new era for global payments has already begun. The question is not if, but how quickly businesses are ready to embrace it.</p> 214 215`,date:"September 2025",featured:!1,imagePosition:"before"},{id:"projecta-announcement",imageUrl:"/home/insights/proja-announce.jpg",category:"Insight",title:"Why Project A Chose to Back Riva",thumbnailText:"Why did Project A choose to back Riva Money? Read their reasoning and outlook on the payments industry.",articleText:` 216 <h1>Strong partners make bold ambitions possible.</h1> 217 218 <p>That's why we're excited to highlight an article from our lead investor <strong>Project A</strong>, authored by their partner <strong>Malin Posern</strong>. In it, she shares why Project A chose to back <strong>Riva Money</strong> at the pre-seed stage â and offers valuable insights into the future of payments.</p> 219 220 <p>
220In the article, you'll find perspectives on:</p> 221 222 <p><strong>The "slow train" problem</strong> â why traditional cross-border payments are still slow and costly.</p> 223 224 <p><strong>The role of stablecoins</strong> as a bridge between currencies and how they enable faster, more transparent transfers.</p> 225 226 <p><strong>The Riva approach</strong> â orchestrating the best payment route by combining traditional rails with next-gen infrastructure.</p> 227 228 <p><strong>Why now</strong> â regulatory clarity, institutional adoption, and a $40T market ready for change.</p> 229 230 <p>Read the full article <a href="https://www.project-a.vc/blog/switching-tracks-for-global-B2B-payments" class="survey-link" target="_blank" rel="noopener noreferrer">here</a>.</p> 231 `,date:"August 2025",imagePosition:"before"},{id:"techfundingnews",imageUrl:"/home/insights/techfundingnews.jpg",category:"News",title:"Riva's co-founders in Tech Funding News",thumbnailText:"Read the exclusive interview with Riva's co-founders in Tech Funding News.",articleText:` 232 <p>Riva's co-founders, Niklas Hoejman and Mahendra Katoch, sat down with Tech Funding News' Sofia Chesnokova for an exclusive interview. They discuss, among other things, what inspired them to start Riva and how blockchain technology is reshaping the payments landscape.</p> 233 234<p>Click the link <a href="https://techfundingnews.com/riva-3m-funding-slash-global-b2b-payments-costs-speed/" class="survey-link">here</a> to read the full interview.</p> 235`,date:"August 2025",imagePosition:"before"},{id:"pre-seed-funding",imageUrl:"/home/insights/funding-proja.jpg",category:"News",title:"Riva Closes Pre-Seed Round Led by Project A",thumbnailText:"We're excited to announce that Riva Money has raised $3 million in pre-seed funding, led by Project A.",articleText:`<h1>Riva Closes Pre-Seed Round Led by Project A</h1> 236 237<p>We're excited to announce that Riva Money has raised $3 million in pre-seed funding, led by Project A and supported by experienced angel investors from companies including Revolut, Ebury, Monzo, and J.P. Morgan.</p> 238 239<p>At Riva, our mission is to fix what's broken in global payments. Despite huge advances in consumer fintech, cross-border business payments are still slow, expensive, and opaque. Transfers can take days and often involve high fees, poor exchange rates, and little transparency. We're here to change that.</p> 240 241<h2>Rebuilding Global Payments for businesses</h2> 242 243<p>We're building a blockchain-powered payment platform designed specifically for businesses. By blending traditional and blockchain-based routing, we'll be able to optimise each transfer for speed, cost, and compliance â giving businesses more control over how they move money across borders.</p> 244 245<p>Whether routed via stablecoins or traditional fiat rails, each transfer will be handled in the most efficient way possible for the customer's location and needs. The result: faster, cheaper, and more transparent global payments â without compromising on compliance or trust.</p> 246 247<p>"Our mission is simple: to enable businesses' limitless global money movement â at a fraction of today's cost," said Niklas Hoejman, co-founder and CEO of Riva.</p> 248 249<p>Mahendra Katoch, co-founder and CTO of Riva continues: <span>"By combining blockchain technology with a robust regulatory framework, we're building a solution that offers businesses the speed, transparency, and cost-efficiency they need to thrive in today's interconnected economy."</span></p> 250 251<h2>A Market Ripe for Change</h2> 252 253<p>The global cross-border payments market is projected to grow from $212 billion in 2024 to $320 billion by 2030, driven by businesses demanding faster, lower-cost, and more reliable ways to move money internationally. At the same time, stablecoins and digital assets are gaining traction â not just in innovation circles, but also in mainstream regulation.</p> 254 255<p>Governments in the UK, US, and EU are now rolling out legal frameworks for stablecoins and digital value transfer. We see this shift as a major opportunity: to harness blockchain where it adds real value, while maintaining the regulatory clarity and safeguards businesses expect.</p> 256 257<p>Malin Posern, Partner and Managing Director at Project A, said:</p> 258 259<p>"With stablecoin adoption accelerating and regulatory frameworks maturing globally, the time is right for an infrastru
259cture rethink. Riva's dual-rail system for businesses elegantly solves for both speed and flexibility in a market that's still reliant on legacy processes. Niklas and Mahendra's deep expertise in payments and financial markets positions Riva perfectly to build the next generation of payment services."</p> 260 261<h2>Backed by Experience, Built for Scale</h2> 262 263<p>Riva was founded by Niklas Hoejman and Mahendra Katoch, both fintech operators with experience at Revolut, Wise, Goldman Sachs, and Citigroup. Even at the forefront of fintech innovation, they saw how legacy systems continue to slow things down and drive up costs â prompting them to build something better.</p> 264 265<h2>What's Next</h2> 266 267<p>With the core of our platform nearing completion, we're preparing for launch and continuing to grow our team. This funding will enable us to expand our operations globally, with a focus on Europe, Asia, and North America, and to grow our engineering team to accelerate product development.</p> 268 269<p>We're also actively pursuing payment institution authorisation across the UK and EU, as well as MiCA and VASP registrations in the EU and Switzerland â building a regulatory foundation that supports our long-term growth and customer trust.</p> 270 271<p>We're just getting started â and we're excited for what's ahead.</p>`,date:"August 2025",featured:!1,imagePosition:"before"},{id:"new-joiner-suri",imageUrl:"/home/insights/surendra-post.jpg",category:"News",title:"Welcome Surendra Singh",thumbnailText:"We are delighted to welcome Surendra to the Riva Team!",articleText:`<h1>Riva is continuing to grow!</h1> 272 273<p>Riva is continuing to grow! We're delighted to welcome Surendra to the Riva team, joining us as we expand our engineering capabilities.</p> 274 275<p>He brings strong expertise in building and scaling technology that powers global payments â experience that will be invaluable as we prepare for launch in September 2025.</p> 276 277<p>But who is Surendra beyond the role?</p> 278 279<p>We asked him three quick questions to help you get to know him better.</p> 280 281<h2>What trend in the payment space do you see having the biggest impact ahead?</h2> 282 283<p>The biggest shift ahead is the way new technologies are redefining cross-border payments, with stablecoins leading the charge. We've only seen the beginning of how they can transform speed, cost, and transparency in global money movement.</p> 284 285<p>For me as an engineer, being able to start with a clean sheet of paper â as Riva has â is the ultimate dream, and the dual-rail approach makes Riva uniquely positioned to deliver something truly different in this space.</p> 286 287<h2>What made you excited to join Riva?</h2> 288 289<p>What drew me to Riva was the chance to work in a truly fast-moving environment where big ambitions quickly turn into real products.</p> 290 291<p>The combination of an experienced team, a clear mission, and the opportunity to build payments infrastructure from the ground up made it an exciting place to contribute.</p> 292 293<h2>Outside your role at Riva, what keeps you curious?</h2> 294 295<p>Outside of work, I'm passionate about exploring history and uncovering the stories behind major world events. It gives me perspective and a deeper understanding of how we got to where we are today.</p> 296 `,date:"August 2025",imagePosition:"before",disabled:!0},{id:"new-joiner-fredrik",imageUrl:"/home/insights/hiring-fredrik.jpg",category:"News",title:"Welcome Fredrik Klingvall",thumbnailText:"We're pleased to introduce Fredrik Klingvall, who joins Riva Money as our new Head of Finance.",articleText:`<h1>Riva continues to grow its team</h1> 297 298<p>We're pleased to introduce Fredrik Klingvall, who joins Riva Money as our new Head of Finance.</p> 299 300<p>He brings extensive experience in leading global finance functions and scaling operations in high-growth environments â expertise that will be central to our next phase of growth.</p> 301 302<p>But who is Fredrik beyond the job title?</p> 303 304<p>We asked him four quick questions to help you get to know him better.</p> 305 306<h2>What do you find most exciting about the payments industry right now?</h2> 307 308<p>We're witnessing a wave of innovation that's reshaping the payments landscape. New players are leveraging blockchain technology and stablecoins to challenge incumbents and drive faster, cheaper, and more transparent cross-border transactions.</p> 309 310<h2>Why are you excited to join Riva at this stage?</h2> 311 312<p>I'm joining at a pivotal time â we're gearing up to go live in Q3, and it's exciting to be part of a team shaping the business in real time as we prepare for launch and scale globally.</p> 313 314<h2>What will you be focusing on in your role as Head of Finance?</h2> 315 316<p>I'll be focused on further developing and scaling our financial operations to ensure they are fit for purpose as we expand across new markets and accelerate growth.</p> 317 318<p>And, true to startup life, I'll be wearing many hats â from supporting go-to-market efforts to helping build awareness of Riva in the market.</p> 319 320<h2>And finally, what do you enjoy outside of work?</h2> 321 322<p>I'm curious by nature and I recently read some of the foundational works in economics, which offer great insights into markets and human behavior that still resonate today.</p> 323 324<p>
324Outside of books, I'm an avid traveller. I enjoy immersing myself in new cultures, connecting with people, and observing how different societies use technology in unique ways to solve local challenges.</p> 325 `,date:"August 2025",imagePosition:"before",disabled:!0},{id:"riva-survey",imageUrl:"/home/insights/riva-survey.jpg",category:"Insight",title:"Help Shape the Future of Global B2B Payments",thumbnailText:"Riva Money is solving cross-border payments â help us shape it with your input.",articleText:`<h2>Help Shape the Future of Global B2B Payments</h2> 326 <p>We're building Riva Money to solve the real challenges businesses face when moving money across borders â and we want your input.</p> 327 <p>Share your experiences and priorities in our short survey, and help us design a faster, more transparent, and cost-effective payment solution tailored to your needs.</p> 328 <p>Your voice matters â and your insights will directly shape the features we build.</p> 329 <p><a href="/survey" class="survey-link">Access the survey here.</a></p> 330 `,date:"Jul 2025",imagePosition:"before"},{id:"new-joiner-ayush",imageUrl:"/home/insights/hiring-ayush.jpg",category:"News",title:"Welcome Ayush Shory",thumbnailText:"We're excited to welcome Ayush Shory to the Riva Money sales team!",articleText:` 331 <h1>The Riva team is growing</h1> 332 333<p>As we move closer to launch, we're excited to welcome <strong>Ayush Shory</strong> to our sales team. Ayush brings energy, drive, and a deep interest in how fintech can reshape global payments.</p> 334 335<p>To help you get to know him a little better, we asked him three quick questions.</p> 336 337<h2>What attracted you to join Riva?</h2> 338 339<p>What stood out to me was the opportunity to join at such an early stage and help build something meaningful from the ground up â using smart tech to fix how global payments work. I've personally felt the frustration of slow, expensive international transfers, so the chance to be part of solving that is especially meaningful.</p> 340 341<h2>How would you describe your sales philosophy in one sentence?</h2> 342 343<p>Be curious, listen well, and always aim to bring real value to the conversation â and be honest if you can't.</p> 344 345<h2>What do you enjoy outside of work?</h2> 346 347<p>I unwind by riding my motorbike, shooting hoops, and gaming from time to time.</p> 348 349<p>I also enjoy reading, especially on topics like stoicism, productivity, and innovation in tech.</p> 350 `,date:"July 2025",imagePosition:"before",disabled:!0},{id:"money2020",imageUrl:"/home/insights/money2020.jpeg",category:"Insight",title:"Riva at Money2020",thumbnailText:"Riva Money attended Money 20/20 in Amsterdam and our CEO shared five key takeaways from the eventRiva at Money 20/20: reflections from our CEO.",articleText:` 351 <p>Riva Money recently attended this year's Money 20/20 conference in Amsterdam â one of the most important gatherings for leaders and innovators in the global payments space.</p> 352 353<p>The event made one thing clear: the industry is moving fast, with new players challenging legacy models and innovation accelerating across every layer of the ecosystem.</p> 354 355<p>Here are five reflections from our Co-founder and CEO, Niklas Hoejman, on where things are heading â and what's driving the shift.</p> 356 357<h2>⢠Pressure on legacy cross-border infrastructure</h2> 358 359<p>There is a widespread dissatisfaction with SWIFT-based banking models, especially among SMEs and businesses operating outside Europe. New entrants are leveraging alternative payment rails to disintermediate traditional players.</p> 360 361<h2>⢠Cross-border innovation</h2> 362 363<p>Blockchain and its standout use case, stablecoins, are redrawing the global payments map. New entrants like Riva Money are building faster, cheaper, and more transparent alternatives â while many incumbents remain tied to legacy rails, SWIFT dependencies, and slow-moving correspondent networks.</p> 364 365<h2>⢠FX and transparency</h2> 366 367<p>FX conversion practices are under scrutiny - particularly in remittances where hidden fees and opaque spreads are still common. With customers demanding mid-market rates and upfront pricing, fintechs offering clarity and fairness in FX pricing will stand out in an increasingly regulated and competitive landscape.</p> 368 369<h2>⢠Real-time tracking is increasingly expected</h2> 370 371<p>Visibility into where a payment sits at any point from A to B is becoming a standard requirement. It's not just about speed â it's about enabling more efficient internal operations by reducing time spent chasing payment statuses across institutions and jurisdictions.</p> 372 373<h2>⢠Balancing risk and innovation in onboarding</h2> 374 375<p>In the age of AI, fraud risks in onboarding and identity verification are growing fast â but so are the solutions. Providers are pushing the envelope in real-time verification and fraud detection, making KYC/B and AML both smarter and more user-friendly.</p> 376 `,date:"June 2025",imagePosition:"before"}];var ey=e.i(39312),ev=e.i(47070),eb=e.i(72520),ew=e.i(75254);let ej=(0,ew.default)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}
376]]),eC=(0,ew.default)("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);var eN=e.i(97625);(0,ew.default)("Layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);var ek=e.i(58853);let eF=(0,ew.default)("ShieldCheck",[["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"}]]),eE=(0,ew.default)("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]),eR=(0,ew.default)("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);var eA=e.i(57688),eS=e.i(94125),eT=e.i(89836),eB=e.i(88653);let eD={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1,delayChildren:.1}}},eM={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.5,ease:[.25,.46,.45,.94]}}},eP={hidden:{opacity:0,scale:.95,y:30},visible:{opacity:1,scale:1,y:0,transition:{duration:.6,ease:[.25,.46,.45,.94],delay:.3}}},eI=[{icon:eC,label:"Accounts, FX & Payouts"},{icon:eN.Code2,label:"APIs + Dashboard"},{icon:ev.ArrowDownUp,label:"Platform + Treasury"}],eL=[{icon:eR,label:"~50% Cheaper Than Banks"},{icon:ej,label:"50+ Currencies"},{icon:ey.Zap,label:"Go Live in 24 Hours"}],eH=(0,a.memo)(({amount:e,onAmountChange:t,fromCurrency:a,onFromCurrencyChange:r,toCurrency:i,onToCurrencyChange:s,onQuoteDataChange:o})=>(0,n.jsxs)(eh.motion.div,{className:"flex justify-center lg:justify-end relative",variants:eP,initial:"hidden",animate:"visible",children:[(0,n.jsxs)(eh.motion.div,{className:"absolute inset-0 -inset-x-8 -inset-y-6 pointer-events-none",initial:{opacity:0}
376,animate:{opacity:1},transition:{delay:.5,duration:.8},children:[(0,n.jsx)(eh.motion.div,{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[400px] h-[400px] rounded-full bg-[#2563EB]/8 blur-[60px]",animate:{scale:[1,1.15,1],opacity:[.5,.8,.5]},transition:{duration:4,repeat:1/0,ease:"easeInOut"}}),(0,n.jsx)(eh.motion.div,{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[300px] h-[300px] rounded-full bg-[#3B82F6]/10 blur-[40px]",animate:{scale:[1,1.2,1],opacity:[.4,.7,.4]},transition:{duration:4,repeat:1/0,ease:"easeInOut",delay:.5}}),(0,n.jsx)(eh.motion.div,{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[200px] h-[200px] rounded-full bg-[#60A5FA]/12 blur-[30px]",animate:{scale:[1,1.25,1],opacity:[.3,.6,.3]},transition:{duration:4,repeat:1/0,ease:"easeInOut",delay:1}})]}),(0,n.jsx)("div",{className:"relative z-10",children:(0,n.jsx)(eg,{amount:e,onAmountChange:t,fromCurrency:a,onFromCurrencyChange:r,toCurrency:i,onToCurrencyChange:s,onQuoteDataChange:o})})]}));function eO(){return(0,n.jsxs)(eh.motion.div,{className:"relative w-full lg:max-w-[660px] lg:-ml-8 lg:-mr-14 lg:-translate-y-3",initial:{opacity:0,scale:.96,y:30},animate:{opacity:1,scale:1,y:0},transition:{duration:.6,delay:.25,ease:[.25,.46,.45,.94]},children:[(0,n.jsx)("div",{className:"absolute inset-0 -inset-x-8 -inset-y-8 pointer-events-none",children:(0,n.jsx)(eh.motion.div,{className:"absolute left-[48%] top-[48%] h-[390px] w-[620px] -translate-x-1/2 -translate-y-1/2 rounded-full bg-[#2563EB]/12 blur-[90px]",animate:{scale:[1,1.07,1],opacity:[.42,.68,.42]},transition:{duration:4,repeat:1/0,ease:"easeInOut"}})}),(0,n.jsx)("div",{className:"relative h-[300px] overflow-visible sm:h-[360px] lg:h-[410px]",children:(0,n.jsx)(eA.default,{src:"/home/raas-global-network.svg",alt:"Animated global money movement network",width:920,height:560,
376className:"absolute left-[47%] top-[48%] block h-auto w-[132%] max-w-none -translate-x-1/2 -translate-y-1/2 opacity-100 drop-shadow-[0_28px_52px_rgba(37,99,235,0.16)] [mask-image:radial-gradient(ellipse_at_center,black_62%,transparent_90%)]",unoptimized:!0})})]})}eH.displayName="CalculatorWrapper";let eV=[{name:"Neobank",logo:"neobank",region:"United States",flag:"/flags/us.svg",bar:"w-[72%]"},{name:"Marketplace",logo:"marketplace",region:"European Union",flag:"/flags/eu.svg",bar:"w-[64%]"},{name:"Payroll",logo:"payroll",region:"United Kingdom",flag:"/flags/gb.svg",bar:"w-[78%]"},{name:"B2B SaaS",logo:"saas",region:"India",flag:"/flags/in.svg",bar:"w-[60%]"}],eW=({type:e})=>{let t="flex h-7 w-7 shrink-0 items-center justify-center";return"neobank"===e?(0,n.jsx)("span",{className:t,role:"img","aria-label":"Neobank logo",children:(0,n.jsxs)("svg",{viewBox:"0 0 28 28",className:"h-7 w-7",fill:"none",children:[(0,n.jsx)("path",{d:"M6.4 17.2C8.35 12.45 11.8 9.9 16.8 9.1",stroke:"#2563EB",strokeWidth:"2.8",strokeLinecap:"round"}),(0,n.jsx)("path",{d:"M9.2 18.4C10.8 15.2 13.25 13.5 17.1 13",stroke:"#60A5FA",strokeWidth:"2.4",strokeLinecap:"round"}),(0,n.jsx)("circle",{cx:"19.6",cy:"8.4",r:"3.1",fill:"#10B981"}),(0,n.jsx)("circle",{cx:"19.6",cy:"8.4",r:"1.15",fill:"white",opacity:".9"})]})}):"marketplace"===e?(0,n.jsx)("span",{className:t,role:"img","aria-label":"Marketplace logo",children:(0,n.jsxs)("svg",{viewBox:"0 0 28 28",className:"h-7 w-7",fill:"none",children:[(0,n.jsx)("rect",{x:"5.4",y:"5.6",width:"7",height:"7",rx:"2",fill:"#14B8A6"}),(0,n.jsx)("rect",{x:"15.2",y:"5.6",width:"7",height:"7",rx:"2",fill:"#2DD4BF"}),(0,n.jsx)("rect",{x:"5.4",y:"15.4",width:"7",height:"7",rx:"2",fill:"#5EEAD4"}),(0,n.jsx)("path",{d:"M17.9 15.4H22.2V19.7C22.2 21.45 21.25 22.4 19.5 22.4H15.2V18.1C15.2 16.35 16.15 15.4 17.9 15.4Z",fill:"#F59E0B"}),(0,n.jsx)("path",{d:"M8.9 9.1H9M18.7 9.1H18.8M8.9 18.9H9M18.7 18.9H18.8",stroke:"white",strokeWidth:"1.8",strokeLinecap:"round"})]})}):"payroll"===e?(0,n.jsx)("span",{className:t,role:"img","aria-label":"Payroll logo",children:(0,n.jsxs)("svg",{viewBox:"0 0 28 28",className:"h-7 w-7",fill:"none",children:[(0,n.jsx)("path",{d:"M5.8 16.2C7.8 11.55 11.3 9.25 16.6 9.25H22",stroke:"#7C3AED",strokeWidth:"2.8",strokeLinecap:"round"}),(0,n.jsx)("path",{d:"M6.7 20H20.6",stroke:"#A78BFA",strokeWidth:"2.6",strokeLinecap:"round"}),(0,n.jsx)("circle",{cx:"21.1",cy:"9.25",r:"3",fill:"#FBBF24"}),(0,n.jsx)("path",{d:"M20.05 9.25H22.15",stroke:"#78350F",strokeWidth:"1.35",strokeLinecap:"round"})]})}):(0,n.jsx)("span",{className:t,role:"img","aria-label":"B2B SaaS logo",children:(0,n.jsxs)("svg",{viewBox:"0 0 28 28",className:"h-7 w-7",fill:"none",children:[(0,n.jsx)("path",{d:"M7.1 9.15L14 5.35L20.9 9.15V17.1L14 20.95L7.1 17.1V9.15Z",fill:"#EA580C"}),(0,n.jsx)("path",{d:"M14 12.9L20.9 9.15M14 12.9L7.1 9.15M14 12.9V20.95",stroke:"#FED7AA",strokeWidth:"1.45",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("circle",{cx:"20.6",cy:"20.4",r:"3.05",fill:"#0F172A"}),(0,n.jsx)("path",{d:"M19.4 20.4H21.8",stroke:"white",strokeWidth:"1.35",strokeLinecap:"round"})]})})},e_=[{icon:ek.WalletCards,title:"Multi-currency accounts",description:"Customer-named accounts on local rails and SWIFT.",accent:"text-[#60A5FA]",bg:"bg-[#2563EB]/15"},{icon:ev.ArrowDownUp,title:"FX & conversion",description:"Convert across currencies before you pay out.",accent:"text-[#2DD4BF]",bg:"bg-[#14B8A6]/15"},{icon:ej,title:"Global payouts",description:"Bank, mobile money, and stablecoin rails by market.",accent:"text-[#60A5FA]",bg:"bg-[#2563EB]/15"},{icon:eF,title:"Compliance & KYC",description:"Onboarding, screening, monitoring, and controls.",accent:"text-[#FBBF24]",bg:"bg-[#F59E0B]/15"},{icon:eC,title:"Digital asset rails",description:"Stablecoin on/off-ramp for USDC and USDT.",accent:"text-[#A78BFA]",bg:"bg-[#7C3AED]/15"},{icon:eE,title:"Digital wallets",description:"Custodial and non-custodial wallet primitives.",accent:"text-[#60A5FA]",bg:"bg-[#2563EB]/15"}],eU=[{label:"United States",flag:"/flags/us.svg",lane:0,delay:"0s"},{label:"France",flag:"/flags/fr.svg",lane:0,delay:"1.7s"},{label:"European Union",flag:"/flags/eu.svg",lane:1,delay:".4s"},{label:"Switzerland",flag:"/flags/ch.svg",lane:1,delay:"2.1s"},{label:"United Kingdom",flag:"/flags/gb.svg",lane:2,delay:".8s"},{label:"Singapore",flag:"/flags/sg.svg",lane:2,delay:"2.5s"},{label:"India",flag:"/flags/in.svg",lane:3,delay:"1.2s"},{label:"Nigeria",flag:"/flags/ng.svg",lane:3,delay:"2.9s"}],ez=[{label:"France",flag:"/flags/fr.svg",delay:".1s"},{label:"Brazil",flag:"/flags/br.svg",delay:"1.15s"},{label:"Singapore",flag:"/flags/sg.svg",delay:"2.2s"}],eq=()=>(0,n.jsxs)(eh.motion.div,{className:"relative mx-auto w-full max-w-[1180px]",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.55,ease:[.25,.46,.45,.94]},children:[(0,n.jsx)("style",{children:` 377 @keyframes rivaLane0 { 0%{left:12.03%;top:0%;opacity:0}
377 10%{left:13.09%;top:17.04%;opacity:1} 20%{left:15.98%;top:29.84%} 30%{left:20.23%;top:39.4%} 40%{left:25.39%;top:46.72%} 50%{left:31.02%;top:52.81%} 60%{left:36.63%;top:58.68%} 70%{left:41.8%;top:65.33%} 80%{left:46.05%;top:73.76%} 90%{left:48.94%;top:84.98%;opacity:1} 100%{left:50%;top:100%;opacity:0} } 378 @keyframes rivaLane1 { 0%{left:37.34%;top:0%;opacity:0} 10%{left:37.69%;top:17.25%;opacity:1} 20%{left:38.66%;top:30.56%} 30%{left:40.07%;top:40.82%} 40%{left:41.8%;top:48.88%} 50%{left:43.67%;top:55.63%} 60%{left:45.54%;top:61.92%} 70%{left:47.27%;top:68.64%} 80%{left:48.68%;top:76.64%} 90%{left:49.65%;top:86.81%;opacity:1} 100%{left:50%;top:100%;opacity:0} } 379 @keyframes rivaLane2 { 0%{left:62.66%;top:0%;opacity:0} 10%{left:62.31%;top:17.25%;opacity:1} 20%{left:61.34%;top:30.56%} 30%{left:59.93%;top:40.82%} 40%{left:58.2%;top:48.88%} 50%{left:56.33%;top:55.63%} 60%{left:54.46%;top:61.92%} 70%{left:52.73%;top:68.64%} 80%{left:51.32%;top:76.64%} 90%{left:50.35%;top:86.81%;opacity:1} 100%{left:50%;top:100%;opacity:0} } 380 @keyframes rivaLane3 { 0%{left:87.97%;top:0%;opacity:0} 10%{left:86.91%;top:17.04%;opacity:1} 20%{left:84.02%;top:29.84%} 30%{left:79.77%;top:39.4%} 40%{left:74.61%;top:46.72%} 50%{left:68.98%;top:52.81%} 60%{left:63.37%;top:58.68%} 70%{left:58.2%;top:65.33%} 80%{left:53.95%;top:73.76%} 90%{left:51.06%;top:84.98%;opacity:1} 100%{left:50%;top:100%;opacity:0} } 381 @keyframes rivaDropFlag { 382 0% { top: -8px; opacity: 0; transform: translateX(-50%) scale(.94); } 383 16%, 76% { opacity: 1; } 384 100% { top: 108px; opacity: 0; transform: translateX(-50%) scale(1); } 385 } 386 @keyframes rivaFloatBuild { 387 0%, 100% { transform: translateY(0); } 388 50% { transform: translateY(-3px); } 389 } 390 @keyframes rivaFloatPlatform { 391 0%, 100% { transform: translateY(0); } 392 50% { transform: translateY(-4px); } 393 } 394 @keyframes rivaPulse { 395 0%, 100% { opacity: 1; transform: scale(1); } 396 50% { opacity: .45; transform: scale(.72); } 397 } 398 .riva-flag { transform: translate(-50%, -50%); animation-duration: 3.4s; animation-timing-function: linear; animation-iteration-count: infinite; animation-fill-mode: both; } 399 .riva-lane-0 { animation-name: rivaLane0; } 400 .riva-lane-1 { animation-name: rivaLane1; } 401 .riva-lane-2 { animation-name: rivaLane2; } 402 .riva-lane-3 { animation-name: rivaLane3; } 403 .riva-drop-flag { animation: rivaDropFlag 3.2s linear infinite both; } 404 .riva-build-float { animation: rivaFloatBuild 5.2s ease-in-out infinite; } 405 .riva-platform-float { animation: rivaFloatPlatform 6.4s ease-in-out infinite; } 406 .riva-live-dot { animation: rivaPulse 1.8s ease-in-out infinite; } 407 @media (prefers-reduced-motion: reduce) { 408 .riva-flag, .riva-drop-flag, .riva-build-float, .riva-platform-float, .riva-live-dot { animation: none !important; } 409 .riva-flag, .riva-drop-flag { display: none !important; } 410 } 411 `}),(0,n.jsxs)("div",{className:"overflow-visible",children:[(0,n.jsxs)("div",{className:"mb-3 flex flex-wrap items-center gap-2",children:[(0,n.jsx)("span",{className:"text-[12px] font-bold uppercase tracking-[0.12em] text-[#64748B]",children:"Your products"}),(0,n.jsx)("span",{className:"text-[13px] font-light text-[#94A3B8]",children:"your brand, your UI, your users"})]}),(0,n.jsx)("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-4",children:eV.map((e,t)=>(0,n.jsxs)(eh.motion.div,{className:"rounded-2xl border border-[#E2E8F0] bg-white p-4 shadow-[0_1px_2px_rgba(15,23,42,0.04),0_10px_24px_-20px_rgba(15,23,42,0.24)]",initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.45,delay:.06*t},whileHover:{y:-3},children:[(0,n.jsxs)("div",{className:"mb-4 flex gap-1.5",children:[(0,n.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-[#E2E8F0]"}),(0,n.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-[#E2E8F0]"}),(0,n.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-[#E2E8F0]"})]}),(0,n.jsxs)("div",{className:"mb-3 flex items-center justify-between gap-3",children:[(0,n.jsxs)("div",{className:"flex min-w-0 items-center gap-2.5",children:[(0,n.jsx)(eW,{type:e.logo}),(0,n.jsx)("span",{className:"truncate text-[15px] font-semibold leading-5 text-[#0F172A]",children:e.name})]}),(0,n.jsx)("span",{className:"h-7 w-7 shrink-0 overflow-hidden rounded-full border-2 border-white bg-white shadow-[0_8px_16px_
411-12px_rgba(15,23,42,0.45)]",children:(0,n.jsx)(eA.default,{src:e.flag,alt:`${e.region} flag`,width:28,height:28,className:"h-full w-full object-cover"})})]}),(0,n.jsxs)("div",{className:"space-y-1.5",children:[(0,n.jsx)("div",{className:"h-2 rounded-full bg-[#EFF6FF]"}),(0,n.jsx)("div",{className:`h-2 rounded-full bg-[#E2E8F0] ${e.bar}`})]})]},e.name))}),(0,n.jsxs)("div",{className:"relative hidden h-20 overflow-visible sm:block",children:[(0,n.jsxs)("svg",{viewBox:"0 0 1120 80",preserveAspectRatio:"none",className:"absolute inset-0 h-full w-full",children:[(0,n.jsx)("path",{d:"M134.75 0 C 134.75 52, 560 34, 560 80",fill:"none",stroke:"#CBD5E1",strokeWidth:"1.25",vectorEffect:"non-scaling-stroke"}),(0,n.jsx)("path",{d:"M418.25 0 C 418.25 52, 560 40, 560 80",fill:"none",stroke:"#CBD5E1",strokeWidth:"1.25",vectorEffect:"non-scaling-stroke"}),(0,n.jsx)("path",{d:"M701.75 0 C 701.75 52, 560 40, 560 80",fill:"none",stroke:"#CBD5E1",strokeWidth:"1.25",vectorEffect:"non-scaling-stroke"}),(0,n.jsx)("path",{d:"M985.25 0 C 985.25 52, 560 34, 560 80",fill:"none",stroke:"#CBD5E1",strokeWidth:"1.25",vectorEffect:"non-scaling-stroke"})]}),eU.map(e=>(0,n.jsx)("span",{className:`riva-flag riva-lane-${e.lane} absolute h-[25px] w-[25px] overflow-hidden rounded-full border-2 border-white bg-white shadow-[0_8px_16px_-10px_rgba(15,23,42,0.5)]`,style:{animationDelay:e.delay},children:(0,n.jsx)(eA.default,{src:e.flag,alt:`${e.label} flag`,width:28,height:28,className:"h-full w-full object-cover"})},e.label))]}),(0,n.jsxs)("div",{className:"relative flex flex-col items-center gap-3 pb-[74px]",children:[(0,n.jsx)("div",{className:"pointer-events-none absolute left-1/2 top-8 z-0 hidden h-[144px] w-0.5 -translate-x-1/2 bg-gradient-to-b from-[#CBD5E1] via-[#CBD5E1] to-[#334155] sm:block",children:ez.map(e=>(0,n.jsx)("span",{className:"riva-drop-flag absolute left-1/2 top-0 h-[22px] w-[22px] overflow-hidden rounded-full border-2 border-white bg-white shadow-[0_8px_16px_-10px_rgba(15,23,42,0.5)]",style:{animationDelay:e.delay},children:(0,n.jsx)(eA.default,{src:e.flag,alt:`${e.label} flag`,width:28,height:28,className:"h-full w-full object-cover"})},e.label))}),(0,n.jsx)("span",{className:"relative z-10 bg-white px-3 text-[12px] font-bold uppercase tracking-[0.12em] text-[#64748B]",children:"Two ways to build"}),(0,n.jsxs)("div",{className:"riva-build-float relative z-10 flex w-full max-w-[720px] flex-col gap-2 rounded-2xl border border-[#DBEAFE] bg-white/95 p-2 shadow-[0_16px_34px_-24px_rgba(15,23,42,0.5)] backdrop-blur sm:flex-row sm:items-stretch",children:[(0,n.jsxs)("div",{className:"flex flex-1 items-center gap-3 rounded-xl border border-[#DBEAFE] bg-[#EFF6FF] p-3",children:[(0,n.jsx)("span",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-xl bg-[#2563EB]",children:(0,n.jsx)(eN.Code2,{className:"h-4 w-4 text-white",strokeWidth:2})}),(0,n.jsxs)("span",{children:[(0,n.jsx)("span",{className:"block text-[15px] font-bold leading-5 text-[#0F172A]",children:"One API"}),(0,n.jsx)("span",{className:"block text-[13px] font-light leading-5 text-[#64748B]",children:"Embed Riva inside your product"})]})]}),(0,n.jsx)("div",{className:"flex items-center justify-center px-1 text-[11px] font-bold text-[#94A3B8]",children:"OR"}),(0,n.jsxs)("div",{className:"flex flex-1 items-center gap-3 rounded-xl border border-[#E2E8F0] bg-white p-3",children:[(0,n.jsx)("span",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-xl bg-[#0F172A]",children:(0,n.jsx)(eE,{className:"h-4 w-4 text-white",strokeWidth:2})}),(0,n.jsxs)("span",{children:[(0,n.jsx)("span",{className:"block text-[15px] font-bold leading-5 text-[#0F172A]",children:"Dashboard UI"}),(0,n.jsx)("span",{className:"block text-[13px] font-light leading-5 text-[#64748B]",children:"Operate workflows manually from day one"})]})]})]})]})]}),(0,n.jsxs)("div",{className:"riva-platform-float -mt-8 rounded-[22px] bg-[#0F172A] p-5 shadow-[0_24px_60px_-36px_rgba(15,23,42,0.65)] sm:p-6 lg:p-7",children:[(0,n.jsxs)("div",{className:"mb-5 flex flex-wrap items-center justify-between gap-3",children:[(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsxs)("span",{className:"text-xl font-bold tracking-[-0.02em] text-white",children:["riva",(0,n.jsx)("span",{className:"text-[#2563EB]",children:"."})]}),(0,n.jsx)("span",{className:"text-[12px] font-bold uppercase tracking-[0.14em] text-[#60A5FA]",children:"Platform"})]}),(0,n.jsxs)("span",{className:"inline-flex items-center gap-2 rounded-full border border-[#10B981]/25 bg-[#10B981]/10 px-3 py-1.5",children:[(0,n.jsx)("span",{className:"riva-live-dot h-1.5 w-1.5 rounded-full bg-[#10B981]"}),(0,n.jsx)("span",{className:"text-[11px] font-bold uppercase tracking-[0.08em] text-[#34D399]",children:"Live"})]})]}),(0,n.jsxs)("div",{className:"mb-4 flex flex-col gap-2 rounded-xl border border-[#60A5FA]/15 bg-[#60A5FA]/[0.07] p-4 sm:flex-row sm:items-center sm:gap-3",children:[(0,n.jsx)(ey.Zap,{className:"h-5 w-5 shrink-0 text-[#60A5FA]",strokeWidth:2}),(0,n.jsx)("span",{className:"text-[15px] font-bold leading-5 text-white",children:"Plug-and-play"}),(0,n.jsx)("span",{className:"hidden h-1 w-1 rounded-full bg-[#475569] sm:block"}),(0,n.jsx)("span",{className:"text-[13px] font-light leading-5 text-[#94A3B8]",children:"Switch on only the capabilities you need today. Add more rails as you grow, all on one contract and one integration."})]}),(0,n.jsx)("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",children:e_.map(e=>{let t=e.icon;return(0,n.jsxs)("div",{className:"rounded-2xl border border-white/[0.09] bg-white/[0.05] p-4 transition duration-200 hover:-translate-y-0.5 hover:border-white/[0.16] hover:bg-white/[0.075]",children:[(0,n.jsxs)("div",{className:"mb-2.5 flex items-start justify-between gap-3",children:[(0,n.jsxs)("div",{className:"flex min-w-0 items-center gap-3",children:[(0,n.jsx)("span",{className:`flex h-9 w-9 shrink-0 items-center justify-center rounded-xl ${e.bg}`,children:(0,n.jsx)(t,{className:`h-[17px] w-[17px] ${e.accent}`,strokeWidth:2})}),(0,n.jsx)("h4",{className:"text-[15px] font-bold leading-snug text-white",children:e.title})]}),(0,n.jsx)("span",{className:"mt-1 flex h-[18px] w-8 shrink-0 items-center justify-end rounded-full bg-[#2563EB] p-0.5 shadow-[0_0_10px_rgba(37,99,235,0.35)]",children:(0,n.jsx)("span",{className:"h-3.5 w-3.5 rounded-full bg-white"})})]}),(0,n.jsx)("p",{className:"text-[13px] font-light leading-5 text-[#94A3B8]",children:e.description})]},e.title)})}),(0,n.jsxs)("div",{className:"mt-5 flex flex-wrap items-center gap-x-6 gap-y-2 border-t border-white/[0.08] pt-5",children:[(0,n.jsx)("span",{className:"text-[12px] font-bold uppercase tracking-[0.12em] text-[#64748B]",children:"Dual-rail settlement"}),(0,n.jsxs)("span",{className:"inline-flex items-center gap-2 text-[13px] font-light text-[#CBD5E1]",children:[(0,n.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-[#60A5FA]"}),"Bank rails"]}
411),(0,n.jsxs)("span",{className:"inline-flex items-center gap-2 text-[13px] font-light text-[#CBD5E1]",children:[(0,n.jsx)("span",{className:"riva-live-dot h-1.5 w-1.5 rounded-full bg-[#34D399]"}),"Stablecoin rails"]}),(0,n.jsx)("span",{className:"text-[13px] font-light text-[#94A3B8] lg:ml-auto",children:"37+ countries · 40+ currencies · lower operating cost"})]})]})]}),eZ="bg-[#EFF6FF]",eQ="text-[#3B82F6]",e$="bg-[#EEF2FF]",eK="text-[#6366F1]",eG="bg-[#FAF5FF]",eX="text-[#A855F7]",eY="bg-[#FFF7ED]",eJ="text-[#F97316]",e0="bg-[#ECFEFF]",e1="text-[#06B6D4]",e2=(0,a.memo)(({icon:e,iconBg:t,badgeBg:r,badgeText:i,badge:s,title:o,description:l,graphic:c,className:d=""})=>{let[u,p]=(0,a.useState)(!1),[h,m]=(0,a.useState)(!1),f=(0,a.useRef)(null);(0,a.useEffect)(()=>{let e=()=>{let e="ontouchstart"in window||navigator.maxTouchPoints>0,t=window.innerWidth<1024;m(e&&t)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let g=(0,a.useCallback)(()=>{f.current&&clearTimeout(f.current),p(!0)},[]),x=(0,a.useCallback)(()=>{f.current=setTimeout(()=>{p(!1)},50)},[]);return(0,a.useEffect)(()=>()=>{f.current&&clearTimeout(f.current)},[]),(0,n.jsxs)(eh.motion.div,{className:`bg-[#F9FAFB] border border-[#E5E7EB] rounded-2xl p-6 lg:p-8 flex flex-col h-full ${d}`,initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5},onHoverStart:g,onHoverEnd:x,whileHover:{y:-4,boxShadow:"0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04)",transition:{duration:.2}},children:[(0,n.jsxs)("div",{className:"flex items-start justify-between mb-4",children:[(0,n.jsx)("div",{className:`w-12 h-12 ${t} rounded-xl flex items-center justify-center`,children:e}),(0,n.jsx)("span",{className:`px-3 py-1.5 ${r} rounded-full text-[10px] font-bold ${i} uppercase tracking-wide`,children:s})]}),(0,n.jsx)("h3",{className:"text-lg font-bold text-neutral-900 mb-2",children:o}),(0,n.jsx)("p",{className:"text-sm text-neutral-600 leading-relaxed mb-4",children:l}),c&&(0,n.jsx)("div",{children:"function"==typeof c?c(h||u):c})]})});e2.displayName="FeatureCard";let e5=({name:e,logo:t,needsBackground:a=!1})=>(0,n.jsxs)("div",{className:"bg-[rgba(31,41,55,0.5)] border border-[#374151] rounded-lg px-4 py-2 flex items-center gap-2.5",children:[(0,n.jsx)(eA.default,{src:t,alt:e,width:20,height:20,className:"w-5 h-5 object-contain"}),(0,n.jsx)("span",{className:"text-sm font-semibold text-[#E5E7EB]",children:e})]}),e3=({isHovered:e})=>{let[t,r]=(0,a.useState)(!0);(0,a.useEffect)(()=>{if(!e)return void r(!0);let t=setInterval(()=>{r(e=>!e)},2500);return()=>clearInterval(t)},[e]);let i=e&&t;return(0,n.jsxs)("div",{className:"bg-white border border-[#F3F4F6] rounded-lg shadow-sm",children:[(0,n.jsx)("div",{className:"px-3 py-2 border-b border-[#F3F4F6]",children:(0,n.jsx)("span",{className:"text-xs font-semibold text-neutral-500",children:"Switch Company"})}),(0,n.jsxs)("div",{className:"px-3 pt-3 pb-4 relative h-[104px]",children:[(0,n.jsxs)(eh.motion.div,{className:"absolute left-3 right-3 bg-[#F9FAFB] border rounded-lg px-3 py-2 flex items-center justify-between",animate:{y:48*!!i,backgroundColor:i?"#F9FAFB":"#EFF6FF",borderColor:i?"#E5E7EB":"#DBEAFE",opacity:i?.5:1},transition:{duration:.35,ease:"easeInOut"},children:[(0,n.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,n.jsx)("div",{className:"w-6 h-6 rounded-md overflow-hidden flex items-center justify-center",children:(0,n.jsx)(eA.default,{src:"/home/riva-logo-product.png",alt:"Riva",width:24,height:24,className:"object-contain"})}),(0,n.jsx)("span",{className:"text-xs font-semibold text-[#0F172A]",children:"Riva UK Ltd"})]}),(0,n.jsx)(eh.motion.span,{className:"text-[9px] font-semibold text-green-600 bg-green-50 px-2 py-0.5 rounded-full",animate:{opacity:+!i},transition:{duration:.2},children:"Active"})]}),(0,n.jsxs)(eh.motion.div,{className:"absolute left-3 right-3 border rounded-lg px-3 py-2 flex items-center justify-between",animate:{y:48*!i,backgroundColor:i?"#EFF6FF":"transparent",borderColor:i?"#DBEAFE":"#F3F4F6",opacity:i?1:.5},transition:{duration:.35,ease:"easeInOut"},children:[(0,n.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,n.jsx)("div",{className:"w-6 h-6 rounded-md overflow-hidden flex items-center justify-center",children:(0,n.jsx)(eA.default,{src:"/home/riva-black-logo.png",alt:"Riva EU",width:24,height:24,className:"object-contain"})}),(0,n.jsx)("span",{className:"text-xs font-semibold text-[#0F172A]",children:"Riva EU GmbH"})]}),(0,n.jsx)(eh.motion.span,{className:"text-[9px] font-semibold text-green-600 bg-green-50 px-2 py-0.5 rounded-full",animate:{o
411pacity:+!!i},transition:{duration:.2},children:"Active"})]})]})]})},e6=({isHovered:e})=>{let[t,r]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{if(!e)return void r(!1);let t=setTimeout(()=>r(!0),300),n=setInterval(()=>{r(e=>!e)},2500);return()=>{clearTimeout(t),clearInterval(n)}},[e]),(0,n.jsxs)("div",{className:"bg-white border border-[#F3F4F6] rounded-lg shadow-sm",children:[(0,n.jsx)("div",{className:"px-3 py-2 border-b border-[#F3F4F6]",children:(0,n.jsx)("span",{className:"text-xs font-semibold text-neutral-500",children:"Team Members"})}),(0,n.jsxs)("div",{className:"p-3 pb-2",children:[(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)("div",{className:"flex -space-x-3",children:["/home/person1.png","/home/person2.png","/home/person3.png"].map((e,t)=>(0,n.jsx)("div",{className:"w-10 h-10 rounded-full border-[3px] border-white overflow-hidden relative",style:{zIndex:4-t},children:(0,n.jsx)(eA.default,{src:e,alt:"Team member",width:40,height:40,className:"w-full h-full object-cover"})},t))}),(0,n.jsx)(eh.motion.div,{className:"w-10 h-10 rounded-full border-[3px] border-white overflow-hidden relative",style:{zIndex:1},initial:!1,animate:{marginLeft:t?-12:-40,opacity:+!!t,scale:t?1:.8},transition:{duration:.3,ease:"easeOut"},children:(0,n.jsx)(eA.default,{src:"/home/person4.png",alt:"New team member",width:40,height:40,className:"w-full h-full object-cover"})}),(0,n.jsx)(eh.motion.div,{className:"w-10 h-10 rounded-full bg-[#F3F4F6] border-[3px] border-white flex items-center justify-center",style:{zIndex:0},initial:!1,animate:{marginLeft:-12},transition:{duration:.3,ease:"easeOut"},children:(0,n.jsx)("span",{className:"text-xs font-semibold text-[#4B5563]",children:"+4"})})]}),(0,n.jsxs)(eh.motion.div,{className:"mt-2 flex items-center gap-1.5",initial:{opacity:0,y:5},animate:{opacity:+!!t,y:5*!t},transition:{duration:.2},children:[(0,n.jsx)("div",{className:"w-1.5 h-1.5 bg-green-500 rounded-full"}),(0,n.jsx)("span",{className:"text-[10px] text-green-600 font-medium",children:"View access granted"})]})]})]})},e4=({isHovered:e})=>{let[t,r]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{if(!e)return void r(!1);let t=setTimeout(()=>r(!0),300),n=setInterval(()=>{r(e=>!e)},2500);return()=>{clearTimeout(t),clearInterval(n)}},[e]),(0,n.jsxs)("div",{className:"bg-white border border-[#F3F4F6] rounded-lg shadow-sm",children:[(0,n.jsxs)("div",{className:"px-3 py-2 border-b border-[#F3F4F6] flex items-center justify-between",children:[(0,n.jsx)("span",{className:"text-xs font-semibold text-neutral-500",children:"Balances"}),(0,n.jsxs)(eh.motion.div,{className:"flex items-center gap-1",initial:{opacity:0}
411,animate:{opacity:+!!t},transition:{duration:.2},children:[(0,n.jsx)("div",{className:"w-1.5 h-1.5 bg-green-500 rounded-full"}),(0,n.jsx)("span",{className:"text-[9px] text-green-600 font-medium",children:"Live"})]})]}),(0,n.jsx)("div",{className:"p-3",children:(0,n.jsx)("div",{className:"flex items-center gap-2",children:[{code:"EUR",baseAmount:78e3,flag:"/flags/eu.svg",symbol:"â¬"},{code:"USD",baseAmount:58e3,flag:"/flags/us.svg",symbol:"$"},{code:"GBP",baseAmount:45e3,flag:"/flags/gb.svg",symbol:"£"}].map((e,a)=>(0,n.jsxs)(eh.motion.div,{className:"bg-[#F9FAFB] rounded-md p-2 flex-1 min-w-[65px] border border-[#E5E7EB] relative overflow-hidden",animate:{borderColor:t?"#10B981":"#E5E7EB",backgroundColor:t?"rgba(16, 185, 129, 0.05)":"#F9FAFB"},transition:{duration:.25,ease:"easeOut",delay:.05*a},children:[(0,n.jsxs)("div",{className:"flex items-center gap-1.5 mb-1",children:[(0,n.jsx)(eA.default,{src:e.flag,alt:e.code,width:14,height:10,className:"rounded-[2px] object-cover"}),(0,n.jsx)("span",{className:"text-[10px] font-semibold text-neutral-500",children:e.code})]}),(0,n.jsxs)(eh.motion.p,{className:"text-[11px] font-bold text-neutral-900",animate:{color:t?"#10B981":"#0F172A"},transition:{duration:.25,ease:"easeOut",delay:.05*a},children:[e.symbol,(e.baseAmount+(t?1250*(a+1):0)).toLocaleString()]}),(0,n.jsx)(eh.motion.div,{className:"absolute top-1 right-1 text-green-500",initial:{opacity:0,y:5},animate:{opacity:+!!t,y:5*!t},transition:{duration:.2,ease:"easeOut",delay:.05*a},children:(0,n.jsx)("svg",{className:"w-3 h-3",fill:"currentColor",viewBox:"0 0 20 20",children:(0,n.jsx)("path",{fillRule:"evenodd",d:"M5.293 7.707a1 1 0 010-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 01-1.414 1.414L11 5.414V17a1 1 0 11-2 0V5.414L6.707 7.707a1 1 0 01-1.414 0z",clipRule:"evenodd"})})})]},e.code))})})]})},e8=({isHovered:e})=>{let[t,r]=(0,a.useState)(0);(0,a.useEffect)(()=>{if(!e)return void r(0);let t=setInterval(()=>{r(e=>(e+1)%5)},1e3);return()=>clearInterval(t)},[e]);let i={pending:{bg:"#F8FAFC",border:"#E2E8F0",text:"#94A3B8"},active:{bg:"#EEF2FF",border:"#A5B4FC",text:"#6366F1"},complete:{bg:"#F0FDF4",border:"#86EFAC",text:"#22C55E"}};return(0,n.jsxs)("div",{className:"lg:w-[280px] bg-white border border-[#F3F4F6] rounded-xl p-4 shadow-sm flex-shrink-0 overflow-hidden",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between mb-3 pb-3 border-b border-[#F3F4F6]",children:[(0,n.jsx)(eh.motion.span,{className:"text-xs font-semibold",animate:{color:e&&4===t?"#22C55E":"#0F172A"},transition:{duration:.2},children:e&&4===t?"All Payments Sent â":"Review Payments"}),(0,n.jsx)("span",{className:"text-[10px] text-neutral-400 font-medium",children:"1,350 selected"})]}),(0,n.jsxs)(eh.motion.div,{className:"space-y-2 mb-4",animate:{opacity:+!e,height:e?0:"auto",marginBottom:16*!e},transition:{duration:.3,ease:"easeOut"},children:[(0,n.jsx)("div",{className:"h-2 bg-[#F3F4F6] rounded-full w-full"}),(0,n.jsx)("div",{className:"h-2 bg-[#F3F4F6] rounded-full w-4/5"}),(0,n.jsx)("div",{className:"h-2 bg-[#F3F4F6] rounded-full w-3/5"})]}),(0,n.jsx)(eh.motion.div,{className:"mb-4",animate:{opacity:+!!e,height:e?"auto":0,marginBottom:16*!!e},transition:{duration:.3,ease:"easeOut"},children:(0,n.jsx)("div",{className:"flex items-center justify-between",children:[{id:"import",label:"Import"},{id:"validate",label:"Validate"},{id:"approve",label:"Approve"},{id:"send",label:"Send"}].map((a,r)=>{let s=e?4===t||r<t?"complete":r===t?"active":"pending":"pending",o=i[s];return(0,n.jsxs)("div",{className:"flex flex-col items-center flex-1",children:[(0,n.jsx)("div",{className:"flex items-center w-full",children:(0,n.jsxs)(eh.motion.div,{className:"w-7 h-7 rounded-full flex items-center justify-center flex-shrink-0 mx-auto relative",animate:{backgroundColor:o.bg,borderColor:o.border,scale:"active"===s?1.1:1},transition:{duration:.25,ease:"easeOut"},style:{border:"2px solid"},children:["complete"===s?(0,n.jsx)(eh.motion.svg,{className:"w-3.5 h-3.5",fill:"none",viewBox:"0 0 24 24",stroke:o.text,initial:{scale:0,opacity:0},animate:{scale:1,opacity:1},transition:{duration:.2,ease:"easeOut"},children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M5 13l4 4L19 7"})}):(0,n.jsx)(eh.motion.span,{className:"text-[10px] font-bold",animate:{color:o.text},transition:{duration:.2},children:r+1}),"active"===s&&(0,n.jsx)(eh.motion.div,{className:"absolute inset-0 rounded-full",style:{border:`2px solid ${o.border}`},animate:{scale:[1,1.4],opacity:[.5,0]},transition:{duration:1,repeat:1/0,ease:"easeOut"}})]})}),(0,n.jsx)(eh.motion.span,{className:"text-[9px] font-medium mt
411-1.5",animate:{color:o.text},transition:{duration:.2,ease:"easeOut"},children:a.label})]},a.id)})})}),(0,n.jsxs)("div",{className:"space-y-1.5",children:[(0,n.jsxs)("div",{className:"flex justify-between text-[10px]",children:[(0,n.jsx)(eh.motion.span,{className:"font-medium",animate:{color:e&&4===t?"#22C55E":"#64748B"},transition:{duration:.2},children:e&&4===t?"Disbursed to 47 countries":e?"Processing...":"Ready to send"}),(0,n.jsx)(eh.motion.span,{className:"font-bold",animate:{color:e&&4===t?"#22C55E":"#6366F1"},transition:{duration:.2},children:e?`${4===t?100:(t+1)*25}%`:"0%"})]}),(0,n.jsx)("div",{className:"h-1.5 bg-[#F1F5F9] rounded-full overflow-hidden",children:(0,n.jsx)(eh.motion.div,{className:"h-full rounded-full",animate:{width:e?`${4===t?100:(t+1)*25}%`:"0%",backgroundColor:e&&4===t?"#86EFAC":"#A5B4FC"},transition:{duration:.3,ease:"easeOut"}})})]})]})},e7=({isHovered:e})=>(0,n.jsxs)(eh.motion.div,{className:"bg-white border-2 border-dashed rounded-lg p-4 flex flex-col items-center justify-center h-20 relative overflow-hidden",animate:{borderColor:e?"#F97316":"#E5E7EB",backgroundColor:e?"#FFF7ED":"#FFFFFF"},children:[(0,n.jsx)(eh.motion.div,{className:"absolute left-0 right-0 h-0.5 bg-gradient-to-r from-transparent via-orange-400 to-transparent",initial:{top:0,opacity:0},animate:{top:e?["0%","100%","0%"]:"0%",opacity:+!!e},transition:{duration:1.5,repeat:e?1/0:0,ease:"linear"}}),(0,n.jsx)(eh.motion.div,{animate:{y:e?-5:0,scale:e?1.1:1},transition:{duration:.2},children:e?(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"#F97316",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"mb-1",children:[(0,n.jsx)("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),(0,n.jsx)("polyline",{points:"14,2 14,8 20,8"}),(0,n.jsx)("line",{x1:"16",y1:"13",x2:"8",y2:"13"}),(0,n.jsx)("line",{x1:"16",y1:"17",x2:"8",y2:"17"}),(0,n.jsx)("line",{x1:"10",y1:"9",x2:"8",y2:"9"})]}):(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"14",viewBox:"0 0 17 12",fill:"none",className:"mb-1",children:(0,n.jsx)("path",{d:"M4.125 12C2.9875 12 2.01562 11.6062 1.20938 10.8187C0.403125 10.0312 0 9.06875 0 7.93125C0 6.95625 0.29375 6.0875 0.88125 5.325C1.46875 4.5625 2.2375 4.075 3.1875 3.8625C3.5 2.7125 4.125 1.78125 5.0625 1.06875C6 0.35625 7.0625 0 8.25 0C9.7125 0 10.9531 0.509375 11.9719 1.52812C12.9906 2.54688 13.5 3.7875 13.5 5.25C14.3625 5.35 15.0781 5.72187 15.6469 6.36562C16.2156 7.00937 16.5 7.7625 16.5 8.625C16.5 9.5625 16.1719 10.3594 15.5156 11.0156C14.8594 11.6719 14.0625 12 13.125 12H9C8.5875 12 8.23438 11.8531 7.94063 11.5594C7.64688 11.2656 7.5 10.9125 7.5 10.5V6.6375L6.3 7.8L5.25 6.75L8.25 3.75L11.25 6.75L10.2 7.8L9 6.6375V10.5H13.125C13.65 10.5 14.0938 10.3187 14.4563 9.95625C14.8188 9.59375 15 9.15 15 8.625C15 8.1 14.8188 7.65625 14.4563 7.29375C14.0938 6.93125 13.65 6.75 13.125 6.75H12V5.25C12 4.2125 11.6344 3.32812 10.9031 2.59687C10.1719 1.86562 9.2875 1.5 8.25 1.5C7.2125 1.5 6.32813 1.86562 5.59688 2.59687C4.86563 3.32812 4.5 4.2125 4.5 5.25H4.125C3.4 5.25 2.78125 5.50625 2.26875 6.01875C1.75625 6.53125 1.5 7.15 1.5 7.875C1.5 8.6 1.75625 9.21875 2.26875 9.73125C2.78125 10.2437 3.4 10.5 4.125 10.5H6V12H4.125Z",fill:"#9CA3AF"})})}),(0,n.jsx)(eh.motion.span,{className:"text-[10px]",animate:{color:e?"#F97316":"#9CA3AF"},children:e?"Parsing invoice data...":"Drop invoices here"})]}),e9=({isHovered:e})=>{let[t,r]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{if(!e)return void r(!1);let t=setTimeout(()=>r(!0),300),n=setInterval(()=>{r(e=>!e)},2500);return()=>{clearTimeout(t),clearInterval(n)}},[e]),(0,n.jsxs)("div",{className:"bg-white border border-[#F3F4F6] rounded-xl p-4 shadow-sm",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between mb-3 pb-3 border-b border-[#F3F4F6]",children:[(0,n.jsx)("span",{className:"text-xs font-semibold text-neutral-500",children:"Unified View"}),(0,n.jsxs)(eh.motion.div,{className:"flex items-center gap-1.5",initial:{opacity:0}
411,animate:{opacity:+!!t},transition:{duration:.2},children:[(0,n.jsx)(eh.motion.div,{animate:{rotate:360*!!t},transition:{duration:1,repeat:t?1/0:0,ease:"linear"},children:(0,n.jsx)(ev.ArrowDownUp,{className:"w-3.5 h-3.5 text-cyan-500"})}),(0,n.jsx)("span",{className:"text-[9px] text-cyan-600 font-medium",children:"Syncing"})]})]}),(0,n.jsxs)("div",{className:"relative h-[168px]",children:[(0,n.jsxs)(eh.motion.div,{className:"absolute left-0 right-0 border rounded-lg p-2.5 flex items-center justify-between",animate:{y:56*!t,borderColor:t?"#0E7490":"#F3F4F6",backgroundColor:t?"rgba(14, 116, 144, 0.05)":"transparent"},transition:{duration:.35,ease:"easeInOut"},children:[(0,n.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,n.jsx)("div",{className:"w-6 h-6 rounded-md overflow-hidden flex items-center justify-center",children:(0,n.jsx)(eA.default,{src:"/home/hsbc-logo-product.png",alt:"HSBC",width:24,height:24,className:"object-contain"})}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)("p",{className:"text-xs font-bold text-neutral-900",children:"HSBC UK"}),(0,n.jsx)(eh.motion.span,{className:"w-1.5 h-1.5 rounded-full",animate:{backgroundColor:t?"#06B6D4":"#22C55E"},transition:{duration:.2}})]}),(0,n.jsx)(eh.motion.p,{className:"text-[9px] text-neutral-500",animate:{color:t?"#0E7490":"#6B7280"},children:t?"Syncing...":"Connected ⢠Open Banking"})]})]}),(0,n.jsx)("span",{className:"text-xs font-bold text-neutral-900",children:"£124,050"})]}),(0,n.jsxs)(eh.motion.div,{className:"absolute left-0 right-0 bg-[#F9FAFB] border border-[#E5E7EB] rounded-lg p-2.5 flex items-center justify-between",animate:{y:56*!!t,borderColor:"#E5E7EB",backgroundColor:"#F9FAFB"},transition:{duration:.35,ease:"easeInOut"},children:[(0,n.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,n.jsx)("div",{className:"w-6 h-6 rounded-md overflow-hidden flex items-center justify-center",children:(0,n.jsx)(eA.default,{src:"/home/riva-logo-product.png",alt:"Riva",width:24,height:24,className:"object-contain"})}),(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"text-xs font-bold text-neutral-900",children:"Riva EUR Account"}),(0,n.jsx)("p",{className:"text-[9px] text-neutral-500",children:"Internal"})]})]}),(0,n.jsxs)(eh.motion.span,{className:"text-xs font-bold",animate:{color:e?"#10B981":"#0F172A"},transition:{duration:.3,ease:"easeInOut"},children:["â¬",e?"86,670":"85,420"]})]}),(0,n.jsxs)(eh.motion.div,{className:"absolute left-0 right-0 border border-[#F3F4F6] rounded-lg p-2.5 flex items-center justify-between",style:{top:112},animate:{opacity:e?1:.6},transition:{duration:.3,ease:"easeInOut"},children:[(0,n.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,n.jsx)("div",{className:"w-6 h-6 rounded-md overflow-hidden flex items-center justify-center",children:(0,n.jsx)(eA.default,{src:"/home/santander-logo-product.png",alt:"Santander",width:24,height:24,className:"object-contain"})}),(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"text-xs font-bold text-neutral-900",children:"Santander"}),(0,n.jsx)("p",{className:"text-[9px] text-neutral-500",children:"Connected ⢠Open Banking"})]})]}),(0,n.jsx)("span",{className:"text-xs font-bold text-neutral-900",children:"â¬32,100"})]})]})]})},te=()=>{let[e,t]=(0,a.useState)(!1),r=(0,a.useRef)(null),i=(0,a.useCallback)(()=>{r.current&&clearTimeout(r.current),t(!0)},[]),s=(0,a.useCallback)(()=>{r.current=setTimeout(()=>t(!1),50)},[]);return(0,a.useEffect)(()=>()=>{r.current&&clearTimeout(r.current)},[]),(0,n.jsxs)(eh.motion.div,{className:"bg-[#F9FAFB] border border-[#E5E7EB] rounded-2xl p-6 lg:p-8",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5},onHoverStart:i,onHoverEnd:s,whileHover:{y:-4,boxShadow:"0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04)",transition:{duration:.2}},children:[(0,n.jsxs)("div",{className:"flex items-start justify-between mb-4",children:[(0,n.jsx)("div",{className:"w-12 h-12 bg-[#F0FDFA] rounded-xl flex items-center justify-center",children:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"28",viewBox:"0 0 24 28",fill:"none",children:(0,n.jsx)("path",{d:"M3.25 17.8889V15.9444H11.0278V17.8889H3.25ZM3.25 14V12.0555H14.9167V14H3.25ZM3.25 10.1111V8.16665H14.9167V10.1111H3.25ZM16.2292 20.8055L12.7778 17.3542L14.1389 15.993L16.2292 18.0347L20.3611 13.9028L21.7222 15.3125L16.2292 20.8055Z",fill:"#14B8A6"})})}),(0,n.jsx)("span",{className:"px-3 py-1.5 bg-[#F0FDFA] rounded-full text-[10px] font-bold text-[#14B8A6] uppercase tracking-wide",children:"Efficiency"})]}),(0,n.jsxs)("div",{className:"flex flex-col lg:flex-row lg:items-start gap-6",children:[(0,n.jsxs)("div",{className:"flex-1",children:[(0,n.jsx)("h3",{className:"text-lg font-bold text-neutral-900 mb
411-2",children:"Bulk Transfers (1000+ Payments)"}),(0,n.jsx)("p",{className:"text-sm text-neutral-600 leading-relaxed mb-4",children:"Execute massive payroll or vendor runs in one go. Upload CSV/XML/8+ formats, validate instantly, and approve in a single click. Zero errors."}),(0,n.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,n.jsxs)("span",{className:"inline-flex items-center gap-1.5 px-3 py-1 bg-white border border-[#E5E7EB] rounded-lg text-xs text-neutral-600",children:[(0,n.jsx)(ey.Zap,{className:"w-3.5 h-3.5 text-[#3B82F6]"}),"8+ File Formats"]}),(0,n.jsxs)("span",{className:"inline-flex items-center gap-1.5 px-3 py-1 bg-white border border-[#E5E7EB] rounded-lg text-xs text-neutral-600",children:[(0,n.jsx)(ey.Zap,{className:"w-3.5 h-3.5 text-[#3B82F6]"}),"6+ Accounting, ERP & Payroll Integrations"]})]})]}),(0,n.jsx)(e8,{isHovered:e})]})]})},tt=({isHovered:e})=>{let[t,r]=(0,a.useState)(0),i=["send","receive","earn","convert"];(0,a.useEffect)(()=>{if(e){let e=setInterval(()=>{r(e=>(e+1)%i.length)},1200);return()=>clearInterval(e)}r(0)},[e]);let s=(()=>{switch(i[t]){case"send":return{label:"Sent",amount:"250 USDC",bgColor:"#FFF7ED",iconBg:"#FFEDD5",textColor:"#EA580C"};case"receive":return{label:"Received",amount:"500 USDC",bgColor:"#EFF6FF",iconBg:"#DBEAFE",textColor:"#2563EB"};case"earn":return{label:"Earned Yield",amount:"+12.50 USD",bgColor:"#ECFDF5",iconBg:"#D1FAE5",textColor:"#059669"};case"convert":return{label:"Converted",amount:"500 EUR â USDC",bgColor:"#F5F3FF",iconBg:"#EDE9FE",textColor:"#7C3AED"};default:return{label:"",amount:"",bgColor:"#F9FAFB",iconBg:"#F3F4F6",textColor:"#6B7280"}}})();return(0,n.jsxs)("div",{className:"bg-white border border-[#F3F4F6] rounded-xl p-4 shadow-sm",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between mb-3 pb-3 border-b border-[#F3F4F6]",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)(eA.default,{src:"/home/usdc-logo.svg",alt:"USDC",width:24,height:24,className:"object-contain"}),(0,n.jsx)("span",{className:"text-xs font-bold text-neutral-700",children:"USDC Wallet"})]}),(0,n.jsx)("span",{className:"text-xs text-neutral-400 font-mono",children:"0x...8a21"})]}),(0,n.jsxs)("div",{className:"flex justify-between items-start mb-3",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(eh.motion.p,{className:"text-xl font-bold",animate:{color:e?"#059669":"#0F172A"},transition:{duration:.4,ease:[.4,0,.2,1]},children:e?"45,730.50":"45,230.50"}),(0,n.jsx)("p",{className:"text-[10px] text-neutral-500",children:"Available Balance"})]}),(0,n.jsxs)("div",{className:"text-right",children:[(0,n.jsx)("p",{className:"text-xs font-bold text-green-500",children:"+5.4%"}),(0,n.jsx)("p",{className:"text-[10px] text-neutral-400",children:"Yield (APY)"})]})]}),(0,n.jsx)(eh.motion.div,{className:"rounded-lg overflow-hidden",initial:!1,animate:{height:48*!!e,opacity:+!!e,marginBottom:12*!!e,backgroundColor:s.bgColor},transition:{duration:.4,ease:[.4,0,.2,1],backgroundColor:{duration:.3}},children:(0,n.jsxs)("div",{className:"px-3 py-2.5 flex items-center justify-between h-full",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,n.jsx)(eh.motion.div,{className:"w-6 h-6 rounded-full flex items-center justify-center",animate:{backgroundColor:s.iconBg},transition:{duration:.3,ease:[.4,0,.2,1]},children:(0,n.jsx)(eh.motion.svg,{className:"w-3 h-3",fill:"none",viewBox:"0 0 24 24",animate:{stroke:s.textColor},transition:{duration:.3},children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M5 13l4 4L19 7"})})}),(0,n.jsx)(eh.motion.span,{className:"text-[11px] font-semibold",animate:{color:s.textColor},transition:{duration:.3},children:s.label})]}),(0,n.jsx)(eh.motion.span,{className:"text-xs font-bold",animate:{color:s.textColor},transition:{duration:.3},children:s.amount})]})}),(0,n.jsxs)("div",{className:"flex justify-around border-t border-[#F3F4F6] pt-4",children:[(0,n.jsxs)("div",{className:"flex flex-col items-center gap-1.5",children:[(0,n.jsx)(eh.motion.div,{className:"w-10 h-10 rounded-full flex items-center justify-center",animate:{backgroundColor:e&&"send"===i[t]?"#FFEDD5":"#F3F4F6"},transition:{duration:.4,ease:[.4,0,.2,1]},children:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 19 23",fill:"none",children:(0,n.jsx)(eh.motion.path,{d:"M8.59738 17.2179V7.85949L4.29291 12.164L3.2168 11.0686L9.36603 4.91939L15.5153 11.0686L14.4391 12.164L10.1347 7.85949V17.2179H8.59738Z",animate:{fill:e&&"send"===i[t]?"#EA580C":"#9CA3AF"},transition:{duration:.3}})})}),(0,n.jsx)(eh.motion.span,{className:"text-[10px] font-medium",animate:{color:e&&"send"===i[t]?"#EA580C":"#6
411B7280"},transition:{duration:.3},children:"Send"})]}),(0,n.jsxs)("div",{className:"flex flex-col items-center gap-1.5",children:[(0,n.jsx)(eh.motion.div,{className:"w-10 h-10 rounded-full flex items-center justify-center",animate:{backgroundColor:e&&"receive"===i[t]?"#DBEAFE":"#F3F4F6"},transition:{duration:.4,ease:[.4,0,.2,1]},children:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 19 23",fill:"none",children:(0,n.jsx)(eh.motion.path,{d:"M8.59738 4.91939V14.2778L4.29291 9.97329L3.2168 11.0686L9.36603 17.2179L15.5153 11.0686L14.4391 9.97329L10.1347 14.2778V4.91939H8.59738Z",animate:{fill:e&&"receive"===i[t]?"#2563EB":"#9CA3AF"},transition:{duration:.3}})})}),(0,n.jsx)(eh.motion.span,{className:"text-[10px] font-medium",animate:{color:e&&"receive"===i[t]?"#2563EB":"#6B7280"},transition:{duration:.3},children:"Receive"})]}),(0,n.jsxs)("div",{className:"flex flex-col items-center gap-1.5",children:[(0,n.jsx)(eh.motion.div,{className:"w-10 h-10 rounded-full flex items-center justify-center",animate:{backgroundColor:e&&"earn"===i[t]?"#D1FAE5":"#F3F4F6"},transition:{duration:.4,ease:[.4,0,.2,1]},children:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"19",height:"23",viewBox:"0 0 19 23",fill:"none",children:(0,n.jsx)(eh.motion.path,{d:"M12.4408 10.3C12.6586 10.3 12.8412 10.2263 12.9885 10.079C13.1358 9.93166 13.2095 9.74911 13.2095 9.53132C13.2095 9.31354 13.1358 9.13098 12.9885 8.98366C12.8412 8.83633 12.6586 8.76267 12.4408 8.76267C12.2231 8.76267 12.0405 8.83633 11.8932 8.98366C11.7459 9.13098 11.6722 9.31354 11.6722 9.53132C11.6722 9.74911 11.7459 9.93166 11.8932 10.079C12.0405 10.2263 12.2231 10.3 12.4408 10.3ZM6.29161 8.76267H10.1349V7.22536H6.29161V8.76267ZM3.60132 17.9865C3.16575 16.5261 2.73659 15.0688 2.31383 13.6148C1.89107 12.1608 1.67969 10.6715 1.67969 9.14699C1.67969 7.96839 2.08964 6.96914 2.90953 6.14924C3.72943 5.32934 4.72868 4.9194 5.90729 4.9194H9.75056C10.1221 4.43258 10.5737 4.05466 11.1053 3.78563C11.637 3.5166 12.2103 3.38209 12.8252 3.38209C13.1454 3.38209 13.4177 3.49418
41113.6419 3.71837C13.8661 3.94256 13.9782 4.2148 13.9782 4.53507C13.9782 4.61193 13.9685 4.6888 13.9493 4.76567C13.9301 4.84253 13.9077 4.91299 13.8821 4.97705C13.8308 5.11797 13.7828 5.26209 13.738 5.40941C13.6931 5.55674 13.6579 5.70727 13.6323 5.861L15.381 7.60969H17.0528V12.971L14.8813 13.6821L13.5938 17.9865H9.36623V16.4492H7.82892V17.9865H3.60132ZM4.7543 16.4492H6.29161V14.9119H10.9035V16.4492H12.4408L13.6323 12.4906L15.5155 11.8565V9.14699H14.7468L12.0565 6.45671C12.0565 6.20049 12.0725 5.95388 12.1046 5.71688C12.1366 5.47987 12.1846 5.23967 12.2487 4.99626C11.8772 5.09875 11.5505 5.2749 11.2687 5.52471C10.9868 5.77452 10.7818 6.08519 10.6537 6.45671H5.90729C5.16425 6.45671 4.53011 6.71933 4.00487 7.24458C3.47962 7.76982 3.217 8.40396 3.217 9.14699C3.217 10.4025 3.38994 11.6291 3.73584 12.8269C4.08173 14.0247 4.42122 15.2322 4.7543 16.4492Z",animate:{fill:e&&"earn"===i[t]?"#059669":"#9CA3AF"},transition:{duration:.3}})})}),(0,n.jsx)(eh.motion.span,{className:"text-[10px] font-medium",animate:{color:e&&"earn"===i[t]?"#059669":"#6B7280"},transition:{duration:.3},children:"Earn"})]}),(0,n.jsxs)("div",{className:"flex flex-col items-center gap-1.5",children:[(0,n.jsx)(eh.motion.div,{className:"w-10 h-10 rounded-full flex items-center justify-center",animate:{backgroundColor:e&&"convert"===i[t]?"#EDE9FE":"#F3F4F6"},transition:{duration:.4,ease:[.4,0,.2,1]},children:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"19",height:"23",viewBox:"0 0 19 23",fill:"none",children:(0,n.jsx)(eh.motion.path,{d:"M9.36535 19.5238C7.93053 19.5238 6.61101 19.1971 5.40678 18.5438C4.20256 17.8904 3.21612 17.0193 2.44746 15.9304V17.9865H0.910156V13.3746H5.52208V14.9119H3.61966C4.23459 15.8343 5.04488 16.5773 6.05053 17.141C7.05619 17.7047 8.16113 17.9865 9.36535 17.9865C10.3262 17.9865 11.2261 17.804 12.0653 17.4389C12.9044 17.0737 13.6346 16.5805 14.2559 15.9592C14.8772 15.3379 15.3705 14.6076 15.7356 13.7685C16.1007 12.9294 16.2832 12.0294 16.2832 11.0686H17.8206C17.8206 12.2344 17.5996 13.3298 17.1576 14.3546C16.7156 15.3795 16.1103 16.2763 15.3416 17.0449C14.573 17.8136 13.6762 18.4189 12.6514 18.8609C11.6265 19.3028 10.5311 19.5238 9.36535 19.5238ZM8.67356 16.4492V15.45C8.07145 15.309 7.58143 15.0496 7.20351 14.6717C6.82559 14.2938 6.54695 13.7974 6.3676 13.1824L7.63588 12.6828C7.78961 13.2081 8.02982 13.602 8.35649 13.8646C8.68317 14.1272 9.05789 14.2585 9.48065 14.2585C9.90341 14.2585 10.2653 14.1593 10.5664 13.9607C10.8674 13.7621 11.018 13.4515 11.018 13.0287C11.018 12.6572 10.861 12.3561 10.5472 12.1255C10.2333 11.8949 9.67282 11.6323 8.86573 11.3377C8.10988 11.0686 7.55581 10.7484 7.20351 10.3768C6.85121 10.0053 6.67506 9.51851 6.67506 8.9164C6.67506 8.39115 6.85762 7.91394 7.22273 7.48478C7.58784 7.05561 8.08426 6.77698 8.712 6.64887V5.68805H10.0571V6.64887C10.5183 6.6873 10.9379 6.87306 11.3158 7.20614C11.6937 7.53923 11.9532 7.92996 12.0941 8.37834L10.8642 8.87796C10.7617 8.58331 10.5952 8.3367 10.3646 8.13813C10.134 7.93957 9.81374 7.84028 9.40379 7.84028C8.9554 7.84028 8.61271 7.93636 8.37571 8.12853C8.13871 8.32069 8.02021 8.58331 8.02021 8.9164C8.02021 9.24948 8.16753 9.5121 8.46218 9.70427C8.7
4115684 9.89643 9.28849 10.1206 10.0571 10.3768C10.9795 10.7099 11.5945 11.1007 11.9019 11.549C12.2094 11.9974 12.3631 12.4906 12.3631 13.0287C12.3631 13.4002 12.2991 13.7269 12.1709 14.0087C12.0428 14.2906 11.8731 14.5308 11.6617 14.7293C11.4503 14.9279 11.2037 15.0881 10.9219 15.2098C10.64 15.3315 10.339 15.4243 10.0187 15.4884V16.4492H8.67356ZM0.910156 11.0686C0.910156 9.90284 1.13114 8.8075 1.57312 7.78263C2.0151 6.75776 2.62041 5.861 3.38907 5.09234C4.15772 4.32369 5.05448 3.71837 6.07936 3.2764C7.10423 2.83442 8.19956 2.61343 9.36535 2.61343C10.8002 2.61343 12.1197 2.94011 13.3239 3.59347C14.5281 4.24682 15.5146 5.11796 16.2832 6.20689V4.15074H17.8206V8.76267H13.2086V7.22536H15.111C14.4961 6.30297 13.6858 5.55994 12.6802 4.99626C11.6745 4.43258 10.5696 4.15074 9.36535 4.15074C8.40454 4.15074 7.50457 4.3333 6.66546 4.69841C5.82634 5.06352 5.09612 5.55674 4.47479 6.17807C3.85346 6.7994 3.36024 7.52962 2.99513 8.36873C2.63002 9.20785 2.44746 10.1078 2.44746 11.0686H0.910156Z",animate:{fill:e&&"convert"===i[t]?"#7C3AED":"#9CA3AF"},transition:{duration:.3}})})}),(0,n.jsx)(eh.motion.span,{className:"text-[10px] font-medium",animate:{color:e&&"convert"===i[t]?"#7C3AED":"#6B7280"},transition:{duration:.3},children:"Convert"})]})]})]})},tn=[{name:"Tether",font:"font-serif font-bold"},{name:"J.P.Morgan",font:"font-bold"},{name:"Flipkart",font:"font-extrabold italic"},{name:"WISE",font:"font-bold"},{name:"Revolut",font:"font-bold tracking-tight"},{name:"Goldman Sachs",font:"font-serif"},{name:"amazon",font:"font-bold"}];function ta(){return(0,n.jsx)("section",{id:"founders",className:"bg-white py-16 lg:py-24 scroll-mt-24",children:(0,n.jsxs)("div",{className:"max-w-[1280px] mx-auto px-6 lg:px-8 space-y-20 lg:space-y-24",children:[(0,n.jsxs)(eh.motion.div,{className:"flex flex-col lg:flex-row items-center gap-10 lg:gap-20",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[(0,n.jsxs)("div",{className:"relative flex-shrink-0 w-full lg:w-[520px]",children:[(0,n.jsx)("div",{className:"absolute -inset-3 bg-[#ECEDEE] rounded-2xl transform -rotate-1"}),(0,n.jsx)(eA.default,{src:"/home/founders.jpg",alt:"Riva founders Niklas and Mahendra",width:520,height:347,className:"relative rounded-xl w-full h-auto object-cover"})]}),(0,n.jsxs)("div",{className:"flex-1 space-y-5 text-center lg:text-left",children:[(0,n.jsx)("h2",{className:"text-[28px] lg:text-[36px] font-bold text-[#0F172A] leading-[1.2]",children:"Built by Founders Who Lived the Problem"}),(0,n.jsx)("p",{className:"text-base lg:text-lg text-[#475569] leading-7",children:"Founding Riva in 2025, Niklas and Mahendra set out to fix the slow, costly, and opaque reality of cross-border payments â a challenge they had experienced firsthand."}),(0,n.jsx)("p",{className:"text-base lg:text-lg text-[#475569] leading-7",children:"Drawing on years in senior roles at Revolut and Wise, they understood the limits of legacy systems and saw the potential of blockchain to deliver faster, simpler, and more transparent global transfers."})]})]}),(0,n.jsxs)(eh.motion.div,{className:"flex flex-col lg:flex-row items-center gap-10 lg:gap-16",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[(0,n.jsxs)("div",{className:"flex-1 space-y-5 lg:max-w-[480px] text-center lg:text-left",children:[(0,n.jsx)("h2",{className:"text-[28px] lg:text-[36px] font-bold text-[#0F172A] leading-tight",children:"Join Our Mission"}),(0,n.jsx)("p",{className:"text-base lg:text-lg text-[#475569] leading-7",children:"If you're passionate about innovation, thrive in a fast-paced environment, and want to make a real impact - let's talk!"}),(0,n.jsxs)(eh.motion.a,{href:"https://www.linkedin.com/company/rivamoney/jobs/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 bg-[#2563EB] text-white px-6 py-3.5 rounded-lg font-medium shadow-[0px_10px_15px_-3px_rgba(37,99,235,0.25)] hover:bg-[#1D4ED8] transition-colors",whileHover:{scale:1.02},whileTap:{scale:.98},"aria-label":"View jobs",children:["View jobs",(0,n.jsx)(eb.ArrowRight,{className:"w-4 h-4"})]})]}),(0,n.jsx)("div",{className:"flex-1 w-full lg:w-auto",children:(0,n.jsx)(eA.default,{src:"/home/global-team-map.svg",alt:"Global team map showing Riva team members around the world",width:640,height:264,className:"w-full h-auto object-contain"})})]}),(0,n.jsxs)(eh.motion.div,{className:"text-center space-y-5",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[(0,n.jsx)("p",{className:"text-[12px] font-semibold text-[#64748B] uppercase tracking-[1.4px]",children:"Riva's team brings experience from"}),(0,n.jsx)("div",{className:"flex flex-wrap items-center justify-center gap-x-10 lg:gap-x-12 gap-y-3 opacity-50 grayscale",children:tn.map(e=>(0,n.jsx)("span",{className:`text-lg lg:text-xl text-[#1F2937] ${e.font}`,children:e.name},e.name))})]})]})})}let tr=[{id:"how-does-riva-work",question:"How does Riva work?",answer:(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)("p",{children:"Riva is a global payments platform that helps businesses send, receive, and manage money across borders from one place."}),(0,n.jsx)("p",{children:"Riva is licensed in Europe and is under the supervision of the relevant regulator in Switzerland. In other jurisdictions, services are provided through licensed partners. Riva connects to multiple regulated payment networks and liquidity providers, and for each payment selects the most efficient route to deliver speed, reliability, and competitive FX rates."}),(0,n.jsx)("p",{children:"From the customer's perspective, it feels simple and familiar. Behind the scenes, Riva handles the complexity."})]})},{id:"payment-speed",question:"How fast are payments?",answer:(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)("p",{children:"Payment speed depends on the currency and destination."}),(0,n.jsx)("p",{children:"Many major routes settle near instant. Others settle the same day. Where settlement takes longer, this is clearly shown before you send the payment."}),(0,n.jsx)("p",{children:"Riva is designed to reduce delays caused by traditional correspondent banking chains."})]})},{id:"crypto-optional",question:"Do I need to use crypto?",answer:(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)("p",{children:"No. Crypto is optional."}),(0,n.jsx)("p",{children:"Most customers use Riva purely for fiat payments, just like a traditional payments platform. You can fund accounts, make payments, and manage FX without ever interacting with digital assets."}),(0,n.jsx)("p",{children:"For businesses that want it, Riva also supports digital currencies as an additional option."})]})},{id:"digital-currency-features",question:"What digital currency features does Riva offer?",answer:(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)("p",{children:"Riva allows businesses to
411store, send, and receive value in stablecoins such as USDC, EURC, and USDT. Additional currencies can be supported on request."}),(0,n.jsx)("p",{children:"These digital currencies can be useful for specific use cases such as instant international transfers, reducing settlement friction, or holding value in a stable reference currency like USD."}),(0,n.jsx)("p",{children:"Riva also enables conversion between stablecoins and more than 50 fiat currencies, in both directions. This allows seamless movement between digital and traditional financial systems, all within one platform."}),(0,n.jsx)("p",{children:"For eligible customers, Riva offers yield on supported stablecoin balances, allowing businesses to earn on idle funds while maintaining liquidity."}),(0,n.jsx)("p",{children:"All of this is optional and designed for treasury teams that actively choose to use it."})]})},{id:"pricing",question:"How much does Riva cost?",answer:(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)("p",{children:"Pricing depends on payment volume, currencies, and services used."}),(0,n.jsx)("p",{children:"Riva offers transparent pricing with no hidden fees. By reducing intermediaries and optimising FX execution, costs are typically lower than traditional cross border banking."}),(0,n.jsx)("p",{children:"Exact pricing is shared upfront before you commit."})]})},{id:"safety-regulation",question:"Is Riva safe and regulated?",answer:(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)("p",{children:"Yes."}),(0,n.jsx)("p",{children:"Riva is licensed in Europe and is under the supervision of the relevant regulator in Switzerland. In other jurisdictions, services are provided through licensed partners. We apply strict AML, KYC, and transaction monitoring standards."}),(0,n.jsx)("p",{children:"Customer funds are safeguarded in line with applicable regulations and are not used for Riva's own operations."}),(0,n.jsx)("p",{children:"Security, compliance, and operational resilience are core to how the platform is built and run."})]})},{id:"who-is-riva-for",question:"Who is Riva for?",answer:(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)("p",{children:"Riva is designed for international businesses, groups, and platforms that make regular cross border payments, manage multiple currencies, or operate across regions."}),(0,n.jsx)("p",{children:"Customers use Riva for supplier payments, treasury operations, intercompany transfers, and global payouts."})]})}],ti=(0,a.memo)(function({item:e,isOpen:t,onToggle:a}){return(0,n.jsxs)("div",{className:"border-b border-[#E2E8F0] last:border-b-0",children:[(0,n.jsxs)("button",{onClick:a,className:"w-full px-5 lg:px-6 py-5 text-left hover:bg-[#F8FAFC] transition-colors flex items-center justify-between gap-4","aria-expanded":t,"aria-controls":`faq-content-${e.id}`,children:[(0,n.jsx)("h3",{className:"text-[15px] lg:text-[17px] font-semibold text-[#0F172A] leading-snug",children:e.question}),(0,n.jsx)("div",{className:`w-6 h-6 rounded-full border border-[#E2E8F0] flex items-center justify-center transition-all duration-200 flex-shrink-0 ${t?"bg-[#2563EB] border-[#2563EB]":"bg-white"}`,children:(0,n.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:t?"white":"#64748B",strokeWidth:"2.5",className:`transition-transform duration-200 ${t?"rotate-180":""}`,children:(0,n.jsx)("path",{d:"M19 9l-7 7-7-7"})})})]}),(0,n.jsx)(eB.AnimatePresence,{children:t&&(0,n.jsx)(eh.motion.div,{id:`faq-content-${e.id}`,initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},className:"overflow-hidden",children:(0,n.jsx)("div",{className:"px-5 lg:px-6 pb-5 text-[14px] lg:text-[15px] leading-relaxed text-[#475569]",children:e.answer})})})]})});e.s(["DeveloperApiSection",0,function(){let{openSalesForm:e}=(0,eT.useSalesForm)(),[t,r]=(0,a.useState)(!1);return(0,n.jsx)("section",{id:"developer-api",className:"bg-white py-16 lg:py-24 scroll-mt-24",children:(0,n.jsx)("div",{className:"max-w-[1280px] mx-auto px-6 lg:px-8",children:(0,n.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 lg:gap-16 items-center",children:[(0,n.jsxs)(eh.motion.div,{className:"space-y-5",initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5},children:[(0,n.jsx)("div",{className:"inline-flex",children:(0,n.jsx)("span",{className:"bg-[#F3E8FF] text-[#7E22CE] text-xs font-bold uppercase tracking-wide px-3 py-1.5 rounded-full",children:"Developer Friendly"})}),(0,n.jsx)("h2",{className:"text-[28px] lg:text-[32px] font-bold text-[#0F172A] leading-tight",children:"Build your own payment experiences."}),(0,n.jsx)("p",{className:"text-base lg:text-lg text-[#475569] leading-7",children:"For teams that need more, our robust API allows you to embed Riva's capabilities directly into your internal tools or product. Automate payouts programmatically."}),(0,n.jsx)("div",{className:"flex flex-wrap gap-3 pt-2",children:["REST API","Webhooks","Sandbox Environment"].map(e=>(0,n.jsx)("span",{className:"bg-[#F3F4F6] text-[#475569] text-sm font-mono px-3 py-1.5 rounded-lg",children:e},e))}),(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsxs)("button",{onClick:()=>r(!t),className:"inline-flex items-center gap-1.5 text-[#2563EB] font-semibold pt-2 hover:underline","aria-label":"Read the API Documentation",children:["Read the API Documentation",(0,n.jsx)(eb.ArrowRight,{className:"w-4 h-4"})]}),(0,n.jsx)(eB.AnimatePresence,{mode:"wait",children:t&&(0,n.jsx)(eh.motion.div,{initial:{opacity:0,height:0,marginTop:0}
411,animate:{opacity:1,height:"auto",marginTop:16},exit:{opacity:0,height:0,marginTop:0},transition:{duration:.35,ease:[.4,0,.2,1],opacity:{duration:.25}},className:"overflow-hidden",children:(0,n.jsxs)("div",{className:"bg-gradient-to-br from-[#1E293B] to-[#0F172A] border border-[#334155] rounded-2xl shadow-2xl overflow-hidden max-w-sm relative",children:[(0,n.jsx)("button",{onClick:()=>r(!1),className:"absolute top-3 right-3 w-6 h-6 flex items-center justify-center rounded-full bg-[#334155]/60 hover:bg-[#475569]/80 transition-colors group z-10","aria-label":"Close",children:(0,n.jsx)("svg",{className:"w-3.5 h-3.5 text-[#94A3B8] group-hover:text-white transition-colors",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2.5,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})}),(0,n.jsxs)("div",{className:"p-5 pr-10",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2.5 mb-3",children:[(0,n.jsx)("div",{className:"w-8 h-8 rounded-lg bg-[#3B82F6]/15 flex items-center justify-center",children:(0,n.jsx)("svg",{className:"w-4 h-4 text-[#60A5FA]",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"})})}),(0,n.jsx)("span",{className:"text-sm font-semibold text-white",children:"API Documentation"})]}),(0,n.jsx)("p",{className:"text-[#94A3B8] text-sm leading-relaxed mb-4",children:"To get access to our API docs, reach out to our sales team."}),(0,n.jsxs)(eh.motion.button,{onClick:()=>{r(!1),e("api-documentation")},className:"w-full bg-[#2563EB] hover:bg-[#1D4ED8] text-white py-2.5 rounded-xl font-semibold text-sm transition-colors flex items-center justify-center gap-2",whileHover:{scale:1.02},whileTap:{scale:.98},children:["Contact Sales",(0,n.jsx)(eb.ArrowRight,{className:"w-3.5 h-3.5"})]})]})]})})})]})]}),(0,n.jsxs)(eh.motion.div,{className:"relative",initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:.2},children:[(0,n.jsx)("div",{className:"absolute -bottom-8 -right-8 w-64 h-64 bg-[rgba(168,85,247,0.15)] rounded-full blur-[40px]"}),(0,n.jsxs)("div",{className:"relative bg-[#1F2937] border border-[#374151] rounded-xl shadow-2xl overflow-hidden",children:[(0,n.jsxs)("div",{className:"bg-[#0F172A] border-b border-[#374151] px-4 py-3 flex items-center justify-between",children:[(0,n.jsxs)("div",{className:"flex gap-1.5",children:[(0,n.jsx)("span",{className:"w-3 h-3 rounded-full bg-[#EF4444]"}),(0,n.jsx)("span",{className:"w-3 h-3 rounded-full bg-[#EAB308]"}),(0,n.jsx)("span",{className:"w-3 h-3 rounded-full bg-[#22C55E]"})]}),(0,n.jsx)("span",{className:"text-xs text-[#9CA3AF] font-mono",children:"POST /v1/payouts"})]}),(0,n.jsx)("div",{className:"p-5 overflow-x-auto",children:(0,n.jsx)("pre",{className:"text-[13px] font-mono leading-[22px]",children:(0,n.jsxs)("code",{children:[(0,n.jsx)("span",{className:"text-[#C084FC]",children:"const"}),(0,n.jsx)("span",{className:"text-[#93C5FD]",children:" payout = "}),(0,n.jsx)("span",{className:"text-[#C084FC]",children:"await"}),(0,n.jsx)("span",{className:"text-[#93C5FD]",children:" riva.payouts."}),(0,n.jsx)("span",{className:"text-[#FDE047]",children:"create"}),(0,n.jsx)("span",{className:"text-[#93C5FD]",children:"({"}),"\n",(0,n.jsx)("span",{className:"text-[#D1D5DB]",children:" amount:"}),(0,n.jsx)("span",{className:"text-[#86EFAC]",children:" 5000"}),(0,n.jsx)("span",{className:"text-[#93C5FD]",children:","}),"\n",(0,n.jsx)("span",{className:"text-[#D1D5DB]",children:" source_currency:"}),(0,n.jsx)("span",{className:"text-[#86EFAC]",children:" 'GBP'"}),(0,n.jsx)("span",{className:"text-[#93C5FD]",children:","}),"\n",(0,n.jsx)("span",{className:"text-[#D1D5DB]",children:" target_currency:"}),(0,n.jsx)("span",{className:"text-[#86EFAC]",children:" 'USD'"}),(0,n.jsx)("span",{className:"text-[#93C5FD]",children:","}),"\n",(0,n.jsx)("span",{className:"text-[#D1D5DB]",children:" recipient:"}),(0,n.jsx)("span",{className:"text-[#86EFAC]",children:" 'rec_123456789'"}),(0,n.jsx)("span",{className:"text-[#93C5FD]",children:","}),"\n",(0,n.jsx)("span",{className:"text-[#D1D5DB]",children:" reference:"}),(0,n.jsx)("span",{className:"text-[#86EFAC]",children:" 'Inv #4002'"}),"\n",(0,n.jsx)("span",{className:"text-[#93C5FD]",children:"})"}),(0,n.jsx)("span",{className:"text-[#93C5FD]",children:";"}),"\n","\n",(0,n.jsx)("span",{className:"text-[#6B7280]",children:"// Response"}),"\n",(0,n.jsx)("span",{className:"text-[#D1D5DB]",children:"{"}),"\n",(0,n.jsx)("span",{className:"text-[#D1D5DB]",children:' "id":'}),(0,n.jsx)("span",{className:"text-[#86EFAC]",children:' "pay_9876
41154321"'}),(0,n.jsx)("span",{className:"text-[#93C5FD]",children:","}),"\n",(0,n.jsx)("span",{className:"text-[#D1D5DB]",children:' "status":'}),(0,n.jsx)("span",{className:"text-[#86EFAC]",children:' "scheduled"'}),(0,n.jsx)("span",{className:"text-[#93C5FD]",children:","}),"\n",(0,n.jsx)("span",{className:"text-[#D1D5DB]",children:' "fee":'}),(0,n.jsx)("span",{className:"text-[#86EFAC]",children:" 2.50"}),(0,n.jsx)("span",{className:"text-[#93C5FD]",children:","}),"\n",(0,n.jsx)("span",{className:"text-[#D1D5DB]",children:' "exchange_rate":'}),(0,n.jsx)("span",{className:"text-[#86EFAC]",children:" 1.3493"}),"\n",(0,n.jsx)("span",{className:"text-[#D1D5DB]",children:"}"})]})})})]})]})]})})})},"ExperienceFutureSection",0,function(){let{openSalesForm:e}=(0,eT.useSalesForm)();return(0,n.jsx)("section",{id:"cta",className:"py-16 lg:py-24 px-6 lg:px-8",style:{background:"linear-gradient(165deg, #1F2937 0%, #0F172A 100%)"},"aria-labelledby":"cta-title",children:(0,n.jsxs)(eh.motion.div,{className:"max-w-[1280px] mx-auto flex flex-col items-center gap-5",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5},children:[(0,n.jsx)("h2",{id:"cta-title",className:"text-[28px] sm:text-[36px] lg:text-[48px] font-bold leading-[1.15] tracking-[-0.5px] text-white text-center w-full",children:"Experience the future of global payments"}),(0,n.jsx)("p",{className:"text-[15px] lg:text-[18px] leading-7 text-[#D1D5DB] text-center w-full",children:"Join the businesses saving time and money with instant, transparent cross-border settlements."}),(0,n.jsxs)("div",{className:"flex flex-col sm:flex-row items-center gap-3 sm:gap-4 mt-2",children:[(0,n.jsxs)(eh.motion.a,{href:"https://calendly.com/nik-riva/intro-to-riva",className:"bg-white text-[#0F172A] px-7 py-3 rounded-lg font-semibold text-[15px] flex items-center gap-2 shadow-lg hover:shadow-xl transition-shadow w-full sm:w-auto justify-center",whileHover:{scale:1.02},whileTap:{scale:.98},children:["Book a demo",(0,n.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]}),(0,n.jsx)(eh.motion.button,{onClick:()=>e("cta-section"),className:"border border-[#4B5563] text-white px-7 py-3 rounded-lg font-semibold text-[15px] hover:bg-white/5 transition-colors w-full sm:w-auto text-center",whileHover:{scale:1.02},whileTap:{scale:.98},children:"Contact sales"})]})]})})},"FAQSection",0,function(){let[e,t]=(0,a.useState)(["how-does-riva-work"]),r=(0,a.useCallback)(e=>{t(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])},[]);return(0,n.jsx)("section",{id:"faq",className:"bg-[#F8FAFC] py-16 lg:py-24 scroll-mt-24","aria-labelledby":"faq-title",children:(0,n.jsxs)("div",{className:"max-w-[1280px] mx-auto px-6 lg:px-8",children:[(0,n.jsxs)(eh.motion.div,{className:"flex flex-col gap-2 text-center lg:text-center mb-12",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5},children:[(0,n.jsx)("span",{className:"text-[12px] font-bold tracking-[1px] uppercase text-[#2563EB]",children:"FAQ"}),(0,n.jsx)("h2",{id:"faq-title",className:"text-[28px] lg:text-[36px] font-bold leading-[36px] lg:leading-[40px] text-[#0F172A]",children:"Frequently Asked Questions"}),(0,n.jsx)("p",{className:"text-[15px] lg:text-[18px] leading-7 text-[#475569] mt-2",children:"Quick answers to common questions about how Riva works, pricing, and security."})]}),(0,n.jsx)(eh.motion.div,{className:"max-w-[800px] mx-auto bg-white border border-[#E2E8F0] rounded-2xl overflow-hidden shadow-sm",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5,delay:.1},children:tr.map(t=>(0,n.jsx)(ti,{item:t,isOpen:e.includes(t.id),onToggle:()=>r(t.id)},t.id))}),(0,n.jsx)(eh.motion.div,{className:"flex justify-center mt-8",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.4,delay:.2},children:(0,n.jsxs)(eS.LocalizedLink,{href:"/company/faq",className:"group inline-flex items-center gap-2 text-[15px] font-semibold text-[#2563EB] hover:text-[#1D4ED8] transition-colors",children:["View all FAQs",(0,n.jsx)(eb.ArrowRight,{className:"w-4 h-4 transition-transform group-hover:translate-x-1"})]})})]})})},"FeaturesSection",0,function(){return(0,n.jsx)("section",{id:"treasury-global-payouts",className:"bg-white py-16 lg:py-24 scroll-mt-24",children:(0,n.jsxs)("div",{className:"max-w-[1280px] mx-auto px-6 lg:px-8",children:[(0,n.jsxs)(eh.motion.div,{className:"flex flex-col items-center gap-5 mb-14 lg:mb-20",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[(0,n.jsxs)("div",{className:"inline-flex items-center gap-2 bg-[#EFF6FF] border border-[#DBEAFE] rounded-full px-4 py-2",children:[(0,n.jsx)(ey.Zap,{className:"w-[16px] h-[16px] text-[#2563EB]",strokeWidth:2}),(0,n.jsx)("span",{className:"text-[13px] font-semibold text-[#2563EB]",children:"Treasury & Global Payouts"})]}),(0,n.jsxs)("h2",{className:"text-[28px] sm:text-[36px] lg:text-[44px] font-bold text-center tracking-tight leading-[1.15]",children:[(0,n.jsx)("span",{className:"text-[#0F172A]",children:"The operating layer for "}),(0,n.jsx)("span",{className:"text-[#2563EB]",children:"global treasury"}),(0,n.jsx)("span",{className:"text-[#0F172A]",children:" and "}),(0,n.jsx)("span",{className:"text-[#2563EB]",children:"payouts"})]}),(0,n.jsx)("p",{className:"text-base lg:text-lg text-[#475569] font-light text-center max-w-[720px] leading-7",children:"Stop patching together legacy portals. Riva brings accounts, FX, payouts, payroll, and supplier payments into one high-performance interface."})]}),(0,n.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,n.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[(0,n.jsx)(e2,{icon:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"28",viewBox:"0 0 24 28",fill:"none",children:(0,n.jsx)("path",{d:"M2.27734 22.75V5.25H11.9996V9.13889H21.7218V22.75H2.27734ZM4.22179 20.8056H6.16623V18.8611H4.22179V20.8056ZM4.22179 16.9167H6.16623V14.9722H4.22179V16.9167ZM4.22179 13.0278H6.16623V11.0833H4.22179V13.0278ZM4.22179 9.13889H6.16623V7.19444H4.22179V9.13889ZM8.11068 20.8056H10.0551V18.8611H8.11068V20.8056ZM8.11068 16.9167H10.0551V14.9722H8.11068V16.9167ZM8.11068 13.0278H10.0551V11.0833H8.11068V13.0278ZM8.11068 9.13889H10.0551V7.19444H8.11068V9.13889ZM11.9996 20.8056H19.7773V11.0833H11.9996V13.0278H13.944V14.9722H11.9996V16.9167H13.944V18.8
411611H11.9996V20.8056ZM15.8885 14.9722V13.0278H17.8329V14.9722H15.8885ZM15.8885 18.8611V16.9167H17.8329V18.8611H15.8885Z",fill:"#2563EB"})}),iconBg:eZ,badgeBg:eZ,badgeText:eQ,badge:"Multi-Entity",title:"Multi-Company Switching",description:"Instantly toggle between subsidiaries with a single login. Consolidated views for group-level reporting.",graphic:e=>(0,n.jsx)(e3,{isHovered:e})}),(0,n.jsx)(e2,{icon:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"28",viewBox:"0 0 24 28",fill:"none",children:(0,n.jsx)("path",{d:"M12.4858 13.9514C12.9557 13.4329 13.3162 12.8414 13.5674 12.1771C13.8185 11.5127 13.9441 10.8241 13.9441 10.1111C13.9441 9.39814 13.8185 8.70948 13.5674 8.04513C13.3162 7.38078 12.9557 6.78934 12.4858 6.27083C13.458 6.40046 14.2682 6.82985 14.9163 7.55902C15.5645 8.28819 15.8886 9.13888 15.8886 10.1111C15.8886 11.0833 15.5645 11.934 14.9163 12.6632C14.2682 13.3924 13.458 13.8218 12.4858 13.9514ZM17.833 21.7778V18.8611C17.833 18.2778 17.7034 17.7228 17.4441 17.1962C17.1849 16.6696 16.8446 16.2037 16.4233 15.7986C17.2497 16.0903 18.0153 16.467 18.7202 16.9288C19.425 17.3906 19.7775 18.0347 19.7775 18.8611V21.7778H17.833ZM19.7775 14.9722V13.0278H17.833V11.0833H19.7775V9.13888H21.7219V11.0833H23.6663V13.0278H21.7219V14.9722H19.7775ZM8.11079 14C7.04134 14 6.12583 13.6192 5.36426 12.8576C4.60268 12.0961 4.2219 11.1805 4.2219 10.1111C4.2219 9.04166 4.60268 8.12615 5.36426 7.36458C6.12583 6.603 7.04134 6.22222 8.11079 6.22222C9.18023 6.22222 10.0957 6.603 10.8573 7.36458C11.6189 8.12615 11.9997 9.04166 11.9997 10.1111C11.9997 11.1805 11.6189 12.0961 10.8573 12.8576C10.0957 13.6192 9.18023 14 8.11079 14ZM0.333008 21.7778V19.0555C0.333008 18.5046 0.47479 17.9983 0.758355 17.5365C1.04192 17.0746 1.41866 16.7222 1.88856 16.4792C2.89319 15.9768 3.91403 15.6001 4.95106 15.349C5.9881 15.0978 7.04134 14.9722 8.11079 14.9722C9.18023 14.9722 10.2335 15.0978 11.2705 15.349C12.3075 15.6001 13.3284 15.9768 14.333 16.4792C14.8029 16.7222 15.1797 17.0746 15.4632 17.5365C15.7468 17.9983 15.8886 18.5046 15.8886 19.0555V21.7778H0.333008ZM8.11079 12.0555C8.64551 12.0555 9.10326 11.8652 9.48405 11.4844C9.86484 11.1036 10.0552 10.6458 10.0552 10.1111C10.0552 9.57638 9.86484 9.11863 9.48405 8.73784C9.10326 8.35705 8.64551 8.16666 8.11079 8.16666C7.57606 8.16666 7.11831 8.35705 6.73752 8.73784C6.35673 9.11863 6.16634 9.57638 6.16634 10.1111C6.16634 10.6458 6.35673 11.1036 6.73752 11.4844C7.11831 11.8652 7.57606 12.0555 8.11079 12.0555ZM2.27745 19.8333H13.9441V19.0555C13.9441 18.8773 13.8996 18.7153 13.8104 18.5694C13.7213 18.4236 13.6038 18.3102 13.458 18.2292C12.583 17.7917 11.6999 17.4635 10.8087 17.2448C9.9175 17.026 9.01819 16.9167 8.11079 16.9167C7.20338 16.9167 6.30407 17.026 5.41287 17.2448C4.52167 17.4635 3.63856 17.7917 2.76356 18.2292C2.61773 18.3102 2.50025 18.4236 2.41113 18.5694C2.32201 18.7153 2.27745 18.8773 2.27745 19.0555V19.8333Z",fill:"#4F46E5"})}),iconBg:e$,badgeBg:e$,badgeText:eK,badge:"Control",title:"Team Access & Permissions",description:"Granular roles for Admins, Approvers, and Viewers. Set transfer limits and approval workflows per user.",graphic:e=>(0,n.jsx)(e6,{isHovered:e})}),(0,n.jsx)(e2,{icon:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"28",viewBox:"0 0 24 28",fill:"none",children:(0,n.jsx)("path",{d:"M12.0001 24.6945C10.1853 24.6945 8.51631 24.2813 6.99316 23.4549C5.47002 22.6285 4.22233 21.5266 3.25011 20.1493V22.75H1.30566V16.9167H7.139V18.8611H4.73275C5.51053 20.0278 6.53541 20.9676 7.8074 21.6806C9.07939 22.3935 10.477 22.75 12.0001 22.75C13.2154 22.75 14.3537 22.5191 15.415 22.0573C16.4764 21.5955 17.4 20.9717 18.1859 20.1858C18.9718 19.3999 19.5956 18.4763 20.0574 17.4149C20.5192 16.3536 20.7501 15.2153 20.7501 14H22.6946C22.6946 15.4746 22.415 16.86 21.856 18.1563C21.297 19.4526 20.5314 20.5868 19.5591 21.559C18.5869 22.5313 17.4527 23.2969 16.1564 23.8559C14.8601 24.4149 13.4746 24.6945 12.0001 24.6945ZM11.1251 20.8056V19.5417C10.3635 19.3634 9.74374 19.0353 9.26573 18.5573C8.78772 18.0793 8.43529 17.4514 8.20844 16.6736L9.81261 16.0417C10.0071 16.706 10.3109 17.2043 10.7241 17.5365C11.1373 17.8686 11.6112 18.0347 12.1459
41118.0347C12.6807 18.0347 13.1384 17.9092 13.5192 17.658C13.9 17.4068 14.0904 17.0139 14.0904 16.4792C14.0904 16.0093 13.8919 15.6285 13.4949 15.3368C13.0979 15.0452 12.389 14.713 11.3682 14.3403C10.4121 14 9.71134 13.5949 9.26573 13.125C8.82013 12.6551 8.59733 12.0394 8.59733 11.2778C8.59733 10.6134 8.82823 10.0099 9.29004 9.46703C9.75184 8.9242 10.3797 8.57177 11.1737 8.40973V7.19446H12.8751V8.40973C13.4584 8.45835 13.9891 8.6933 14.4671 9.1146C14.9451 9.53589 15.2733 10.0301 15.4515 10.5972L13.8959 11.2292C13.7663 10.8565 13.5557 10.5446 13.264 10.2934C12.9723 10.0423 12.5672 9.91668 12.0487 9.91668C11.4816 9.91668 11.0481 10.0382 10.7484 10.2813C10.4486 10.5243 10.2987 10.8565 10.2987 11.2778C10.2987 11.6991 10.4851 12.0313 10.8577 12.2743C11.2304 12.5174 11.9029 12.8009 12.8751 13.125C14.0418 13.5463 14.8196 14.0405 15.2084 14.6077C15.5973 15.1748 15.7918 15.7986 15.7918 16.4792C15.7918 16.9491 15.7108 17.3623 15.5487 17.7188C15.3867 18.0752 15.172 18.3791 14.9046 18.6302C14.6373 18.8814 14.3253 19.0839 13.9689 19.2379C13.6124 19.3918 13.2316 19.5093 12.8265 19.5903V20.8056H11.1251ZM1.30566 14C1.30566 12.5255 1.58518 11.1401 2.14421 9.84376C2.70323 8.54747 3.46886 7.41321 4.44108 6.44098C5.4133 5.46876 6.54756 4.70314 7.84386 4.14411C9.14015 3.58508 10.5256 3.30557 12.0001 3.30557C13.8149 3.30557 15.4839 3.71876 17.0071 4.54515C18.5302 5.37154 19.7779 6.47339 20.7501 7.85071V5.25001H22.6946V11.0833H16.8612V9.1389H19.2675C18.4897 7.97223 17.4648 7.03242 16.1928 6.31946C14.9208 5.60649 13.5233 5.25001 12.0001 5.25001C10.7848 5.25001 9.64652 5.48092 8.58518 5.94272C7.52384 6.40453 6.60022 7.02837 5.81434 7.81425C5.02847 8.60013 4.40462 9.52374 3.94282 10.5851C3.48101 11.6464 3.25011 12.7847 3.25011 14H1.30566Z",fill:"#9333EA"})}),iconBg:eG,badgeBg:eG,badgeText:eX,badge:"Global",title:"Multi-Currency Accounts",description:"Hold, convert, and pay in 50+ currencies. Real-time FX rates and local IBANs for EUR, GBP, and USD, provided by our banking partners.",graphic:e=>(0,n.jsx)(e4,{isHovered:e})})]}),(0,n.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-[2fr_1fr] gap-6",children:[(0,n.jsx)(te,{}),(0,n.jsx)(e2,{icon:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"28",viewBox:"0 0 24 28",fill:"none",children:(0,n.jsx)("path",{d:"M6.16667 23.7222C5.35648 23.7222 4.66782 23.4387 4.10069 22.8715C3.53356 22.3044 3.25 21.6157 3.25 20.8056V17.8889H6.16667V4.27778L7.625 5.73612L9.08333 4.27778L10.5417 5.73612L12 4.27778L13.4583 5.73612L14.9167 4.27778L16.375 5.73612L17.8333 4.27778L19.2917 5.73612L20.75 4.27778V20.8056C20.75 21.6157 20.4664 22.3044 19.8993 22.8715C19.3322 23.4387 18.6435 23.7222 17.8333 23.7222H6.16667ZM17.8333 21.7778C18.1088 21.7778 18.3397 21.6846 18.526 21.4983C18.7124 21.3119 18.8056 21.081 18.8056 20.8056V7.19445H8.11111V17.8889H16.8611V20.8056C16.8611 21.081 16.9543 21.3119 17.1406 21.4983C17.327 21.6846 17.5579 21.7778 17.8333 21.7778ZM9.08333 11.0833V9.1389H14.9167V11.0833H9.08333ZM9.08333 14V12.0556H14.9167V14H9.08333ZM16.8611 11.0833C16.5856 11.0833 16.3547 10.9902 16.1684 10.8038C15.9821 10.6175 15.8889 10.3866 15.8889 10.1111C15.8889 9.83565 15.9821 9.60475 16.1684 9.41841C16.3547 9.23207 16.5856 9.1389 16.8611 9.1389C17.1366 9.1389 17.3675 9.23207 17.5538 9.41841C17.7402 9.60475 17.8333 9.83565 17.8333 10.1111C17.8333 10.3866 17.7402 10.6175 17.5538 10.8038C17.3675 10.9902 17.1366 11.0833 16.8611 11.0833ZM16.8611 14C16.5856 14 16.3547 13.9068 16.1684 13.7205C15.9821 13.5342 15.8889 13.3032 15.8889 13.0278C15.8889 12.7523 15.9821 12.5214 16.1684 12.3351C16.3547 12.1487 16.5856 12.0556 16.8611 12.0556C17.1366 12.0556 17.3675 12.1487 17.5538 12.3351C17.7402 12.5214 17.8333 12.7523 17.8333 13.0278C17.8333 13.3032 17.7402 13.5342 17.5538 13.7205C17.3675 13.9068 17.1366 14 16.8611 14ZM6.16667 21.7778H14.9167V19.8333H5.19444V20.8056C5.19444 21.081 5.28762 21.3119 5.47396 21.4983C5.6603 21.6846 5.8912 21.7778 6.16667 21.7778ZM5.19444 21.7778C5.19444 21.7778 5.19444 21.6846 5.19444 21.4983C5.19444 21.3119 5.19444 21.081 5.19444 20.8056V19.8333V21.7778Z",fill:"#EA580C"})}),iconBg:eY,badgeBg:eY,badgeText:eJ,badge:"Automation",title:"Invoice Capture & Parsing",description:"Auto-create payouts from invoices. We parse PDFs/Images, extract details, and draft payments for review.",graphic:e=>(0,n.jsx)(e7,{isHovered:e})})]}),(0,n.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-[1.2fr_0.8fr] gap-6",children:[(0,n.jsx)(e2,{icon:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"28",viewBox:"0 0 24 28",fill:"none",children:(0,n.jsx)("path",{d:"M5.19401 18.8611V12.0556H7.13845V18.8611H5.19401ZM11.0273 18.8611V12.0556H12.9718V18.8611H11.0273ZM2.27734 22.75V20.8056H21.7218V22.75H2.27734ZM16.8607 18.8611V12.0556H18.8051V18.8611H16.8607ZM2.27734 10.1111V8.16667L11.9996 3.30556L21.7218 8.16667V10.1111H2.27734ZM6.60373 8.16667H11.9996H17.3954H6.60373ZM6.60373 8.16667H17.3954L11.9996 5.49306L6.
41160373 8.16667Z",fill:"#0E7490"})}),iconBg:e0,badgeBg:e0,badgeText:e1,badge:"Open Banking",title:"Connected Bank Accounts",description:"Connect all your UK & EU bank accounts via Open Banking. View balances, transactions, and initiate payments directlyâwithout moving funds into Riva first.",graphic:e=>(0,n.jsx)(e9,{isHovered:e})}),(0,n.jsx)(e2,{icon:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,n.jsx)("path",{d:"M9.72 19.44C8.3754 19.44 7.1118 19.1849 5.9292 18.6746C4.7466 18.1643 3.7179 17.4717 2.8431 16.5969C1.9683 15.7221 1.27575 14.6934 0.76545 13.5108C0.25515 12.3282 0 11.0646 0 9.72C0 8.3754 0.25515 7.1118 0.76545 5.9292C1.27575 4.7466 1.9683 3.7179 2.8431 2.8431C3.7179 1.9683 4.7466 1.27575 5.9292 0.765451C7.1118 0.255152 8.3754 1.90735e-06 9.72 1.90735e-06C11.0646 1.90735e-06 12.3282 0.255152 13.5108 0.765451C14.6934 1.27575 15.7221 1.9683 16.5969 2.8431C17.4717 3.7179 18.1643 4.7466 18.6746 5.9292C19.1849 7.1118 19.44 8.3754 19.44 9.72C19.44 11.0646 19.1849 12.3282 18.6746 13.5108C18.1643 14.6934 17.4717 15.7221 16.5969 16.5969C15.7221 17.4717 14.6934 18.1643 13.5108 18.6746C12.3282 19.1849 11.0646 19.44 9.72 19.44ZM8.748 17.4474V15.552C8.2134 15.552 7.75575 15.3617 7.37505 14.981C6.99435 14.6003 6.804 14.1426 6.804 13.608V12.636L2.1384 7.9704C2.0898 8.262 2.04525 8.5536 2.00475 8.8452C1.96425 9.1368 1.944 9.4284 1.944 9.72C1.944 11.6802 2.58795 13.3974 3.87585 14.8716C5.16375 16.3458 6.7878 17.2044 8.748 17.4474ZM15.4548 14.9688C16.119 14.2398 16.6253 13.4258 16.9736 12.5267C17.3219 11.6276 17.496 10.692 17.496 9.72C17.496 8.1324 17.0546 6.6825 16.1717 5.3703C15.2888 4.0581 14.1102 3.1104 12.636 2.5272V2.916C12.636 3.4506 12.4457 3.90825 12.065 4.28895C11.6843 4.66965 11.2266 4.86 10.692 4.86H8.748V6.804C8.748 7.0794 8.65485 7.31025 8.46855 7.49655C8.28225 7.68285 8.0514 7.776 7.776 7.776H5.832V9.72H11.664C11.9394 9.72 12.1703 9.81315 12.3566 9.99945C12.5429 10.1858 12.636 10.4166 12.636 10.692V13.608H13.608C14.0292 13.608 14.4099 13.7336 14.7501 13.9847C15.0903 14.2358 15.3252 14.5638 15.4548 14.9688Z",fill:"#2563EB"})}),iconBg:eZ,badgeBg:eZ,badgeText:eQ,badge:"Stablecoins",title:"Stablecoin Rails (USDC)",description:"Manage treasury with blockchain speed. Instant settlement between stablecoins and local currencies worldwide.",graphic:e=>(0,n.jsx)(tt,{isHovered:e})})]}),(0,n.jsxs)(eh.motion.div,{className:"bg-[#0F172A] border border-[#1F2937] rounded-2xl p-8 lg:p-10 overflow-hidden relative",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5},children:[(0,n.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-transparent to-[rgba(255,255,255,0.02)]"}),(0,n.jsxs)("div",{className:"relative flex flex-col lg:flex-row lg:items-center lg:justify-between gap-8",children:[(0,n.jsxs)("div",{className:"max-w-xl text-center lg:text-left",children:[(0,n.jsxs)("div",{className:"flex items-center justify-center lg:justify-start gap-2 mb-3",children:[(0,n.jsxs)("div",{className:"relative flex items-center justify-center",children:[(0,n.jsx)(eh.motion.span,{className:"absolute w-4 h-4 rounded-full bg-green-400/20",animate:{scale:[1,1.8,1],opacity:[.4,.1,.4]},transition:{duration:2.5,repeat:1/0,ease:"easeInOut"}}),(0,n.jsx)(eh.motion.span,{className:"absolute w-3 h-3 rounded-full bg-green-400/30",animate:{scale:[1,1.4,1],opacity:[.5,.2,.5]},transition:{duration:2.5,repeat:1/0,ease:"easeInOut",delay:.3}}),(0,n.jsx)(eh.motion.span,{className:"w-2 h-2 bg-green-500 rounded-full relative z-10",animate:{scale:[1,1.15,1],boxShadow:["0 0 0 0 rgba(34, 197, 94, 0.4)","0 0 8px 2px rgba(34, 197, 94, 0.3)","0 0 0 0 rgba(34, 197, 94, 0.4)"]},transition:{duration:2.5,repeat:1/0,ease:"easeInOut"}})]}),(0,n.jsx)("span",{className:"text-xs font-bold text-green-400 uppercase tracking-wider",children:"Connected Ecosystem"})]}),(0,n.jsx)("h3",{className:"text-2xl font-bold text-white mb-2",children:"Direct Accounting & HR Integrations"}),(0,n.jsx)("p",{className:"text-sm text-neutral-400",children:"Two-way sync with your favorite tools. Reconcile in seconds, not days."})]}),(0,n.jsxs)("div",{className:"flex flex-col gap-3 items-center lg:items-end w-full lg:w-auto",children:[(0,n.jsxs)("div",{className:"flex flex-wrap gap-3 justify-center lg:justify-end",children:[(0,n.jsx)(e5,{name:"Xero",logo:"/home/xero-logo.svg"}),(0,n.jsx)(e5,{name:"QuickBooks",logo:"/home/qbo-logo.svg"}),(0,n.jsx)(e5,{name:"NetSuite",logo:"/home/netsuite-logo.svg"}),(0,n.jsx)(e5,{name:"Sage",logo:"/home/sage-logo.svg"})]}),(0,n.jsxs)("div",{className:"flex flex-wrap gap-3 justify-center lg:justify-end",children:[(0,n.jsx)(e5,{name:"Workday",logo:"/home/workday-logo.svg",needsBackgroun
411d:!0}),(0,n.jsx)(e5,{name:"ADP",logo:"/home/adp-logo.svg"})]})]})]})]})]})]})})},"FoundersSection",0,function(){return(0,n.jsx)(ta,{})},"HeroSection",0,function({fromCurrency:e,onFromCurrencyChange:t,toCurrency:r,onToCurrencyChange:i,onQuoteUpdate:s,variant:o="infrastructure"}){let[l,c]=(0,a.useState)("50,000"),d="treasury"===o,u=d?["Global payments â","without expensive","FX or slow banks."]:["Global money movement","built into your product."],p=d?"See product tour":"Explore Riva";return(0,n.jsx)("section",{className:"relative overflow-hidden",style:{background:"linear-gradient(90deg, #F8FAFC 0%, #F8FAFC 100%)"},children:(0,n.jsx)("div",{className:"max-w-[1280px] mx-auto px-6 lg:px-8 py-16 lg:py-32",children:(0,n.jsxs)("div",{className:"flex flex-col lg:flex-row lg:items-start lg:justify-between gap-12 lg:gap-16",children:[(0,n.jsxs)(eh.motion.div,{className:"flex flex-col items-center lg:items-start max-w-[568px] mx-auto lg:mx-0",variants:eD,initial:"hidden",animate:"visible",children:[(0,n.jsx)(eh.motion.div,{variants:eM,className:"mb-5",children:(0,n.jsxs)("div",{className:"inline-flex items-center gap-2 bg-accent-ivory border border-accent-pattens-blue rounded-full px-[13px] py-[5px]",children:[(0,n.jsx)("span",{className:"w-2 h-2 bg-brand-primary rounded-full"}),(0,n.jsx)("span",{className:"text-xs font-semibold text-brand-primary uppercase tracking-wide",children:d?"Why Riva":"Riva Infrastructure"})]})}),(0,n.jsx)(eh.motion.div,{variants:eM,className:"text-center lg:text-left mb-5",children:(0,n.jsxs)("h1",{className:"text-[40px] lg:text-[60px] font-extrabold leading-[1] lg:leading-[60px] tracking-[-1.5px]",children:[(0,n.jsx)("span",{className:"text-neutral-900",children:u[0]}),(0,n.jsx)("br",{}),(0,n.jsx)("span",{className:"text-brand-primary",children:u[1]}),(0,n.jsx)("br",{}),(0,n.jsx)("span",{className:"text-brand-primary",children:u[2]})]})}),(0,n.jsx)(eh.motion.p,{variants:eM,className:"text-lg text-neutral-600 leading-[29.25px] text-center lg:text-left mb-6",children:d?"Pay suppliers, contractors, and teams abroad â with real-time FX and local payouts.":"Embed accounts, FX, payouts, and money movement into your customer experience â or use the same infrastru
411cture to run treasury, payroll, and supplier payments."}),(0,n.jsx)(eh.motion.div,{variants:eM,className:"flex flex-wrap justify-center lg:justify-start gap-3 mb-8",children:(d?eL:eI).map((e,t)=>(0,n.jsxs)(eh.motion.div,{className:"inline-flex items-center gap-2 bg-white/80 backdrop-blur-sm border border-neutral-200/60 rounded-full px-4 py-2 shadow-[0_1px_3px_rgba(0,0,0,0.04)] cursor-default",initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.5,ease:[.25,.46,.45,.94],delay:.6+.1*t},whileHover:{y:-2,boxShadow:"0 4px 12px rgba(0, 0, 0, 0.08)",transition:{duration:.2,ease:"easeOut"}},children:[(0,n.jsx)(e.icon,{className:"w-4 h-4 text-brand-primary",strokeWidth:2}),(0,n.jsx)("span",{className:"text-sm font-medium text-neutral-700",children:e.label})]},t))}),(0,n.jsxs)(eh.motion.div,{variants:eM,className:"flex flex-col sm:flex-row items-center gap-4 w-full sm:w-auto",children:[(0,n.jsxs)(eh.motion.a,{href:"https://calendly.com/nik-riva/intro-to-riva",className:"inline-flex items-center justify-center gap-2 bg-brand-primary hover:bg-brand-primary-hover text-white px-8 py-[14px] rounded-lg text-base font-medium shadow-button-blue transition-colors duration-200 w-full sm:w-auto",whileHover:{scale:1.02},whileTap:{scale:.98},"aria-label":"Book a demo",children:[d?"Book a demo":"Talk to sales",(0,n.jsx)(eb.ArrowRight,{className:"w-[18px] h-[22px] rotate-[-45deg]",strokeWidth:2})]}),(0,n.jsx)(eh.motion.a,{href:d?"#treasury-global-payouts":"#riva-as-a-service",className:"inline-flex items-center justify-center bg-white hover:bg-neutral-50 text-neutral-700 border border-[#E5E7EB] px-[33px] py-[15px] rounded-lg text-base font-medium transition-colors duration-200 w-full sm:w-auto",whileHover:{scale:1.02},whileTap:{scale:.98},"aria-label":p,children:p})]})]}),(0,n.jsx)(eH,{amount:l,onAmountChange:c,fromCurrency:e,onFromCurrencyChange:t,toCurrency:r,onToCurrencyChange:i,onQuoteDataChange:s})]})})})},"InsightsUpdatesSection",0,function(){let e=ex.filter(e=>!e.disabled).slice(0,6),t=(0,a.useRef)(null),[r,i]=(0,a.useState)(!1),[s,o]=(0,a.useState)(!1),l=(0,a.useCallback)(()=>{let e=t.current;e&&(i(e.scrollLeft>0),o(e.scrollLeft<e.scrollWidth-e.clientWidth-10))},[]);(0,a.useEffect)(()=>
411{l();let e=t.current;if(e)return e.addEventListener("scroll",l),window.addEventListener("resize",l),()=>{e.removeEventListener("scroll",l),window.removeEventListener("resize",l)}},[l]);let c=e=>{let n=t.current;n&&n.scrollBy({left:"left"===e?-420:420,behavior:"smooth"})};return(0,n.jsx)("section",{id:"insights",className:"bg-white py-16 lg:py-24 overflow-hidden scroll-mt-24","aria-labelledby":"insights-title",children:(0,n.jsxs)("div",{className:"max-w-[1280px] mx-auto px-6 lg:px-8",children:[(0,n.jsxs)(eh.motion.div,{className:"flex flex-col gap-2 text-center lg:text-left mb-12",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5},children:[(0,n.jsx)("span",{className:"text-[12px] font-bold tracking-[1px] uppercase text-[#2563EB]",children:"Riva Insights"}),(0,n.jsx)("h2",{id:"insights-title",className:"text-[28px] lg:text-[36px] font-bold leading-[36px] lg:leading-[40px] text-[#0F172A]",children:"Intelligence for Modern Businesses"}),(0,n.jsx)("p",{className:"text-[15px] lg:text-[18px] leading-7 text-[#475569] mt-2",children:"Expert analysis, industry trends, and strategic guides for finance leaders navigating the global economy."})]}),(0,n.jsxs)("div",{className:"relative",children:[r&&(0,n.jsx)("button",{onClick:()=>c("left"),className:"absolute left-0 top-1/2 -translate-y-1/2 z-20 w-10 h-10 rounded-full border border-[#E2E8F0] flex items-center justify-center transition-all bg-white hover:bg-[#F8FAFC] hover:border-[#CBD5E1] text-[#0F172A] shadow-md","aria-label":"Previous articles",children:(0,n.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,n.jsx)("path",{d:"M15 18l-6-6 6-6"})})}),s&&(0,n.jsx)("button",{onClick:()=>c("right"),className:"absolute right-0 top-1/2 -translate-y-1/2 z-20 w-10 h-10 rounded-full border border-[#E2E8F0] flex items-center justify-center transition-all bg-white hover:bg-[#F8FAFC] hover:border-[#CBD5E1] text-[#0F172A] shadow-md","aria-label":"Next articles",children:(0,n.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,n.jsx)("path",{d:"M9 18l6-6-6-6"})})}),(0,n.jsx)("div",{ref:t,className:"flex gap-6 lg:gap-8 overflow-x-auto scrollbar-hide snap-x snap-mandatory pb-4",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:e.map((e,t)=>{var a;let r;return(0,n.jsx)(eS.LocalizedLink,{href:`/insights/${e.id}`,className:"group block flex-shrink-0 w-[calc(100%-48px)] sm:w-[calc(50%-16px)] lg:w-[calc(33.333%-22px)] snap-start first:ml-0",children:(0,n.jsxs)(eh.motion.article,{className:"h-full flex flex-col",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:.1*t},children:[(0,n.jsxs)("div",{className:"relative w-full aspect-[384/216] rounded-2xl overflow-hidden border border-[#E2E8F0] bg-gradient-to-br from-[#EFF6FF] to-white mb-6",children:[(0,n.jsx)(eA.default,{src:e.thumbnailUrl||e.imageUrl,alt:e.title,fill:!0,className:"object-cover"}),(0,n.jsx)("div",{className:"absolute top-4 left-4",children:(0,n.jsx)("span",{className:"bg-white px-3 py-1 rounded-full text-[12px] font-bold tracking-[0.3px] uppercase text-[#2563EB] shadow-sm",children:(a=e.category).toLowerCase().includes("insight")||a.toLowerCase().includes("case study")?"Insight":a.toLowerCase().includes("announcement")||a.toLowerCase().includes("news")||a.toLowerCase().includes("regulatory")?"Announcement":"Insight"})})]}),(0,n.jsxs)("div",{className:"flex flex-col flex-1",children:[(0,n.jsxs)("div",{className:"flex items-center gap-3 text-[14px] text-[#64748B] mb-3",children:[(0,n.jsx)("span",{className:"font-medium",children:e.date}),(0,n.jsx)("span",{className:"w-1 h-1 rounded-full bg-[#D1D5DB]"}),(0,n.jsx)("span",{children:(r=Math.ceil(e.articleText.split(/\s+/).length/200),`${r} min read`)})]}),(0,n.jsx)("h3",{className:"text-[20px] font-bold leading-7 text-[#0F172A] mb-3 group-hover:text-[#2563EB] transition-colors",children:e.title}),(0,n.jsx)("p",{className:"text-[16px] leading-[26px] text-[#475569] mb-4 line-clamp-3 flex-1",children:e.thumbnailText}),(0,n.jsxs)("div",{className:"flex items-center gap-1 text-[14px] font-semibold text-[#2563EB] pt-4",children:["Read article",(0,n.jsx)("svg",{className:"w-4 h-4 transition-transform group-hover:translate-x-1",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})]})]})},e.id)})})]})]})})},"InvestorsSection",0,function(){return(0,n.jsx)("section",{id:"investors",className:"bg-[#0F172A] py-12 lg:py-16 px-6 lg:px-8","aria-labelledby":"investors-title",children:(0,n.jsxs)(eh.motion.div,{className:"max-w-[1280px] mx-auto flex flex-col items-center gap-6",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5},children:[(0,n.jsx)("h2",{id:"investors-title",className:"text-[24px] lg:text-[30px] font-bold leading-[32px] lg:leading-[36px] text-white text-center w-full",children:"Backed by Top-tier Investors"}),(0,n.jsx)("p",{className:"text-[14px] lg:text-base leading-6 text-[#D1D5DB] text-center w-full",children:"Riva closed a pre-seed round in March 2025, led by venture capital firm Project A, alongside a strong group of angel investors with deep experience in fintech and financial services."}),(0,n.jsx)("div",{className:"mt-2",children:(0,n.jsx)(eA.default,{src:"/home/investors/projecta-logo.svg",alt:"Project A Venture Capital",width:160,height:77,className:"object-contain"})}),(0,n.jsx)("p",{className:"text-[12px] font-semibold tracking-[1.4px] uppercase text-[#9CA3AF] text-center mt-2",children:"Angel investors from"}),(0,n.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-6 lg:gap-8",children:[(0,n.jsx)(eA.default,{src:"/home/investors/ebury-logo.svg",alt:"Ebury",width:140,height:48,className:"object-contain"}),(0,n.jsx)(eA.default,{src:"/home/investors/revolut-logo.svg",alt:"Revolut",width:140,height:48,className:"object-contain"}),(0,n.jsx)(eA.default,{src:"/home/investors/monzo-logo.svg",alt:"Monzo",width:140,height:48,className:"object-contain"}),(0,n.jsx)(eA.default,{src:"/home/investors/jpm-logo.svg",alt:"J.P.Morgan",width:140,height:48,className:"object-contain"})]})]})})},"JoinOurMissionSection",0,function(){return null},"PartnersSection",0,function(){let e=[{src:"/home/partner/bankingcircle.png",alt:"Banking Circle",width:80,height:36},{src:"/home/partner/bloomberg.png",alt:"Bloomberg",width:90,height:20},{src:"/home/partner/complyadvantage.png",alt:"ComplyAdvantage",width:90,height:20},{src:"/home/partner/hsbc.png",alt:"HSBC",width:90,height:28},{src:"/home/partner/privy-logo.svg",alt:"Paxos",width:90,height:18},{src:"/home/partner/paxos.png",alt:"Paxos",width:90,height:26},{src:"/home/partner/sumsub.png",alt:"Sumsub",width:90,height:20}],t=[...e,...e,...e,...e];return(0,n.jsx)("section",{id:"partners",className:"bg-[#F8FAFC] border-y border-[#
411E5E7EB] py-12 lg:py-16 overflow-hidden scroll-mt-24","aria-labelledby":"partners-description",children:(0,n.jsxs)("div",{className:"flex flex-col items-center gap-8",children:[(0,n.jsx)(eh.motion.p,{id:"partners-description",className:"max-w-[1280px] mx-auto text-[12px] lg:text-[14px] font-semibold tracking-[1.4px] uppercase text-[#64748B] text-center px-6",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5},children:"Riva works with a trusted ecosystem of top-tier partners to strengthen our products and services."}),(0,n.jsxs)("div",{className:"w-full overflow-hidden relative",children:[(0,n.jsx)("div",{className:"absolute left-0 top-0 bottom-0 w-24 sm:w-32 lg:w-48 bg-gradient-to-r from-[#F8FAFC] via-[#F8FAFC]/90 to-transparent z-10 pointer-events-none"}),(0,n.jsx)("div",{className:"absolute right-0 top-0 bottom-0 w-24 sm:w-32 lg:w-48 bg-gradient-to-l from-[#F8FAFC] via-[#F8FAFC]/90 to-transparent z-10 pointer-events-none"}),(0,n.jsx)(eh.motion.div,{className:"flex items-center gap-12 lg:gap-16 py-4 w-fit",animate:{x:["0%","-50%"]},transition:{x:{duration:90,repeat:1/0,ease:"linear",repeatType:"loop"}},children:t.map((e,t)=>(0,n.jsx)(eA.default,{src:e.src,alt:e.alt,width:e.width,height:e.height,className:"object-contain grayscale opacity-60 hover:opacity-100 hover:grayscale-0 transition-all duration-300 flex-shrink-0"},`${e.alt}-${t}`))})]})]})})},"RegulatorySection",0,function(){return(0,n.jsx)("section",{id:"regulatory",className:"bg-[#0F172A] py-12 lg:py-16 px-6 lg:px-8","aria-labelledby":"regulatory-title",children:(0,n.jsxs)(eh.motion.div,{className:"max-w-[1280px] mx-auto flex flex-col items-center gap-6",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5},children:[(0,n.jsxs)("div",{className:"flex flex-col items-center gap-4 text-center w-full",children:[(0,n.jsx)("h2",{id:"regulatory-title",className:"text-[24px] lg:text-[30px] font-bold leading-[32px] lg:leading-[36px] text-white",children:"Global Regulatory Coverage"}),(0,n.jsx)("p",{className:"text-[14px] lg:text-base leading-6 text-[#D1D5DB]",children:"Riva provides regulated financial services through a combination of direct authorisations and licensed partner institutions."})]}),(0,n.jsxs)("div",{className:"flex flex-col items-center gap-3 mt-2",children:[(0,n.jsx)("p",{className:"text-[12px] font-semibold tracking-[1.4px] uppercase text-[#9CA3AF]",children:"Authorised and regulated in"}),(0,n.jsxs)("div",{className:"flex items-center gap-6",children:[(0,n.jsx)("div",{className:"w-[80px] h-[54px] rounded-lg overflow-hidden",children:(0,n.jsx)(eA.default,{src:"/flags/eu-rec.png",alt:"European Union",width:80,height:54,className:"object-cover w-full h-full"})}),(0,n.jsx)("div",{className:"w-[80px] h-[54px] rounded-lg overflow-hidden",children:(0,n.jsx)(eA.default,{src:"/flags/ch-rec.svg",alt:"Switzerland",width:80,height:54,className:"object-cover w-full h-full"})})]})]}),(0,n.jsxs)("div",{className:"flex flex-col items-center gap-3",children:[(0,n.jsx)("p",{className:"text-[12px] font-semibold tracking-[1.4px] uppercase text-[#9CA3AF]",children:"Provided by regulated partners in"}),(0,n.jsxs)("div",{className:"flex items-center gap-6",children:[(0,n.jsx)("div",{className:"w-[80px] h-[54px] rounded-lg overflow-hidden",children:(0,n.jsx)(eA.default,{src:"/flags/us-rec.svg",alt:"United States",width:80,height:54,className:"object-cover w-full h-full"})}),(0,n.jsx)("div",{className:"w-[80px] h-[54px] rounded-lg overflow-hidden",children:(0,n.jsx)(eA.default,{src:"/flags/ae-rec.svg",alt:"United Arab Emirates",width:80,height:54,className:"object-cover w-full h-full"})})]})]})]})})},"RivaAsAServiceHeroSection",0,function(){return(0,n.jsx)("section",{className:"relative overflow-hidden",style:{background:"linear-gradient(90deg, #F8FAFC 0%, #F8FAFC 100%)"},children:(0,n.jsx)("div",{className:"max-w-[1280px] mx-auto px-6 lg:px-8 py-16 lg:py-32",children:(0,n.jsxs)("div",{className:"flex flex-col lg:flex-row lg:items-center lg:justify-between gap-12 lg:gap-16",children:[(0,n.jsxs)(eh.motion.div,{className:"flex flex-col items-center lg:items-start max-w-[590px] mx-auto lg:mx-0",variants:eD,initial:"hidden",animate:"visible",children:[(0,n.jsx)(eh.motion.div,{variants:eM,className:"mb-5",children:(0,n.jsxs)("div",{className:"inline-flex items-center gap-2 bg-accent-ivory border border-accent-pattens-blue rounded-full px-[13px] py-[5px]",children:[(0,n.jsx)("span",{className:"w-2 h-2 bg-brand-primary rounded-full"}),(0,n.jsx)("span",{className:"text-xs font-semibold text-brand-primary uppercase tracking-wide",children:"Riva as a Service"})]})}),(0,n.jsx)(eh.motion.div,{variants:eM,className:"text-center lg:text-left mb-5",children:(0,n.jsxs)("h1",{className:"text-[40px] lg:text-[60px] font-extrabold leading-[1] lg:leading-[60px] tracking-[-1.5px]",children:[(0,n.jsx)("span",{className:"text-neutral-900",children:"Global money movement"}),(0,n.jsx)("br",{}),(0,n.jsx)("span",{className:"text-brand-primary",children:"built into your product."})]})}),(0,n.jsx)(eh.motion.p,{variants:eM,className:"text-lg text-neutral-600 leading-[29.25px] text-center lg:text-left mb-6",children:"Keep your customer experience under your brand while Riva powers accounts, FX, compliance, payouts, and digital asset rails behind the scenes."}),(0,n.jsx)(eh.motion.div,{variants:eM,className:"flex flex-wrap justify-center lg:justify-start gap-3 mb-8",children:[{icon:eN.Code2,label:"APIs + Dashboard"},{icon:eF,label:"Compliance + Controls"},{icon:ej,label:"Fiat + Digital Asset Rails"}].map((e,t)=>(0,n.jsxs)(eh.motion.div,{className:"inline-flex items-center gap-2 bg-white/80 backdrop-blur-sm border border-neutral-200/60 rounded-full px-4 py-2 shadow-[0_1px_3px_rgba(0,0,0,0.04)] cursor-default",initial:{opacity:0,y:8}
411,animate:{opacity:1,y:0},transition:{duration:.5,ease:[.25,.46,.45,.94],delay:.6+.1*t},children:[(0,n.jsx)(e.icon,{className:"w-4 h-4 text-brand-primary",strokeWidth:2}),(0,n.jsx)("span",{className:"text-sm font-medium text-neutral-700",children:e.label})]},e.label))}),(0,n.jsxs)(eh.motion.div,{variants:eM,className:"flex flex-col sm:flex-row items-center gap-4 w-full sm:w-auto",children:[(0,n.jsxs)(eh.motion.a,{href:"https://calendly.com/nik-riva/intro-to-riva",className:"inline-flex items-center justify-center gap-2 bg-brand-primary hover:bg-brand-primary-hover text-white px-8 py-[14px] rounded-lg text-base font-medium shadow-button-blue transition-colors duration-200 w-full sm:w-auto",whileHover:{scale:1.02},whileTap:{scale:.98},"aria-label":"Talk to sales",children:["Talk to sales",(0,n.jsx)(eb.ArrowRight,{className:"w-[18px] h-[22px] rotate-[-45deg]",strokeWidth:2})]}),(0,n.jsx)(eh.motion.a,{href:"/offerings",className:"inline-flex items-center justify-center bg-white hover:bg-neutral-50 text-neutral-700 border border-[#E5E7EB] px-[33px] py-[15px] rounded-lg text-base font-medium transition-colors duration-200 w-full sm:w-auto",whileHover:{scale:1.02},whileTap:{scale:.98},"aria-label":"Explore offerings",children:"Explore offerings"})]})]}),(0,n.jsx)(eO,{})]})})})},"RivaAsAServiceSection",0,function(){return(0,n.jsx)("section",{id:"riva-as-a-service",className:"bg-white py-16 lg:py-24 scroll-mt-24",children:(0,n.jsxs)("div",{className:"max-w-[1280px] mx-auto px-6 lg:px-8",children:[(0,n.jsxs)(eh.motion.div,{className:"flex flex-col items-center gap-5 mb-14 lg:mb-20",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[(0,n.jsxs)("div",{className:"inline-flex items-center gap-2 bg-[#EFF6FF] border border-[#DBEAFE] rounded-full px-4 py-2",children:[(0,n.jsx)(eN.Code2,{className:"w-[16px] h-[16px] text-[#2563EB]",strokeWidth:2}),(0,n.jsx)("span",{className:"text-[13px] font-semibold text-[#2563EB]",children:"Riva as a Service"})]}),(0,n.jsxs)("h2",{className:"max-w-[980px] text-[28px] sm:text-[36px] lg:text-[44px] font-bold text-center tracking-tight leading-[1.15]",children:[(0,n.jsx)("span",{className:"text-[#0F172A]",children:"Launch payment capabilities "}),(0,n.jsx)("span",{className:"text-[#2563EB]",children:"inside your own product."})]}),(0,n.jsx)("p",{className:"text-base lg:text-lg text-[#475569] font-light text-center max-w-[820px] leading-7",children:"Embed accounts, FX, payouts, wallets, and cross-border money movement into your platform without stitching together banks, payment providers, and operational workflows."})]}),(0,n.jsx)(eq,{})]})})},"RivaTeamSection",0,function(){return null},"TeamSection",0,ta],55575)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.