@spicenet-io/spiceflow-ui 4.18.2 → 4.18.3-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
(function(){if(typeof document==="undefined"||document.getElementById("spiceflow-styles"))return;var s=document.createElement("style");s.id="spiceflow-styles";s.textContent="@keyframes spiceflow-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}}.spiceflow-focus-ring:focus-visible,[data-spiceflow-focus]:focus-visible{border-radius:4px;outline:2px solid currentColor;outline-offset:2px}@media (forced-colors:active){.spiceflow-focus-ring:focus-visible,[data-spiceflow-focus]:focus-visible{outline:2px solid Highlight}}.ibm-plex-mono-thin{font-weight:100}.ibm-plex-mono-extralight,.ibm-plex-mono-thin{font-family:IBM Plex Mono,monospace!important;font-style:normal}.ibm-plex-mono-extralight{font-weight:200}.ibm-plex-mono-light{font-weight:300}.ibm-plex-mono-light,.ibm-plex-mono-regular{font-family:IBM Plex Mono,monospace!important;font-style:normal}.ibm-plex-mono-regular{font-weight:400}.ibm-plex-mono-medium{font-weight:500}.ibm-plex-mono-medium,.ibm-plex-mono-semibold{font-family:IBM Plex Mono,monospace!important;font-style:normal}.ibm-plex-mono-semibold{font-weight:600}.ibm-plex-mono-bold{font-family:IBM Plex Mono,monospace!important;font-style:normal;font-weight:700}#privy-modal-content button{border-radius:6px;font-family:IBM Plex Mono,monospace!important;font-size:small;letter-spacing:-.5px;text-transform:uppercase}#privy-modal-content input{background:#fff;border-radius:6px;padding-top:5px!important}#privy-dialog-title{display:none!important;font-size:18px;padding-bottom:10px;padding-top:10px}.AppLogoContainer-sc-a206bd44-0{display:none}#privy-modal-content{background:var(--Neutral-0,#fafafa);border:6px solid var(--Neutral-1,#e9e9e9);box-shadow:inset 0 0 0 1px rgba(0,0,0,.15),0 330px 92px transparent,0 211px 84px rgba(0,0,0,.01),0 119px 71px rgba(0,0,0,.05),0 53px 53px rgba(0,0,0,.09),0 13px 29px rgba(0,0,0,.1);height:auto!important;padding-bottom:10px}.Subtitle-sc-ddbf22b4-4{font-size:12px;margin-top:-14px;opacity:.5}.StyledLink-sc-1c6127e5-0{background:none!important}.StyledLink-sc-c8577138-0,.login-method-button{font-family:IBM Plex Mono,monospace!important}.StyledLink-sc-c8577138-0{font-style:uppercase}#protected-by-privy{color:#000!important}";document.head.appendChild(s)})();
|
|
3
|
-
"use strict";var sc=Object.create;var Xr=Object.defineProperty;var oc=Object.getOwnPropertyDescriptor;var rc=Object.getOwnPropertyNames;var ac=Object.getPrototypeOf,ic=Object.prototype.hasOwnProperty;var lc=(e,t,n,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of rc(t))!ic.call(e,o)&&o!==n&&Xr(e,o,{get:()=>t[o],enumerable:!(s=oc(t,o))||s.enumerable});return e};var cc=(e,t,n)=>(n=e!=null?sc(ac(e)):{},lc(t||!e||!e.__esModule?Xr(n,"default",{value:e,enumerable:!0}):n,e));const i=require("react/jsx-runtime"),u=require("./privy-Df1bsdsz.js"),p=require("react"),S=require("@spicenet-io/spiceflow-core"),yn=require("wagmi"),T=require("viem"),dn=require("viem/actions"),ps=require("@privy-io/react-auth"),Gn=require("react-dom");require("@tanstack/react-query");const dc="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@100;200;300;400;500;600;700&display=swap",uc="spiceflow-ibm-plex-mono",pc="spiceflow-preconnect-googleapis",fc="spiceflow-preconnect-gstatic";function Ao(e,t){if(document.getElementById(e))return;const n=t();n.id=e,document.head.appendChild(n)}function mc(){typeof document>"u"||(Ao(pc,()=>{const e=document.createElement("link");return e.rel="preconnect",e.href="https://fonts.googleapis.com",e}),Ao(fc,()=>{const e=document.createElement("link");return e.rel="preconnect",e.href="https://fonts.gstatic.com",e.crossOrigin="",e}),Ao(uc,()=>{const e=document.createElement("link");return e.rel="stylesheet",e.href=dc,e}))}const hc={1:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",8453:"0x4200000000000000000000000000000000000006",42161:"0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",84532:"0x4200000000000000000000000000000000000006"},Jr=T.parseAbi(["function deposit() payable","function withdraw(uint256 wad)"]);function Eo(e){return u.getChainConfig(e)?.wrappedNativeTokenAddress??hc[e]}const Fo=(e,t)=>({to:e,value:t,data:T.encodeFunctionData({abi:Jr,functionName:"deposit"})}),To=(e,t)=>({to:e,value:0n,data:T.encodeFunctionData({abi:Jr,functionName:"withdraw",args:[t]})});function Bo(e,t,n){const s=S.isNativeToken(t),o=S.isNativeToken(n);if(!s&&!o)return null;const r=Eo(e);return r?{weth:r,wrapIn:s,unwrapOut:o}:null}function $r(e,t,n,s){const o=Bo(e,t,n);return!o||s<=0n?null:o.wrapIn&&!o.unwrapOut&&n.toLowerCase()===o.weth.toLowerCase()?[Fo(o.weth,s)]:o.unwrapOut&&!o.wrapIn&&t.toLowerCase()===o.weth.toLowerCase()?[To(o.weth,s)]:null}function gc(e){return{...e,resolve:async(t,n,s,o)=>{const r=$r(n,t.tokenIn,t.tokenOut,t.amountIn);if(r)return{venue:"native-wrap",amountOut:t.amountIn,amountOutMinimum:t.amountIn,calls:r};const a=await e.resolve(t,n,s,o);if(a)return a;const l=Bo(n,t.tokenIn,t.tokenOut);if(!l)return null;const c=await e.resolve({...t,tokenIn:l.wrapIn?l.weth:t.tokenIn,tokenOut:l.unwrapOut?l.weth:t.tokenOut},n,s,o);return c?{...c,calls:[...l.wrapIn?[Fo(l.weth,t.amountIn)]:[],...c.calls,...l.unwrapOut?[To(l.weth,c.amountOutMinimum)]:[]]}:null}}}function xc(e){return{...e,resolve:async(t,n,s)=>{const o=$r(n,t.tokenIn,t.tokenOut,t.amountOut);if(o)return{venue:"native-wrap",amountIn:t.amountOut,amountInMax:t.amountOut,amountOut:t.amountOut,calls:o};const r=await e.resolve(t,n,s);if(r)return r;const a=Bo(n,t.tokenIn,t.tokenOut);if(!a)return null;const l=await e.resolve({...t,tokenIn:a.wrapIn?a.weth:t.tokenIn,tokenOut:a.unwrapOut?a.weth:t.tokenOut},n,s);return l?{...l,calls:[...a.wrapIn?[Fo(a.weth,l.amountInMax)]:[],...l.calls,...a.unwrapOut?[To(a.weth,l.amountOut)]:[]]}:null}}}const _r=[100,500,3e3,1e4];function Hs(e,t,n,s,o){const r=[];for(const a of n){const l=typeof a=="object"&&!Array.isArray(a)?a:void 0,c=l?l.tokens:Array.isArray(a)?a:[a];if(!c.length||c.length>2)throw new Error("A v3 route must have one or two intermediate tokens");const d=[e,...c,t];if(l&&(l.feeTiers.length!==d.length-1||l.feeTiers.some(f=>!f.length)))throw new Error("A v3 route needs fee tiers for every pool");if(new Set(d.map(f=>f.toLowerCase())).size!==d.length)continue;const m=(f,h)=>{if(f===d.length){r.push(o==="in"?h:ea(h));return}for(const w of l?.feeTiers[f-1]??s)m(f+1,T.concatHex([h,T.encodePacked(["uint24","address"],[w,d[f]])]))};m(1,d[0])}return[...new Set(r)]}function ea(e){const t=e.slice(2),n=[];for(let s=0;s<t.length;){const o=n.length%2===0?40:6;n.push(t.slice(s,s+o)),s+=o}return`0x${n.reverse().join("")}`}const yc=T.parseAbi(["function exactOutputSingle((address tokenIn, address tokenOut, uint24 fee, address recipient, uint256 amountOut, uint256 amountInMaximum, uint160 sqrtPriceLimitX96) params) payable returns (uint256 amountIn)","function exactOutput((bytes path, address recipient, uint256 amountOut, uint256 amountInMaximum) params) payable returns (uint256 amountIn)"]),wc=T.parseAbi(["function exactOutputSingle((address tokenIn, address tokenOut, uint24 fee, address recipient, uint256 deadline, uint256 amountOut, uint256 amountInMaximum, uint160 sqrtPriceLimitX96) params) payable returns (uint256 amountIn)","function exactOutput((bytes path, address recipient, uint256 deadline, uint256 amountOut, uint256 amountInMaximum) params) payable returns (uint256 amountIn)"]),bc=1800;function ta(e){const{config:t,route:n,tokenIn:s,tokenOut:o,recipient:r,amountOut:a}=e,l=e.amountInMaximum,c=e.routerHasDeadline?wc:yc,d=e.routerHasDeadline?{deadline:BigInt(Math.floor(Date.now()/1e3)+bc)}:{},m=n.path?T.encodeFunctionData({abi:c,functionName:"exactOutput",args:[{path:n.path,recipient:r,...d,amountOut:a,amountInMaximum:l}]}):T.encodeFunctionData({abi:c,functionName:"exactOutputSingle",args:[{tokenIn:s,tokenOut:o,fee:n.fee,recipient:r,...d,amountOut:a,amountInMaximum:l,sqrtPriceLimitX96:0n}]});return{to:t.swapRouter,value:0n,data:m}}const vc=T.parseAbi(["function quoteExactInput(bytes path, uint256 amountIn) returns (uint256 amountOut, uint160[] sqrtPriceX96AfterList, uint32[] initializedTicksCrossedList, uint256 gasEstimate)","function quoteExactOutput(bytes path, uint256 amountOut) returns (uint256 amountIn, uint160[] sqrtPriceX96AfterList, uint32[] initializedTicksCrossedList, uint256 gasEstimate)"]);async function fs(e,t,n,s,o){const r=u.getClientForChain(e),{result:a}=await r.simulateContract({address:t.quoterV2,abi:vc,functionName:o==="in"?"quoteExactInput":"quoteExactOutput",args:[n,s]}),[l,,,c]=a;if(l<=0n)throw new Error("No liquidity along this path.");return{amount:l,gasEstimate:c}}async function Cc(e){const{tokenIn:t,tokenOut:n,amountIn:s,fee:o,chainId:r,config:a}=e;if(s<=0n)throw new Error("amountIn must be greater than 0");const l=(await u.getClientForChain(r).simulateContract({address:a.quoterV2,abi:S.uniV3QuoterV2Abi,functionName:"quoteExactInputSingle",args:[{tokenIn:t,tokenOut:n,amountIn:s,fee:o,sqrtPriceLimitX96:0n}]})).result;if(l[0]<=0n)throw new Error("No liquidity found for this pair. The pool returned 0 output.");return{amountOut:l[0],sqrtPriceX96After:l[1],gasEstimate:l[3]}}async function na(e){const t=e.feeTiers??_r,n=Hs(e.tokenIn,e.tokenOut,e.hubs??[],t,"in"),s=await Promise.allSettled([...t.map(async r=>({...await Cc({...e,fee:r}),fee:r})),...n.map(async r=>{const a=await fs(e.chainId,e.config,r,e.amountIn,"in");return{amountOut:a.amount,sqrtPriceX96After:0n,gasEstimate:a.gasEstimate,fee:0,path:r}})]);let o=null;for(const r of s)r.status==="fulfilled"&&(!o||r.value.amountOut>o.amountOut)&&(o=r.value);if(!o)throw new Error("No liquidity found for this pair on any fee tier.");return o}const kc=[{inputs:[{components:[{name:"tokenIn",type:"address"},{name:"tokenOut",type:"address"},{name:"amount",type:"uint256"},{name:"fee",type:"uint24"},{name:"sqrtPriceLimitX96",type:"uint160"}],name:"params",type:"tuple"}],name:"quoteExactOutputSingle",outputs:[{name:"amountIn",type:"uint256"},{name:"sqrtPriceX96After",type:"uint160"},{name:"initializedTicksCrossed",type:"uint32"},{name:"gasEstimate",type:"uint256"}],stateMutability:"nonpayable",type:"function"}];async function Sc(e){const{tokenIn:t,tokenOut:n,amountOut:s,fee:o,chainId:r,config:a}=e;if(s<=0n)throw new Error("amountOut must be greater than 0");const l=(await u.getClientForChain(r).simulateContract({address:a.quoterV2,abi:kc,functionName:"quoteExactOutputSingle",args:[{tokenIn:t,tokenOut:n,amount:s,fee:o,sqrtPriceLimitX96:0n}]})).result;if(l[0]<=0n)throw new Error("No liquidity found for this pair. The pool returned 0 input.");return{amountIn:l[0],sqrtPriceX96After:l[1],gasEstimate:l[3]}}async function sa(e){const t=e.feeTiers??_r,n=Hs(e.tokenIn,e.tokenOut,e.hubs??[],t,"out"),s=await Promise.allSettled([...t.map(async r=>({...await Sc({...e,fee:r}),fee:r})),...n.map(async r=>{const a=await fs(e.chainId,e.config,r,e.amountOut,"out");return{amountIn:a.amount,sqrtPriceX96After:0n,gasEstimate:a.gasEstimate,fee:0,path:r}})]);let o=null;for(const r of s)r.status==="fulfilled"&&(!o||r.value.amountIn<o.amountIn)&&(o=r.value);if(!o)throw new Error("No liquidity found for this pair on any fee tier.");return o}function Ic(e){return e.type==="swap"}const ms=.02,Ac=[1,8453,42161,10,137,43114,56],Ec="https://api.1inch.dev/swap/v6.0";function Ro(e,t){return S.applySlippage(e,t)}function Fc(e){const t=e?.baseUrl??Ec;return{name:"1inch",chainIds:e?.chainIds??Ac,resolve:async(n,s,o)=>{const r=n.maxSlippage??ms,a=r*100,l=S.isNativeToken(n.tokenIn)?S.NATIVE_TOKEN_ADDRESS:n.tokenIn,c=S.isNativeToken(n.tokenOut)?S.NATIVE_TOKEN_ADDRESS:n.tokenOut,d=S.isNativeToken(n.tokenIn);try{const m=new URL(`${t}/${s}/swap`);m.searchParams.set("src",l),m.searchParams.set("dst",c),m.searchParams.set("amount",n.amountIn.toString()),m.searchParams.set("from",o),m.searchParams.set("slippage",a.toString()),m.searchParams.set("disableEstimate","true"),m.searchParams.set("allowPartialFill","false");const f={Accept:"application/json"};e?.apiKey&&(f.Authorization=`Bearer ${e.apiKey}`);const h=await fetch(m.toString(),{headers:f});if(!h.ok)throw new u.SpiceflowError("VENUE_API_ERROR",`[1inchVenue] API returned ${h.status} for ${n.tokenIn} \u2192 ${n.tokenOut} on chain ${s}`,{venue:"1inch",chainId:s,tokenIn:n.tokenIn,tokenOut:n.tokenOut,amountIn:n.amountIn.toString(),cause:`HTTP ${h.status}`});const w=await h.json();if(!w.dstAmount||!w.tx)return console.warn(`[1inchVenue] No route data for ${n.tokenIn} \u2192 ${n.tokenOut} on chain ${s}`),null;const g=BigInt(w.dstAmount);if(g<=0n)return console.warn(`[1inchVenue] Zero output for ${n.tokenIn} \u2192 ${n.tokenOut} on chain ${s}`),null;const y=Ro(g,r),x=[];return w.tx.to&&!d&&x.push({to:n.tokenIn,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"approve",args:[w.tx.to,n.amountIn]})}),x.push({to:w.tx.to,value:BigInt(w.tx.value||"0"),data:w.tx.data}),{venue:"1inch",amountOut:g,amountOutMinimum:y,calls:x}}catch(m){if(m instanceof u.SpiceflowError)throw m;const f=m instanceof Error?m.message:String(m);throw new u.SpiceflowError("VENUE_API_ERROR",`[1inchVenue] Exception for ${n.tokenIn} \u2192 ${n.tokenOut} on chain ${s}: ${f}`,{venue:"1inch",chainId:s,tokenIn:n.tokenIn,tokenOut:n.tokenOut,amountIn:n.amountIn.toString(),cause:f})}}}}const oa=[4114,5115],jo={name:"Satsuma",swapRouter:"0x565eD3D57fe40f78A46f348C220121AE093c3cF8",quoterV2:"0x428f20dd8926Eabe19653815Ed0BE7D6c36f8425",feeTiers:[3e3]},ra={name:"Uniswap v3",swapRouter:"0x2626664c2603336E57B271c5C0b26F421741e481",quoterV2:"0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",chainIds:[8453],feeTiers:[100,500,3e3,1e4],hubCurrencies:["0x4200000000000000000000000000000000000006","0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]},aa={name:"Uniswap v3",swapRouter:"0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",quoterV2:"0x61fFE014bA17989E743c5F6cB21bF9697530B21e",chainIds:[1],feeTiers:[100,500,3e3,1e4],hubCurrencies:["0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"]},ia={name:"Uniswap v3",swapRouter:"0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",quoterV2:"0x61fFE014bA17989E743c5F6cB21bF9697530B21e",chainIds:[42161],feeTiers:[100,500,3e3,1e4],hubCurrencies:["0x82aF49447D8a07e3bd95BD0d56f35241523fBab1","0xaf88d065e77c8cC2239327C5EDb3A432268e5831"]},Tc={name:"Uniswap v3",swapRouter:"0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",quoterV2:"0x61fFE014bA17989E743c5F6cB21bF9697530B21e",chainIds:[137],feeTiers:[100,500,3e3,1e4],hubCurrencies:["0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270","0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359"]},Bc={name:"Uniswap v3",swapRouter:"0xB971eF87ede563556b2ED4b1C0b0019111Dd85d2",quoterV2:"0x78D78E420Da98ad378D7799bE8f4AF69033EB077",chainIds:[56],feeTiers:[100,500,3e3,1e4],hubCurrencies:["0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c","0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d"]},Rc={name:"Uniswap v3",swapRouter:"0xfe31f71c1b106eac32f1a19239c9a9a72ddfb900",quoterV2:"0x661e93cca42afacb172121ef892830ca3b70f08d",chainIds:[143],feeTiers:[100,500,3e3,1e4],hubCurrencies:["0x3bd359C1119dA7Da1D913D1C4D2B7c461115433A","0x754704Bc059F8C67012fEd69BC8A327a5aafb603"]},la={name:"Uniswap v3",swapRouter:"0xcaf681a66d020601342297493863e78c959e5cb2",quoterV2:"0x33e885ed0ec9bf04ecfb19341582aadcb4c8a9e7",chainIds:[4663],feeTiers:[100,500,3e3,1e4],hubCurrencies:["0x0bd7d308f8e1639fab988df18a8011f41eacad73","0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168"]},ca={name:"SushiSwap",swapRouter:"0x1e406484F1F204b23cE84B9901C0171a738fd406",quoterV2:"0x3E290e5E01818002A0b672148BdC7514D861C7B3",chainIds:[4663],feeTiers:[100,500,3e3,1e4],hubCurrencies:["0x0bd7d308f8e1639fab988df18a8011f41eacad73","0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168"],routerHasDeadline:!0},da=T.parseAbi(["function exactInput((bytes path, address recipient, uint256 amountIn, uint256 amountOutMinimum) params) payable returns (uint256 amountOut)"]),ua=T.parseAbi(["function exactInputSingle((address tokenIn, address tokenOut, uint24 fee, address recipient, uint256 deadline, uint256 amountIn, uint256 amountOutMinimum, uint160 sqrtPriceLimitX96) params) payable returns (uint256 amountOut)","function exactInput((bytes path, address recipient, uint256 deadline, uint256 amountIn, uint256 amountOutMinimum) params) payable returns (uint256 amountOut)"]),jc=T.parseAbi(["function exactInput((bytes path, address recipient, uint256 deadline, uint256 amountIn, uint256 amountOutMinimum) params) payable returns (uint256 amountOut)"]),Dc=T.parseAbi(["function exactOutput((bytes path, address recipient, uint256 deadline, uint256 amountOut, uint256 amountInMaximum) params) payable returns (uint256 amountIn)"]),Do=1800,pa=[1,50,100,200,2e3],Vs={name:"Aerodrome",swapRouter:"0xcbBb8035cAc7D4B3Ca7aBb74cF7BdF900215Ce0D",quoterV2:"0x3d4C22254F86f64B7eC90ab8F7aeC1FBFD271c6C",chainIds:[8453],hubCurrencies:["0x4200000000000000000000000000000000000006","0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]};function Qs(e){const t=e.name??"Aerodrome",n=e.chainIds??[8453],s=e.tickSpacings??pa;return{name:t,chainIds:n,resolve:async(o,r,a)=>{if(S.isNativeToken(o.tokenIn)||S.isNativeToken(o.tokenOut))return null;const l=o.maxSlippage??ms,c=[...s.map(x=>T.encodePacked(["address","uint24","address"],[o.tokenIn,x,o.tokenOut])),...Hs(o.tokenIn,o.tokenOut,e.hubCurrencies??[],s,"in")],d={quoterV2:e.quoterV2},m=await Promise.allSettled(c.map(async x=>({path:x,amountOut:(await fs(r,d,x,o.amountIn,"in")).amount})));let f=null;for(const x of m)x.status==="fulfilled"&&(!f||x.value.amountOut>f.amountOut)&&(f=x.value);if(!f)return console.warn(`[AerodromeVenue] No viable route for ${o.tokenIn} \u2192 ${o.tokenOut} on chain ${r}.`),null;const h=Ro(f.amountOut,l),w=BigInt(Math.floor(Date.now()/1e3)+Do),g=T.encodeFunctionData({abi:jc,functionName:"exactInput",args:[{path:f.path,recipient:a,deadline:w,amountIn:o.amountIn,amountOutMinimum:h}]}),y=[{to:o.tokenIn,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"approve",args:[e.swapRouter,o.amountIn]})},{to:e.swapRouter,value:0n,data:g}];return{venue:t,amountOut:f.amountOut,amountOutMinimum:h,calls:y}}}}function fa(e){const t=e.name??"Aerodrome",n=e.chainIds??[8453],s=e.tickSpacings??pa;return{name:t,chainIds:n,resolve:async(o,r,a)=>{if(S.isNativeToken(o.tokenIn)||S.isNativeToken(o.tokenOut))return null;const l=o.maxSlippage??ms,c=[...s.map(y=>T.encodePacked(["address","uint24","address"],[o.tokenOut,y,o.tokenIn])),...Hs(o.tokenIn,o.tokenOut,e.hubCurrencies??[],s,"out")],d={quoterV2:e.quoterV2},m=await Promise.allSettled(c.map(async y=>({path:y,amountIn:(await fs(r,d,y,o.amountOut,"out")).amount})));let f=null;for(const y of m)y.status==="fulfilled"&&(!f||y.value.amountIn<f.amountIn)&&(f=y.value);if(!f)return console.warn(`[AerodromeExactOutputVenue] No viable route for ${o.tokenIn} \u2192 ${o.tokenOut} on chain ${r}.`),null;const h=BigInt(Math.round(l*1e4)),w=f.amountIn+f.amountIn*h/10000n,g=BigInt(Math.floor(Date.now()/1e3)+Do);return{venue:t,amountIn:f.amountIn,amountInMax:w,amountOut:o.amountOut,calls:[{to:e.swapRouter,value:0n,data:T.encodeFunctionData({abi:Dc,functionName:"exactOutput",args:[{path:f.path,recipient:a,deadline:g,amountOut:o.amountOut,amountInMaximum:w}]})}]}}}}function hs(e){const t=e.name??"Uniswap v3",n=e.chainIds??oa;return{name:t,chainIds:n,resolve:async(s,o,r,a)=>{if(S.isNativeToken(s.tokenIn)||S.isNativeToken(s.tokenOut))return null;const l=s.maxSlippage??ms;let c;try{let g;if(a){if(a.venue!==t)return null;const y=a.calls.find(b=>b.to.toLowerCase()===e.swapRouter.toLowerCase());if(!y)return null;const x=T.decodeFunctionData({abi:e.routerHasDeadline?ua:[...da,...S.uniV3SwapRouterAbi],data:y.data});if(x.functionName==="exactInput"){const{path:b}=x.args[0];if(b.slice(0,42).toLowerCase()!==s.tokenIn.toLowerCase()||`0x${b.slice(-40)}`.toLowerCase()!==s.tokenOut.toLowerCase())return null;g={path:b,fee:0}}else if(x.functionName==="exactInputSingle"){const{tokenIn:b,tokenOut:v,fee:C}=x.args[0];if(b.toLowerCase()!==s.tokenIn.toLowerCase()||v.toLowerCase()!==s.tokenOut.toLowerCase())return null;g={fee:C}}else return null}c=g?.path?{...g,amountOut:(await fs(o,e,g.path,s.amountIn,"in")).amount}:await na({tokenIn:s.tokenIn,tokenOut:s.tokenOut,amountIn:s.amountIn,chainId:o,config:{swapRouter:e.swapRouter,quoterV2:e.quoterV2},feeTiers:g?[g.fee]:e.feeTiers,hubs:g?[]:[...e.hubCurrencies??[],...e.hubPaths??[]]})}catch{return console.warn(`[UniV3Venue] No viable route for ${s.tokenIn} \u2192 ${s.tokenOut} on chain ${o}.`),null}const d=Ro(c.amountOut,l),m=e.routerHasDeadline?{deadline:BigInt(Math.floor(Date.now()/1e3)+Do)}:{},f=e.routerHasDeadline?ua:c.path?da:S.uniV3SwapRouterAbi,h=c.path?T.encodeFunctionData({abi:f,functionName:"exactInput",args:[{path:c.path,recipient:r,...m,amountIn:s.amountIn,amountOutMinimum:d}]}):T.encodeFunctionData({abi:f,functionName:"exactInputSingle",args:[{tokenIn:s.tokenIn,tokenOut:s.tokenOut,fee:c.fee,recipient:r,...m,amountIn:s.amountIn,amountOutMinimum:d,sqrtPriceLimitX96:0n}]}),w=[{to:s.tokenIn,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"approve",args:[e.swapRouter,s.amountIn]})},{to:e.swapRouter,value:0n,data:h}];return{venue:t,amountOut:c.amountOut,amountOutMinimum:d,calls:w}}}}function Oo(e){const t=e.name??"Uniswap v3",n=e.chainIds??oa;return{name:t,chainIds:n,resolve:async(s,o,r)=>{if(S.isNativeToken(s.tokenIn)||S.isNativeToken(s.tokenOut))return null;const a=s.maxSlippage??ms;let l;try{l=await sa({tokenIn:s.tokenIn,tokenOut:s.tokenOut,amountOut:s.amountOut,chainId:o,config:{swapRouter:e.swapRouter,quoterV2:e.quoterV2},feeTiers:e.feeTiers,hubs:[...e.hubCurrencies??[],...e.hubPaths??[]]})}catch{return null}const c=BigInt(Math.round(a*1e4)),d=l.amountIn+l.amountIn*c/10000n;return{venue:t,amountIn:l.amountIn,amountInMax:d,amountOut:s.amountOut,calls:[ta({config:{swapRouter:e.swapRouter,quoterV2:e.quoterV2},routerHasDeadline:e.routerHasDeadline,route:l,tokenIn:s.tokenIn,tokenOut:s.tokenOut,recipient:r,amountOut:s.amountOut,amountInMaximum:d})]}}}}function ma(e){const t=[];e?.customVenues&&t.push(...e.customVenues),e?.satsuma&&t.push(hs(e.satsuma)),e?.aerodrome!==!1&&t.push(Qs(e?.aerodrome??Vs)),t.push(Fc(e?.oneInch));const n=t.map(gc);function s(a){return n.find(l=>l.chainIds.includes(a))}async function o(a,l,c,d){const m=n.filter(g=>g.chainIds.includes(l));if(m.length===0)throw new u.SpiceflowError("NO_VENUE_FOR_CHAIN",`No liquidity venue configured for chain ${l}. Cannot resolve swap ${a.tokenIn} \u2192 ${a.tokenOut}.`,{chainId:l,tokenIn:a.tokenIn,tokenOut:a.tokenOut,amountIn:a.amountIn.toString()});const f=await Promise.allSettled(m.map(g=>g.resolve(a,l,c,d)));let h=null;for(const g of f)d&&g.status==="fulfilled"&&g.value&&(g.value.venue!==d.venue||g.value.calls.length!==d.calls.length||g.value.calls.some((y,x)=>y.to.toLowerCase()!==d.calls[x].to.toLowerCase()||y.data.slice(0,10)!==d.calls[x].data.slice(0,10)))||g.status==="fulfilled"&&g.value&&(!h||g.value.amountOut>h.amountOut)&&(h=g.value);if(h)return h;const w=f.find(g=>g.status==="rejected");if(w)throw w.reason;return null}async function r(a,l,c){const d=[],m=[];for(const f of a){if(!Ic(f)){d.push(f);continue}const h=await o(f,l,c);if(!h)throw new u.SpiceflowError("NO_LIQUIDITY",`No venue returned a quote for ${f.tokenIn} \u2192 ${f.tokenOut} on chain ${l}.`,{chainId:l,tokenIn:f.tokenIn,tokenOut:f.tokenOut,amountIn:f.amountIn.toString()});d.push(...h.calls),m.push(h)}return{calls:d,resolvedSwaps:m}}return{resolveSwapIntents:r,resolveSwap:o,getVenueForChain:s,venues:t}}const hn="0x0000000000000000000000000000000000000000",No=[{fee:100,tickSpacing:1},{fee:500,tickSpacing:10},{fee:3e3,tickSpacing:60},{fee:1e4,tickSpacing:200}],ha=hn,ga=.02,Oc=1800,xa={name:"Uniswap v4",quoter:"0x0d5e0f971ed27fbff6c2837bf31316121532048d",universalRouter:"0x6ff5693b99212da76ad316178a184ab56d299b43",permit2:"0x000000000022d473030f116ddee9f6b43ac78ba3",chainIds:[8453],hubCurrencies:["0x4200000000000000000000000000000000000006",hn,"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]},ya={name:"Uniswap v4",quoter:"0x8dc178efb8111bb0973dd9d722ebeff267c98f94",universalRouter:"0x8876789976decbfcbbbe364623c63652db8c0904",permit2:"0x000000000022d473030f116ddee9f6b43ac78ba3",routerHasHopPrice:!0,chainIds:[4663],hubCurrencies:["0x0bd7d308f8e1639fab988df18a8011f41eacad73",hn,"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168"]},wa=T.parseAbi(["struct PoolKey { address currency0; address currency1; uint24 fee; int24 tickSpacing; address hooks; }","struct PathKey { address intermediateCurrency; uint24 fee; int24 tickSpacing; address hooks; bytes hookData; }","struct QuoteExactSingleParams { PoolKey poolKey; bool zeroForOne; uint128 exactAmount; bytes hookData; }","struct QuoteExactParams { address exactCurrency; PathKey[] path; uint128 exactAmount; }","function quoteExactInputSingle(QuoteExactSingleParams params) returns (uint256 amountOut, uint256 gasEstimate)","function quoteExactInput(QuoteExactParams params) returns (uint256 amountOut, uint256 gasEstimate)","function quoteExactOutputSingle(QuoteExactSingleParams params) returns (uint256 amountIn, uint256 gasEstimate)","function quoteExactOutput(QuoteExactParams params) returns (uint256 amountIn, uint256 gasEstimate)"]),Nc=T.parseAbi(["function approve(address token, address spender, uint160 amount, uint48 expiration)"]),Pc=T.parseAbi(["function execute(bytes commands, bytes[] inputs, uint256 deadline) payable"]),ba="0x10",Mc="04",Uc="06",Wc="07",Lc="08",qc="09",Gs="0c",Ks="0e",zc=[{name:"currency0",type:"address"},{name:"currency1",type:"address"},{name:"fee",type:"uint24"},{name:"tickSpacing",type:"int24"},{name:"hooks",type:"address"}],Hc=[{name:"intermediateCurrency",type:"address"},{name:"fee",type:"uint24"},{name:"tickSpacing",type:"int24"},{name:"hooks",type:"address"},{name:"hookData",type:"bytes"}],wn=(e,t)=>e.toLowerCase()===t.toLowerCase();function Zs(e){return S.isNativeToken(e)?hn:e}function Vc(e,t){return e.toLowerCase()<t.toLowerCase()?[e,t]:[t,e]}function va(e,t,n,s,o){const r=[],[a,l]=Vc(e,t);for(const{fee:d,tickSpacing:m}of No)r.push({kind:"single",poolKey:{currency0:a,currency1:l,fee:d,tickSpacing:m,hooks:ha},zeroForOne:wn(e,a)});const c=(d,m)=>!!o&&(wn(d,hn)&&wn(m,o)||wn(d,o)&&wn(m,hn));for(const d of n)if(!(wn(d,e)||wn(d,t))&&!(c(d,e)||c(d,t)))for(const m of No)for(const f of No){const h=(w,g)=>({intermediateCurrency:w,fee:g.fee,tickSpacing:g.tickSpacing,hooks:ha,hookData:"0x"});r.push({kind:"multi",path:s==="in"?[h(d,m),h(t,f)]:[h(e,m),h(d,f)]})}return r}async function Ca(e,t,n,s,o,r){const a=u.getClientForChain(e),l=(await Promise.allSettled(n.map(async c=>{const{result:d}=c.kind==="single"?await a.simulateContract({address:t.quoter,abi:wa,functionName:r==="in"?"quoteExactInputSingle":"quoteExactOutputSingle",args:[{poolKey:c.poolKey,zeroForOne:c.zeroForOne,exactAmount:o,hookData:"0x"}]}):await a.simulateContract({address:t.quoter,abi:wa,functionName:r==="in"?"quoteExactInput":"quoteExactOutput",args:[{exactCurrency:s,path:c.path,exactAmount:o}]}),m=d[0];if(m<=0n)throw new Error("zero quote");return{candidate:c,amount:m}}))).filter(c=>c.status==="fulfilled").map(c=>c.value);return l.length===0?null:(l.sort((c,d)=>c.amount<d.amount?-1:c.amount>d.amount?1:0),r==="in"?l[l.length-1]:l[0])}function ka(e){const{candidate:t,direction:n,currencyIn:s,currencyOut:o,recipient:r,exactAmount:a,limitAmount:l,deadline:c,routerHasHopPrice:d,sweepNativeTo:m}=e;let f,h;t.kind==="single"?(f=n==="in"?`0x${Uc}${Gs}${Ks}`:`0x${Lc}${Gs}${Ks}`,h=T.encodeAbiParameters([{type:"tuple",components:[{name:"poolKey",type:"tuple",components:zc},{name:"zeroForOne",type:"bool"},{name:n==="in"?"amountIn":"amountOut",type:"uint128"},{name:n==="in"?"amountOutMinimum":"amountInMaximum",type:"uint128"},...d?[{name:"minHopPriceX36",type:"uint256"}]:[],{name:"hookData",type:"bytes"}]}],[{poolKey:t.poolKey,zeroForOne:t.zeroForOne,[n==="in"?"amountIn":"amountOut"]:a,[n==="in"?"amountOutMinimum":"amountInMaximum"]:l,...d?{minHopPriceX36:0n}:{},hookData:"0x"}])):(f=n==="in"?`0x${Wc}${Gs}${Ks}`:`0x${qc}${Gs}${Ks}`,h=T.encodeAbiParameters([{type:"tuple",components:[{name:n==="in"?"currencyIn":"currencyOut",type:"address"},{name:"path",type:"tuple[]",components:Hc},...d?[{name:"minHopPriceX36",type:"uint256[]"}]:[],{name:n==="in"?"amountIn":"amountOut",type:"uint128"},{name:n==="in"?"amountOutMinimum":"amountInMaximum",type:"uint128"}]}],[{[n==="in"?"currencyIn":"currencyOut"]:n==="in"?s:o,path:t.path,...d?{minHopPriceX36:[]}:{},[n==="in"?"amountIn":"amountOut"]:a,[n==="in"?"amountOutMinimum":"amountInMaximum"]:l}]));const w=T.encodeAbiParameters([{type:"address"},{type:"uint256"}],[s,n==="in"?a:l]),g=T.encodeAbiParameters([{type:"address"},{type:"address"},{type:"uint256"}],[o,r,0n]),y=T.encodeAbiParameters([{type:"bytes"},{type:"bytes[]"}],[f,[h,w,g]]),x=m?`${ba}${Mc}`:ba,b=m?[y,T.encodeAbiParameters([{type:"address"},{type:"address"},{type:"uint256"}],[hn,m,0n])]:[y];return T.encodeFunctionData({abi:Pc,functionName:"execute",args:[x,b,c]})}function Sa(){return BigInt(Math.floor(Date.now()/1e3)+Oc)}function Ia(e,t,n,s){return{to:e.permit2,value:0n,data:T.encodeFunctionData({abi:Nc,functionName:"approve",args:[t,e.universalRouter,n,Number(s)]})}}function Aa(e){const t=e.name??"Uniswap v4",n=e.v3?hs({...e.v3,chainIds:e.chainIds}):null;return{name:t,chainIds:e.chainIds,resolve:async(s,o,r)=>{const a=s.maxSlippage??ga,l=Zs(s.tokenIn),c=Zs(s.tokenOut),d=S.isNativeToken(s.tokenIn),m=e.hubCurrencies??[hn];let f=null;if(!wn(l,c)&&s.amountIn>0n){const h=await Ca(o,e,va(l,c,m,"in",Eo(o)),l,s.amountIn,"in").catch(()=>null);if(h){const w=S.applySlippage(h.amount,a),g=Sa(),y=[];d||(y.push({to:s.tokenIn,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"approve",args:[e.permit2,s.amountIn]})}),y.push(Ia(e,s.tokenIn,s.amountIn,g))),y.push({to:e.universalRouter,value:d?s.amountIn:0n,data:ka({candidate:h.candidate,direction:"in",currencyIn:l,currencyOut:c,recipient:r,exactAmount:s.amountIn,limitAmount:w,deadline:g,routerHasHopPrice:e.routerHasHopPrice})}),f={venue:t,amountOut:h.amount,amountOutMinimum:w,calls:y}}}return!f&&n?n.resolve(s,o,r):f}}}function Ea(e){const t=e.name??"Uniswap v4";return{name:t,chainIds:e.chainIds,resolve:async(n,s,o)=>{const r=S.isNativeToken(n.tokenIn),a=Zs(n.tokenIn),l=Zs(n.tokenOut);if(wn(a,l)||n.amountOut<=0n)return null;const c=n.maxSlippage??ga,d=e.hubCurrencies??[hn],m=await Ca(s,e,va(a,l,d,"out",Eo(s)),l,n.amountOut,"out").catch(()=>null);if(!m)return null;const f=BigInt(Math.round(c*1e4)),h=m.amount+m.amount*f/10000n,w=Sa();return{venue:t,amountIn:m.amount,amountInMax:h,amountOut:n.amountOut,calls:[...r?[]:[Ia(e,n.tokenIn,h,w)],{to:e.universalRouter,value:r?h:0n,data:ka({candidate:m.candidate,direction:"out",currencyIn:a,currencyOut:l,recipient:o,exactAmount:n.amountOut,limitAmount:h,deadline:w,routerHasHopPrice:e.routerHasHopPrice,sweepNativeTo:r?o:void 0})}]}}}}const Po=[{...jo,protocol:"uniswap-v3",chainId:4114},{...jo,protocol:"uniswap-v3",chainId:5115},{...ra,protocol:"uniswap-v3",chainId:8453},{...aa,protocol:"uniswap-v3",chainId:1},{...ia,protocol:"uniswap-v3",chainId:42161},{...Tc,protocol:"uniswap-v3",chainId:137},{...Bc,protocol:"uniswap-v3",chainId:56},{...Rc,protocol:"uniswap-v3",chainId:143},{...la,protocol:"uniswap-v3",chainId:4663},{...ca,protocol:"uniswap-v3",chainId:4663},{...xa,protocol:"uniswap-v4",chainId:8453},{...ya,protocol:"uniswap-v4",chainId:4663},{...Vs,protocol:"aerodrome-slipstream",chainId:8453}];function Pn(e){const t=e?.includeDefaults===!1?e.venues??[]:[...Po,...e?.venues??[]],n=[],s=[];for(const o of t){const r=[o.chainId];switch(o.protocol){case"uniswap-v3":{const a={...o,chainIds:r};n.push(hs(a)),s.push(Oo(a));break}case"uniswap-v4":{const a={...o,chainIds:r};n.push(Aa(a)),s.push(Ea(a));break}case"aerodrome-slipstream":{const a={...o,chainIds:r};n.push(Qs(a)),s.push(fa(a));break}default:{const a=o;throw new u.SpiceflowError("INVALID_PARAMS",`Unsupported liquidity venue protocol: ${a.protocol}`,{protocol:a.protocol})}}}return{input:n,output:s}}const Mo=new Set(["WBTC","CBTC"]),Fa=new Set(["btc","wbtc","wcbtc","cbtc"]);function Ta(e,t){return!e||!t?!1:e===t?!0:Mo.has(e)&&Mo.has(t)}function gn(e){const[t,n,s]=e.split(":");if(t!=="evm"||!n||!s)return null;const o=Number(n);if(!Number.isFinite(o))return null;const r=s.startsWith("0x")?s.toLowerCase():`0x${s.toLowerCase()}`;return{chainId:o,address:r}}function Ys(e){return(e??"").trim().replace(/^test\s+/i,"").replace(/^spice/i,"").toLowerCase().replace(/[^a-z0-9]/g,"")}function Qc(e){return new Set([e.receiptTokenName,e.displaySymbol,e.symbol,e.displayName,e.name].map(Ys).filter(Boolean))}function Gc(e,t){const n=Qc(e),s=[t.symbol,t.name,t.equivalenceGroup].map(Ys);if(s.some(a=>a&&n.has(a)))return!0;const o=[...n].some(a=>Fa.has(a)),r=s.some(a=>Fa.has(a))||Mo.has(t.equivalenceGroup??"");return o&&r}function Ba(e,t,n){const s=new Set(t.map(Ys).filter(Boolean)),o=r=>{if(n&&u.addressesEqual(r.address,n))return 0;const a=[r.symbol,r.name,r.equivalenceGroup].map(Ys).findIndex(l=>l&&s.has(l));return a===-1?4:a+1};return[...e].sort((r,a)=>{const l=o(r)-o(a);return l!==0?l:r.address.toLowerCase().localeCompare(a.address.toLowerCase())})}function Kn(e,t){const n=e.chainTokens?Object.keys(e.chainTokens):[],s=[];for(const o of n){const r=gn(o);if(!r||r.chainId!==t)continue;const a=r.address,l=S.isNativeToken(a)?u.getChainConfig(t)?.nativeCurrency:void 0,c=S.getTokenByAddress(a,t)??(l?{...l}:void 0);c&&(!Uo(e,a,t)&&!(e.isUniversal&&Gc(e,c))||s.some(d=>u.addressesEqual(d,a))||s.push(a))}return Ba(s.map(o=>{const r=S.getTokenByAddress(o,t);return{address:o,symbol:r?.symbol,name:r?.name,equivalenceGroup:r?.equivalenceGroup}}),[e.receiptTokenName,e.displaySymbol,e.symbol,e.displayName,e.name],e.chainId===t&&!e.isUniversal?e.address:void 0).map(o=>o.address)}function Uo(e,t,n){return e.chainId===n&&u.addressesEqual(e.address,t)?!0:gs(e.address,e.chainId,t,n)}async function Kc(e,t){const n=u.getClientForChain(e),s=S.getEscrowContractAddress(e);return S.isNativeToken(t)?n.getBalance({address:s}):await n.readContract({address:t,abi:T.erc20Abi,functionName:"balanceOf",args:[s]})}function Wo(e,t,n){const s=S.getTokensForChain(n),o=s.find(a=>u.addressesEqual(a.address,e));if(o&&(t===n||!S.isNativeToken(e)))return o;const r=S.getTokenByAddress(e,t);if(r)return Ba(s.filter(a=>Ta(a.equivalenceGroup,r.equivalenceGroup)),[r.symbol,r.name,r.equivalenceGroup])[0]}function Xs(e){return e.equivalenceGroup==="USDC"&&e.symbol.toUpperCase()!=="USDT"}function Ra(e){const t=S.getEscrowContract(e);if(!t||t===S.ZERO_ADDRESS)return;const n=S.getTokensForChain(e).filter(Xs);return n.find(s=>s.symbol.toUpperCase()==="USDC")??n[0]}function Lo(e,t){if(e.chainId===t)return null;const n=S.getEscrowContract(e.chainId),s=S.getEscrowContract(t);if(!n||n===S.ZERO_ADDRESS||!s||s===S.ZERO_ADDRESS)return null;const o=!e.isNative&&!S.isNativeToken(e.address)?S.getTokenByAddress(e.address,e.chainId):void 0,r=o&&Xs(o)?Wo(e.address,e.chainId,t):void 0,a=r?o:Ra(e.chainId),l=r??Ra(t);if(!a||!l)return null;const c=d=>({address:d.address,symbol:d.symbol,decimals:d.decimals,chainId:d.chainId});return{source:c(a),destination:c(l)}}function Zc(e,t){return!!Lo(e,t)}function sn(e,t){if(e.chainId===t)return e.address;const n=Wo(e.address,e.chainId,t);return n?n.address:null}async function bn(e,t,n,s){const o=S.getTokenByAddress(t,n);return o?o.decimals:e?.chainId===n&&u.addressesEqual(e.address,t)&&!e.isUniversal?e.decimals:s?.chainId===n&&u.addressesEqual(s.address,t)?s.decimals:u.getTokenDecimals(n,t)}async function ja(e,t,n={}){const s=sn(e,t),o=Kn(e,t);if(o.length===0)return s;if(o.length===1)return o[0];const r=n.requiredAmount??0n,a=l=>{const c=o.map(d=>({candidate:d,balance:l.get(S.isNativeToken(d)?"native":d.toLowerCase())??0n})).filter(d=>d.balance>0n).sort((d,m)=>d.balance===m.balance?0:d.balance>m.balance?-1:1);return c.length===0?null:((r>0n?c.find(d=>d.balance>=r):c[0])??c[0]).candidate};try{const l=await Promise.all(o.map(async m=>({key:S.isNativeToken(m)?"native":m.toLowerCase(),value:await Kc(t,m)}))),c=new Map(l.map(({key:m,value:f})=>[m,f])),d=a(c);if(d)return d}catch{}return s}function gs(e,t,n,s){const o=S.getTokenByAddress(e,t),r=S.getTokenByAddress(n,s);return o&&r?Ta(o.equivalenceGroup,r.equivalenceGroup):S.areEquivalent(e,n)}function Js(e,t){return gs(e.address,e.chainId,t.address,t.chainId)}const Da=.01;function Oa(e,t=!1){const n=Number.isFinite(e.balanceUsd)&&e.balanceUsd>0;return e.isDiscovered?n&&e.balanceUsd>=Da:!t||!n||e.balanceUsd>=Da}function $s(e,t=!1){return!!e&&e._source==="wallet"&&(e.location==="external"||e._fundingWallet==="external"||!e.location&&!e._fundingWallet&&t)}function ye(e){return e.positionId??`${e.owner?.toLowerCase()??""}:${e.location??e._source??""}:${e.chainId}:${e.receiptTokenId??S.normalizeNativeTokenAddress(e.address).toLowerCase()}`}function Na(e,t){if(!t?.length||e.symbol!==void 0&&u.isAssetAllowed({...e,symbol:e.symbol},t))return!0;const n=s=>t.some(o=>u.addressesEqual(S.normalizeNativeTokenAddress(o),S.normalizeNativeTokenAddress(s)));return n(e.address)||Object.keys(e.chainTokens??{}).some(s=>{const o=gn(s);return o?n(o.address):!1})}function En(e,t,n,s,o,r){const a=(y,x=!1)=>({eligible:!1,reason:y,policyExcluded:x}),l=e._source==="wallet"||e.location==="external"||e.location==="embedded",c=t==="spend-source"&&l&&!!s&&e.chainId===s.chainId&&u.addressesEqual(S.normalizeNativeTokenAddress(e.address),S.normalizeNativeTokenAddress(s.address));if(n.isWhitelistGateActive||!c&&!u.isAssetAllowed(e,n.allowedTokens))return a("Asset excluded by client policy",!0);if(t!=="withdraw-destination"&&!c&&!Oa(e))return a("Asset is unpriced or below the minimum value",!0);if(t==="holding")return{eligible:!0,reason:null};if(e.balanceError)return a(e.balanceError);if(!c&&!Na(e,o))return a("Asset excluded by action policy",!0);const d=new Set(s?[s.chainId]:[]);e._source!=="spice"&&e.location!=="rollup"&&d.add(e.chainId);for(const y of d)if(!u.getRpcUrlForChain(y,n.rpcOverrides)?.trim())return a(`Configure SpiceFlowProvider rpcOverrides[${y}] before using this asset.`);if(r?.requiresEscrow){const y=S.getTokenByAddress(e.address,e.chainId);if(!y||!Xs(y))return a("This asset has no supported escrow mapping")}if(!s)return{eligible:!0,reason:null};const m=n.liquidityVenues?.includeDefaults===!1?n.liquidityVenues.venues??[]:[...Po,...n.liquidityVenues?.venues??[]],f=y=>m.some(x=>x.chainId===y),h=l&&e.chainId!==s.chainId,w=h?Lo(e,s.chainId):null;if(h&&!w)return a("No supported source route");if(w&&!u.addressesEqual(S.normalizeNativeTokenAddress(e.address),S.normalizeNativeTokenAddress(w.source.address))&&!f(e.chainId))return a("No conversion venue configured on the source chain");const g=w?.destination.address??sn(e,s.chainId);return t==="withdraw-destination"?(e.chainTokens||e.receiptTokenId?Kn(e,s.chainId):g?[g]:[]).some(y=>u.addressesEqual(S.normalizeNativeTokenAddress(y),S.normalizeNativeTokenAddress(s.address)))?{eligible:!0,reason:null}:a("No supported withdrawal mapping"):g&&u.addressesEqual(S.normalizeNativeTokenAddress(g),S.normalizeNativeTokenAddress(s.address))?{eligible:!0,reason:null}:!g&&!Zc(e,s.chainId)?a("No supported destination route"):f(s.chainId)?{eligible:!0,reason:null}:a("No conversion venue configured on the destination chain")}function _s(){const e=p.useContext(u.SpiceFlowProviderContext),[t]=p.useState(u.createInventoryStore);return e?.inventory??t}function qo(e,t,n,s,o){const r=_s(),a=o??r,l=p.useMemo(()=>a.entry(e),[a,e]),[,c]=p.useState(0);p.useEffect(()=>{if(n)return l.subscribe(()=>c(m=>m+1),t,s)},[l,n,t,s]);const d=p.useCallback(()=>l.refresh(),[l]);return{...n?l.snapshot():u.EMPTY_INVENTORY,refresh:d}}var Pa="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAA6lBMVEXc3NzX/v/1hRvZ2dnd3dzb29va7fpMaXHa1tPc3N35/v/c3Nzc3NzCrp/c3Nza2tp1PRbLsJzlr33uhSj0kTHcnWnUva7jdhuNX0B6Qhrsk0LOxMCFVDJ+RyGhfGTkeiGYVSHjdx3lij7khDPEsaPfoW/jgjLQuKXmgzB2PRb2hRvldhvjdRv4hhvpeRtw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BMVEVMaXGZhueZh+eYhuWXheWYh+eYhuaXheCYhuaah+j//fmhjvOSf+Sdi+q8sOzNxO/m4fT08fapmuja0/Jb/wGxAAAACnRSTlMArEz/IYtsA87sGIEBYwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAmJJREFUeNqtV4uSgyAMRIECGhTk///1otTKG3s2Mzdz03aXbEJIQkhuYv9jIx+komhKDnxk4v1F1wT+SoxcUj3PWu8Ex39U8lH4bzt4QthL6tlDA8OP5Iv1vMADGFc5+uRQnDWdEES81EwbNquXqDuBx8va6ZcXktUYBOkc/3GixsBvwA8neFGGGO7hdyeGAsMXeM/wBJ8ziLv6LwYeisD4f4lHhiAXmH9FvzYV3AchOw6At9gFKW4KANDbsttGoSyCKd1Ab4uxkzezhBQaRfQygHB3oj2FhjwT9QgifErM6jiOrQgAXe2UmcuiIKSuHG+mki2XCH0kYqzgF1vETyYszLFaxLBMNdsgDGNFAazRoUcwrDMlDYz28RS0newGcCRlDa8TK4YgxuORGj9x8NYVEsxjKQSp/pNAw5YRcJI/JP5nYeqxjAxeIfCeRQQDyWOos/y5xR2V4NIgYhRJVkjgpralBPcvQH4PsBxIX0DjJqKRdgYLtsYPUyqh60CsACXEQew7ECvAICZp7DqwQEIQXaR+CkzaoeKr3FewQdqg4mIy36VgLyZWz4G96N5vs8sKj0UPSlJGy4fAbWX88SgGQYgJVjDXi7JaaxYo9Oj4UQ0lrHCGdN25ceiEfNoZSfIomjhcKN26DarT0q4gaiyfe2C9u9hWNUBvRghbG+yd1AZNFFrjmu+ucXMF2j60OObE7f0m+mrv/5qQkimpO+IU8fKXQ9bDMe/5oPl81P3BsP183EeGu3GoLBw/WHnuLF20sXQ9X/ueL57PV99w+Z7P5Vvj8j3fXr7j9X/f/5Vsrv9/K3NM7mGXOq0AAAAASUVORK5CYII=",xs="data:image/svg+xml,%3csvg width='8' height='11' viewBox='57 6 8 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M62.7081 13.27C62.742 13.27 62.7642 13.3057 62.7491 13.3362V13.336L61.1229 16.6083C61.0892 16.6761 60.9926 16.6759 60.959 16.6083L59.3382 13.336C59.3232 13.3057 59.3453 13.27 59.3792 13.27H62.7081Z' fill='%23EA4B4B'/%3e %3cpath d='M61.0026 9.71913C61.0194 9.68524 61.0678 9.68524 61.0845 9.71913L62.747 13.0897C62.762 13.12 62.7399 13.1557 62.706 13.1557H59.3763C59.3424 13.1557 59.3203 13.12 59.3353 13.0897L61.0026 9.71913Z' fill='%23EA4B4B'/%3e %3cpath d='M60.8426 9.63827C60.8766 9.63827 60.8987 9.6741 60.8835 9.70444L59.2164 13.0594C59.1995 13.0932 59.1513 13.0932 59.1345 13.0594L57.5001 9.77047C57.47 9.70962 57.5142 9.63827 57.5821 9.63827H60.8426Z' fill='%23EA4B4B'/%3e %3cpath d='M64.5036 9.63617C64.5715 9.63618 64.6157 9.70753 64.5855 9.76838H64.5854L62.9512 13.0573C62.9344 13.0911 62.8862 13.0912 62.8692 13.0573L61.2021 9.70235C61.187 9.672 61.2091 9.63617 61.2431 9.63617H64.5036Z' fill='%23EA4B4B'/%3e %3cpath d='M62.8284 6.18281C62.862 6.11518 62.9586 6.11518 62.9922 6.18281L64.5855 9.38969C64.6157 9.45054 64.5715 9.52189 64.5036 9.52189H61.2431C61.2091 9.52189 61.187 9.48605 61.2021 9.45571L62.8283 6.18265L62.8284 6.18281Z' fill='%23EA4B4B'/%3e %3cpath d='M62.3131 6.13196C62.381 6.13196 62.4252 6.20331 62.3951 6.26416C62.154 6.74935 61.9128 7.23455 61.6718 7.71975H61.6716C61.4225 8.22125 61.1733 8.72259 60.9242 9.22409C60.9074 9.25799 60.859 9.25799 60.8422 9.22409L60.6305 8.79587C60.6275 8.78957 60.6259 8.78263 60.6259 8.77553V6.22349C60.6259 6.17297 60.6668 6.13196 60.7173 6.13196H62.3131Z' fill='%23EA4B4B'/%3e%3c/svg%3e";const ys=S.getChainMeta(1)?.logo??"",Jc=S.TOKENS.find(e=>e.symbol==="USDC")?.logo??"",Fn=Object.fromEntries([...S.getMainnetChains(),...S.getTestnetChains()].map(e=>[e.id,e.logo])),ws={metamask:Pa,metaMask:Pa,rabby:Yc,phantom:Xc},zo=Object.fromEntries(S.TOKENS.map(e=>[e.symbol.toUpperCase(),e.logo])),$c={usdc:[8453,1,42161,5115,4114],usdt:[1],btc:[4114,42161,1,5115],wbtc:[1],weth:[8453,1],eth:[8453,1,42161,4663,84532,46630],ctusd:[5115,4114],wcbtc:[5115,4114]},_c={btc:["wcbtc","cbtc","wbtc"]};function eo(e){return e.replace(/^test\s*/i,"").replace(/^spice/i,"").trim()}function vn(e){return eo(e).toLowerCase()}function Ma(e){return vn(e??"").replace(/[^a-z0-9]/g,"")}function Ho(e){const t=vn(e);return[t,..._c[t]??[]].filter(Boolean)}function ed(e){try{return BigInt(e.balanceAvailable||"0")}catch{return 0n}}function Ua(e){return Array.isArray(e.chainTokens)?e.chainTokens:Object.keys(e.chainTokens??{})}function Wa(e,t){const n=u.getChainConfig(e),s=t.toLowerCase();return s===S.ZERO_ADDRESS.toLowerCase()?n?.nativeCurrency.decimals??18:n?.supportedTokens?.find(o=>o.address.toLowerCase()===s)?.decimals??18}function td(e,t,n,s=[]){const o=Wa(t,n),r=e.filter(l=>La(l,t,n,s));if(r.length===0)return null;const a=r.reduce((l,c)=>Math.min(l,c.decimals??o),o);return{chainDecimals:o,receiptDecimals:a}}function La(e,t,n,s){if(Ua(e).some(r=>{const a=gn(r);return a&&gs(a.address,a.chainId,n,t)}))return!0;const o=new Set(s.map(Ma).filter(Boolean));return o.size===0?!1:o.has(Ma(e.tokenName||e.receiptToken))}function Vo(e,t,n,s=[]){const o=Wa(t,n);return e.reduce((r,a)=>La(a,t,n,s)?r+S.convertAmountBetweenDecimals(ed(a),a.decimals??o,o):r,0n)}function qa(e,t){const n=new Set([...Ho(t),...Ho(eo(t))]);return[...e].sort((s,o)=>{const r=vn(s.symbol),a=vn(o.symbol),l=vn(s.name),c=vn(o.name),d=n.has(r)?0:n.has(l)?1:2,m=n.has(a)?0:n.has(c)?1:2;return d!==m?d-m:s.address.toLowerCase().localeCompare(o.address.toLowerCase())})[0]}function nd(e){const t=e&&e.length>0?e:Object.keys(u.CHAIN_CONFIGS).map(Number).filter(Number.isFinite),n=new Map;for(const s of t){const o=u.getChainConfig(s);if(!o)continue;const r=`${s}:${S.ZERO_ADDRESS.toLowerCase()}`;n.has(r)||n.set(r,{address:S.ZERO_ADDRESS,chainId:s,symbol:o.nativeCurrency.symbol,name:o.nativeCurrency.name,decimals:o.nativeCurrency.decimals,isNative:!0,logoURI:zo[o.nativeCurrency.symbol.toUpperCase()]??o.logo});for(const a of o.supportedTokens??[]){const l=a.address.toLowerCase(),c=`${s}:${l}`;n.has(c)||n.set(c,{address:l,chainId:s,symbol:a.symbol,name:a.name,decimals:a.decimals,isNative:S.isNativeToken(l),logoURI:a.logo})}}return n}function sd(e,t){const n=nd(t),s=eo(e.tokenName),o=vn(e.tokenName),r=Ho(e.tokenName),a=Array.isArray(e.chainTokens)?e.chainTokens.map(g=>[g,void 0]):Object.entries(e.chainTokens??{}),l=a.map(([g])=>gn(g)).filter(g=>g!==null),c=new Map;for(const[g,y]of a){const x=gn(g);if(!x||!Number.isSafeInteger(x.chainId)||x.chainId<0||!/^evm:[0-9]+:(?:0x)?[0-9a-fA-F]{40}$/.test(g)){if(!Array.isArray(e.chainTokens))throw new Error("Invalid chain token metadata identity");continue}if(y!==void 0&&(!y||typeof y!="object"||Array.isArray(y)||y.name!==void 0&&typeof y.name!="string"||y.decimals!==void 0&&(!Number.isInteger(y.decimals)||y.decimals<0||y.decimals>255)))throw new Error("Invalid chain token metadata");const b=`${x.chainId}:${x.address.toLowerCase()}`;if(c.has(b)){const v=c.get(b);if(v?.name!==y?.name||v?.decimals!==y?.decimals)throw new Error("Conflicting chain token metadata")}c.set(b,y)}const d=(g,y)=>{const x=c.get(`${y.chainId}:${y.address.toLowerCase()}`);return{...g,name:typeof x?.name=="string"&&x.name.length>0?x.name:g.name,decimals:typeof x?.decimals=="number"?x.decimals:g.decimals}},m=l.map(g=>{const y=n.get(`${g.chainId}:${g.address.toLowerCase()}`);return y?d(y,g):void 0}).filter(g=>g!==void 0),f=$c[o]??[];if(f.length>0)for(const g of f){const y=m.filter(x=>x.chainId===g);if(y.length>0)return qa(y,e.tokenName)}if(m.length>0)return qa(m,e.tokenName);const h=Array.from(n.values()).filter(g=>r.includes(vn(g.symbol))||r.includes(vn(g.name)));if(f.length>0)for(const g of f){const y=h.find(x=>x.chainId===g);if(y)return y}if(h.length>0)return h[0];const w=l[0];if(w){const g=c.get(`${w.chainId}:${w.address.toLowerCase()}`);return{address:w.address,chainId:w.chainId,symbol:s||e.tokenName,name:typeof g?.name=="string"&&g.name.length>0?g.name:s||e.tokenName,decimals:typeof g?.decimals=="number"?g.decimals:e.decimals??18,isNative:S.isNativeToken(w.address),logoURI:void 0}}}function od(e,t){let n;try{n=BigInt(e.balanceAvailable||"0")}catch{return null}if(n<=0n)return null;if(t?.length){const g=Ua(e).map(gn).filter(y=>y!==null);if(g.length>0&&!g.some(y=>t.includes(y.chainId)))return null}let s;try{s=sd(e,t)}catch{return null}const o=s?.decimals??e.decimals??18,r=e.decimals??o,a=S.convertAmountBetweenDecimals(n,r,o),l=s?.address??S.ZERO_ADDRESS,c=s?.chainId??0,d=eo(e.tokenName),m=s?.symbol??d,f=s?.name??d,h=parseFloat(T.formatUnits(a,o)),w=typeof e.balanceUsd=="number"?e.balanceUsd:typeof e.balanceUsd=="string"&&Number(e.balanceUsd)||0;return{address:l,symbol:m,name:f,decimals:o,chainId:c,balance:a,balanceFormatted:h,balanceUsd:w,isNative:s?.isNative??S.isNativeToken(l),logoURI:s?.logoURI,displaySymbol:d||m,displayName:d||f,displayChainName:"Spicenet",receiptTokenId:e.receiptToken,receiptTokenName:e.tokenName||f,receiptTokenDecimals:r,chainTokens:e.chainTokens&&!Array.isArray(e.chainTokens)?e.chainTokens:void 0,isUniversal:!0}}const Qo=6e4,rd=3e5,za="https://api.g.alchemy.com/prices/v1",Zn=new Map;function Go(e,t){try{const n=t??u.getClientForChain(e).transport.url;if(typeof n!="string")return null;const{hostname:s,pathname:o}=new URL(n);if(!s.endsWith(".g.alchemy.com"))return null;const r=o.split("/").filter(Boolean).pop();return r?{network:s.slice(0,-14),key:r}:null}catch{return null}}const bs=(e,t)=>`${e.network}:${e.key}:${t.toLowerCase()}`;function vs(e,t){const n=Zn.get(bs(e,t));if(!n?.price||n.updatedAt===void 0)return;const s=Date.now()-n.updatedAt;if(!(s>=rd))return{price:n.price,stale:s>=Qo}}function Ha(e){const t=Number(e.prices?.find(n=>n.currency==="usd")?.value);return Number.isFinite(t)&&t>0?t:0}async function Va(e,t,n){const s=[],o=new Set,r=Date.now();for(const a of new Set(t.map(l=>l.toLowerCase()))){const l=Zn.get(bs(e,a));l?.pending?o.add(l.pending):(!l||r-l.attemptedAt>=Qo&&(l.updatedAt===void 0||r-l.updatedAt>=Qo))&&s.push(a)}for(let a=0;a<s.length;a+=25){const l=s.slice(a,a+25),c=Promise.resolve().then(async()=>{try{const d=await n(l);for(const m of l){const f=d.get(m);if(!f)continue;const h=Zn.get(bs(e,m));h.price=f,h.updatedAt=Date.now()}}catch{}finally{for(const d of l)Zn.get(bs(e,d)).pending=void 0}});for(const d of l){const m=bs(e,d);Zn.set(m,{...Zn.get(m),attemptedAt:r,pending:c})}o.add(c)}await Promise.all(o)}async function Ko(e,t){return await Va(e,t,async n=>{const s=await fetch(`${za}/${e.key}/tokens/by-address`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({addresses:n.map(a=>({network:e.network,address:a}))}),signal:AbortSignal.timeout(1e4)});if(!s.ok)throw new Error("Provider price request failed");const o=await s.json(),r=new Map;for(const a of o?.data??[]){if(a.network&&a.network!==e.network)continue;const l=String(a.address).toLowerCase();n.includes(l)&&r.set(l,Ha(a))}return r}),new Map(t.map(n=>[n.toLowerCase(),vs(e,n)?.price??0]))}async function Zo(e,t){const n=`native:${t}`;return await Va(e,[n],async()=>{const s=await fetch(`${za}/${e.key}/tokens/by-symbol?symbols=${encodeURIComponent(t)}`,{signal:AbortSignal.timeout(1e4)});if(!s.ok)throw new Error("Provider native price request failed");const o=(await s.json())?.data?.find(r=>r.symbol?.toUpperCase()===t.toUpperCase());return new Map([[n.toLowerCase(),o?Ha(o):0]])}),vs(e,n)?.price??0}async function ad(e,t){const n=t.supportedChains,s=e.map(o=>{if(Number.isFinite(o.balanceUsd)&&o.balanceUsd>0)return[];const r=Object.keys(o.chainTokens??{}).map(gn).filter(a=>!!a&&T.isAddress(a.address)&&!!n?.includes(a.chainId));return r.sort((a,l)=>{const c=d=>d===t.nativeChainId?-1:n.indexOf(d);return c(a.chainId)-c(l.chainId)||+!u.addressesEqual(a.address,o.address)-+!u.addressesEqual(l.address,o.address)}),r.flatMap(a=>{const l=t.rpcOverrides?.[a.chainId];if(!l)return[];const c=Go(a.chainId,l);if(!c)return[];const d=S.isNativeToken(a.address)?u.getChainConfig(a.chainId)?.nativeCurrency.symbol:void 0,m=d?`native:${d}`:a.address;return[{rpc:c,token:m,address:a.address,nativeSymbol:d}]})});return(typeof document>"u"||!document.hidden)&&await Promise.all(s.map(async o=>{for(const r of o)if(r.nativeSymbol?await Zo(r.rpc,r.nativeSymbol).catch(()=>0):(await Ko(r.rpc,[r.address]).catch(()=>new Map)).get(r.address.toLowerCase()))break})),e.map((o,r)=>{if(Number.isFinite(o.balanceUsd)&&o.balanceUsd>0)return o;const a=s[r].map(l=>vs(l.rpc,l.token)).find(Boolean);return{...o,balanceUsd:a?o.balanceFormatted*a.price:0,priceStatus:a?a.stale?"stale":"fresh":"unavailable"}})}function id(e,t,n){const s=p.useContext(u.SpiceFlowProviderContext),[o,r]=p.useState(()=>typeof document>"u"||!document.hidden);p.useEffect(()=>{const m=()=>r(!document.hidden);return document.addEventListener("visibilitychange",m),()=>document.removeEventListener("visibilitychange",m)},[]);const a={supportedChains:n??s?.supportedChainIds,nativeChainId:s?.nativeChainId,rpcOverrides:s?.rpcOverrides},l=JSON.stringify([e,a],(m,f)=>typeof f=="bigint"?f.toString():f),c=p.useCallback(()=>ad(e,a),[l]),d=qo(`prices:${l}`,c,t&&o&&e.length>0,6e4);return d.updatedAt?d.assets:e}function ld(e){const t=e.chainTokens??e.chainTokenConfig;if(Array.isArray(t))return t.filter(n=>typeof n=="string");if(t&&typeof t=="object")return t}const Qa=({address:e,supportedChains:t,enabled:n=!0,refetchInterval:s,priceEnabled:o=!1})=>{const r=p.useContext(u.SpiceFlowProviderContext),a=r?.apiUrl||u.RELAYER_API_URL,l=_s(),c=r?.supportedChainIds??t,d=JSON.stringify([...c??[]].sort((I,E)=>I-E)),m=e?.toLowerCase(),f=p.useCallback(async()=>{const I=await u.relayerFetch(`${a}/wallets/${m}/balance`,{cache:"no-store"});if(!I.ok)throw new Error(`Failed to fetch balance: ${I.status}`);const E=await I.json();if(!Array.isArray(E.balances))throw new Error("Invalid balance response");return E.balances.map(N=>{const R=od({receiptToken:typeof N.receiptToken=="string"?N.receiptToken:void 0,tokenName:String(N.tokenName??""),balanceAvailable:String(N.balanceAvailable??"0"),chainTokens:ld(N),decimals:typeof N.decimals=="number"?N.decimals:void 0,balanceUsd:typeof N.balanceUsd=="number"||typeof N.balanceUsd=="string"?N.balanceUsd:null},c);return R?{...R,owner:m,location:"rollup",_source:"spice",positionId:`${m}:rollup:${R.receiptTokenId??R.address}`}:null}).filter(N=>N!==null)},[m,a,d,r?.nativeChainId,r?.rpcOverrides]),{assets:h,loading:w,refreshing:g,error:y,updatedAt:x}=qo(`rollup:${m}:${a}:${d}`,f,n&&!!m,s??0,l),b=JSON.stringify(t??[]),v=p.useMemo(()=>y?h.map(I=>({...I,balanceError:y,balanceStatus:"stale"})):h,[h,y]),C=id(v,n&&o,c),k=p.useMemo(()=>C.filter(I=>!t?.length||t.includes(I.chainId)||Object.keys(I.chainTokens??{}).some(E=>t.some(N=>E.startsWith(`evm:${N}:`)))),[C,b]),A=p.useCallback(I=>k.filter(E=>E.chainId===I),[k]);return{assets:k,loading:w,error:y,hasBalance:k.some(I=>I.balance>0n),refreshing:g,updatedAt:x,refetch:l.invalidate,getAssetsByChain:A}};async function cd(e,t,n){if(n)return{decimals:n.decimals,symbol:n.symbol,name:n.name,logoURI:n.logo};const[s,o,r]=await Promise.all([dn.readContract(e,{address:t,abi:T.erc20Abi,functionName:"decimals"}),dn.readContract(e,{address:t,abi:T.erc20Abi,functionName:"symbol"}).catch(()=>"TOKEN"),dn.readContract(e,{address:t,abi:T.erc20Abi,functionName:"name"}).catch(()=>"TOKEN")]);if(!Number.isInteger(Number(s))||Number(s)<0||Number(s)>255)throw new Error("Invalid token decimals");return{decimals:Number(s),symbol:o,name:r,logoURI:void 0}}const Ga=async(e,t,n)=>{const s=u.getClientForChain(t,n),o=u.getChainConfig(t),r=await dn.getBalance(s,{address:e}),a=o.nativeCurrency,l=o.supportedTokens?.find(c=>S.isNativeToken(c.address));return{address:S.ZERO_ADDRESS,name:a.name,symbol:a.symbol,decimals:a.decimals,balance:r,balanceFormatted:Number(T.formatUnits(r,a.decimals)),balanceUsd:0,logoURI:l?.logo||o.logo,isNative:!0,chainId:t}},dd=async(e,t,n,s,o,r,a)=>{try{if(!T.isAddress(n))return null;const l=T.getAddress(n),c=T.isAddress(e)?T.getAddress(e):e,d=u.getClientForChain(t,a),m=await dn.readContract(d,{address:l,abi:T.erc20Abi,functionName:"balanceOf",args:[c]}),f=Number(T.formatUnits(m,r));return m>0n?{address:l,name:s,symbol:o,decimals:r,balance:m,balanceFormatted:f,balanceUsd:0,logoURI:void 0,isNative:!1,chainId:t}:null}catch(l){throw l}},Ka=(e,t)=>{const n=u.getChainConfig(t);if(!n)return e;const s=new Set(e.map(r=>r.address.toLowerCase())),o=e.some(r=>r.isNative);for(const r of n.supportedTokens||[])S.isNativeToken(r.address)&&o||s.has(r.address.toLowerCase())||e.push({address:r.address,name:r.name,symbol:r.symbol,decimals:r.decimals,balance:BigInt(0),balanceFormatted:0,balanceUsd:0,logoURI:r.logo,isNative:S.isNativeToken(r.address),chainId:t});if(!e.find(r=>r.isNative)){const r=n.supportedTokens?.find(a=>S.isNativeToken(a.address));e.push({address:S.ZERO_ADDRESS,name:n.nativeCurrency.name,symbol:n.nativeCurrency.symbol,decimals:n.nativeCurrency.decimals,balance:BigInt(0),balanceFormatted:0,balanceUsd:0,logoURI:r?.logo||n.logo,isNative:!0,chainId:t})}return e},ud=async(e,t,n)=>{const s=[],o=async l=>{for(const c of l){const d=await dd(e,t,c.address,c.name,c.symbol,c.decimals,n);d&&(d.logoURI=c.logo,s.push(d))}},r=await Ga(e,t,n);r.balance>0n&&s.push(r);const a=(u.getChainConfig(t)?.supportedTokens||[]).filter(l=>!S.isNativeToken(l.address));if(a.length>0)try{const l=u.getClientForChain(t,n),c=T.getAddress(e),d=a.filter(w=>T.isAddress(w.address)).map(w=>({address:T.getAddress(w.address),abi:T.erc20Abi,functionName:"balanceOf",args:[c]})),m=await l.multicall({contracts:d}),f=a.filter(w=>T.isAddress(w.address)),h=[];m.forEach((w,g)=>{if(w.status==="success"){const y=w.result;if(y&&y>0n){const x=f[g],b=Number(T.formatUnits(y,x.decimals));y>0n&&s.push({address:T.getAddress(x.address),name:x.name,symbol:x.symbol,decimals:x.decimals,balance:y,balanceFormatted:b,balanceUsd:0,logoURI:x.logo,isNative:!1,chainId:t})}}else h.push(f[g])}),await o(h)}catch{await o(a)}return{tokens:Ka(s,t),chainId:t}},pd=async(e,t,n)=>{const s=new Map,o=Go(e,n?n[e]??"":void 0);if(!o)return s;const r=t.filter(d=>S.isNativeToken(d)),a=t.filter(d=>!S.isNativeToken(d)),[l,c]=await Promise.all([a.length?Ko(o,a).catch(()=>new Map):new Map,r.length?Zo(o,u.getChainConfig(e)?.nativeCurrency?.symbol??"ETH").catch(()=>0):0]);for(const[d,m]of l)m>0&&s.set(d,m);if(c>0)for(const d of r)s.set(d.toLowerCase(),c);return s},fd=async(e,t,n,s=!0,o)=>{const r=u.getClientForChain(t,o),a=T.getAddress(e),l=[];let c;do{const b=await r.request({method:"alchemy_getTokenBalances",params:[a,"erc20",c?{pageKey:c}:{}]});l.push(...b.tokenBalances),c=b.pageKey||void 0}while(c);const d=l.filter(b=>T.isAddress(b.contractAddress)&&!!b.tokenBalance&&BigInt(b.tokenBalance)>0n),m=u.getChainConfig(t)?.supportedTokens||[],f=b=>m.find(v=>v.address.toLowerCase()===b.toLowerCase()),h=[],w=await Ga(e,t,o),[g,y,x]=await Promise.all([Promise.all(d.map(async b=>{const v=f(b.contractAddress);return v?{name:v.name,symbol:v.symbol,decimals:v.decimals,logo:v.logo??null}:await r.request({method:"alchemy_getTokenMetadata",params:[b.contractAddress]})})),s?Ko(n,d.map(b=>b.contractAddress)):new Map(d.map(b=>[b.contractAddress.toLowerCase(),vs(n,b.contractAddress)?.price??0])),s&&w.balanceFormatted>0?Zo(n,w.symbol):vs(n,`native:${w.symbol}`)?.price??0]);return w.balance>0n&&h.push({...w,balanceUsd:x*w.balanceFormatted}),d.forEach((b,v)=>{const C=g[v];if(!Number.isInteger(C.decimals)||C.decimals===null||C.decimals<0||C.decimals>255)throw new Error(`Invalid token metadata on chain ${t}`);const k=BigInt(b.tokenBalance),A=Number(T.formatUnits(k,C.decimals));if(k<=0n)return;const I=y.get(b.contractAddress.toLowerCase()),E=I?I*A:0;h.push({address:T.getAddress(b.contractAddress),name:C.name||"Unknown",symbol:C.symbol||"UNKNOWN",decimals:C.decimals,balance:k,balanceFormatted:A,balanceUsd:E,isDiscovered:!f(b.contractAddress),logoURI:C.logo||void 0,isNative:!1,chainId:t})}),{tokens:Ka(h,t),chainId:t}},Za=new Set,md=async(e,t,n=!0,s)=>{try{const o=Go(t,s?s[t]??"":void 0);if(o)try{return await fd(e,t,o,n&&(typeof document>"u"||!document.hidden),s)}catch(r){Za.has(t)||(Za.add(t),console.warn(`Token discovery unavailable on chain ${t}; listing configured tokens only.`,r))}return await ud(e,t,s)}catch(o){throw o}},Yn=async(e,t,n=[],s)=>{if(!e)throw new Error("Wallet address is required");const o=u.getChainsForAssets(s),r=t?.length?[...new Set(t)]:Object.keys(o).map(Number),a=await Promise.allSettled(r.map(c=>md(e,c,!0,s))),l={};return a.forEach((c,d)=>{const m=r[d];l[m]=c.status==="fulfilled"?c.value:{chainId:m,tokens:[],error:`Unable to refresh balances on chain ${m}`}}),(await Promise.allSettled(n.map(async c=>{const d=l[c.chainId];if(!d||d.error||d.tokens.some(y=>S.normalizeNativeTokenAddress(y.address).toLowerCase()===S.normalizeNativeTokenAddress(c.address).toLowerCase()))return;const m=u.getClientForChain(c.chainId,s),f=await cd(m,c.address,c.decimals!==void 0&&c.symbol?{decimals:c.decimals,symbol:c.symbol,name:c.name||c.symbol,logo:c.logoURI}:void 0),h=await dn.readContract(m,{address:c.address,abi:T.erc20Abi,functionName:"balanceOf",args:[e]}),w=await pd(c.chainId,[c.address],s),g=Number(T.formatUnits(h,f.decimals));d.tokens.push({...f,...c,name:f.name,symbol:f.symbol,decimals:f.decimals,balance:h,balanceFormatted:g,balanceUsd:(w.get(c.address.toLowerCase())||0)*g,isNative:!1})}))).forEach((c,d)=>{if(c.status==="rejected"){const m=l[n[d].chainId];m&&(m.error=`Unable to refresh token balances on chain ${m.chainId}`)}}),l},Cs=({address:e,supportedChains:t,fetchBalances:n=Yn,additionalTokens:s=[],enabled:o=!0,refreshInterval:r=0,priceEnabled:a=!0})=>{const l=p.useContext(u.SpiceFlowProviderContext),c=_s(),d=e?.toLowerCase(),m=JSON.stringify([...l?.supportedChainIds??t??[]].sort((v,C)=>v-C)),f=JSON.stringify(s);p.useEffect(()=>c.registerTokens(s),[c,f]);const h=d&&d===l?.embeddedWalletAddress?.toLowerCase()?"embedded":"external",w=`wallet:${JSON.stringify([l?.network,l?.apiUrl,l?.rpcOverrides])}:${d}:${h}:${m}:${c.fetcherId(n)}`,g=p.useCallback(async()=>{let v;try{v=await n(d,JSON.parse(m),c.tokens(),l?.rpcOverrides)}catch(I){const E=I instanceof Error?I.message:"Unable to refresh balances";v=Object.fromEntries(JSON.parse(m).map(N=>[N,{chainId:N,tokens:[],error:E}]))}const C=c.entry(w).snapshot().assets,k=JSON.parse(m).map(I=>v[I]??{chainId:I,tokens:[],error:`Unable to refresh balances on chain ${I}`}),A=k.flatMap(I=>I.error?[I.error]:[]);return{assets:k.flatMap(I=>I.error?C.filter(E=>E.chainId===I.chainId).map(E=>({...E,balanceError:I.error,balanceStatus:"stale"})):I.tokens.map(E=>({...E,owner:d,location:h,_fundingWallet:h,_source:"wallet",positionId:`${d}:${h}:${I.chainId}:${S.normalizeNativeTokenAddress(E.address).toLowerCase()}`}))),error:A.length?A.join("; "):null}},[c,d,m,n,h,w]),y=qo(w,g,o&&!!d,r,c),x=JSON.stringify(t&&[...t].sort((v,C)=>v-C)),b=p.useMemo(()=>t?y.assets.filter(v=>t.includes(v.chainId)):y.assets,[y.assets,x]);return p.useEffect(()=>{a&&o&&d&&y.refresh()},[a]),{...y,assets:b,refreshAssets:c.invalidate,getAssetsByChain:p.useCallback(v=>b.filter(C=>C.chainId===v),[b]),getNativeAssets:p.useCallback(()=>b.filter(v=>v.isNative),[b])}};function Xn(e){const t=p.useContext(u.SpiceFlowProviderContext),n=_s(),s=e.owner??((t?.mode||"7702")!=="7702"?t?.externalWalletAddress:t?.embeddedWalletAddress),o=s?.toLowerCase()!==t?.embeddedWalletAddress?.toLowerCase(),r=e.sourceChains??t?.supportedChainIds??[],a=(e.enabled??!0)&&!t?.isWhitelistGateActive,l=p.useMemo(()=>{const h=[...t?.additionalSourceTokens??[],...e.additionalSourceTokens??[],...e.destination?[e.destination]:[]];for(const w of e.supportedSourceAssets??[])for(const g of r){const y=u.getChainConfig(g)?.supportedTokens?.find(x=>u.isAssetAllowed(x,[w]));y&&h.push({...y,address:y.address,chainId:g,logoURI:y.logo})}return h},[e.destination,JSON.stringify(t?.additionalSourceTokens),JSON.stringify(e.additionalSourceTokens),JSON.stringify(e.supportedSourceAssets),JSON.stringify(r)]),c=Cs({address:s,supportedChains:r,fetchBalances:Yn,additionalTokens:l,enabled:a&&e.includeWalletAssets!==!1,refreshInterval:3e4}),d=Qa({address:s,supportedChains:r,enabled:a&&e.includeRollupAssets!==!1&&!!s&&s.toLowerCase()===t?.embeddedWalletAddress?.toLowerCase(),priceEnabled:a,refetchInterval:3e4}),m=p.useMemo(()=>a?[...(e.includeWalletAssets===!1?[]:c.assets).map(h=>({...h,owner:h.owner??s,location:h.location??(o?"external":"embedded"),_source:"wallet"})),...(e.includeRollupAssets===!1||s?.toLowerCase()!==t?.embeddedWalletAddress?.toLowerCase()?[]:d.assets).map(h=>({...h,owner:h.owner??s,location:"rollup",_source:"spice"}))]:[],[a,c.assets,d.assets,e.includeWalletAssets,e.includeRollupAssets,s,o,t?.embeddedWalletAddress]),f=p.useMemo(()=>m.map(h=>({asset:h,...En(h,e.role??"holding",{allowedTokens:t?.allowedTokens,rpcOverrides:t?.rpcOverrides,liquidityVenues:t?.liquidityVenues,isWhitelistGateActive:!!t?.isWhitelistGateActive},e.destination,e.supportedSourceAssets,{requiresEscrow:e.requiresEscrow})})),[m,t?.allowedTokens,t?.rpcOverrides,t?.liquidityVenues,t?.isWhitelistGateActive,e.role,e.destination,e.supportedSourceAssets,e.requiresEscrow]);return{positions:f,assets:p.useMemo(()=>f.filter(h=>h.eligible&&h.asset.balance>0n).map(h=>h.asset),[f]),walletAssets:p.useMemo(()=>m.filter(h=>h._source==="wallet"),[m]),rollupAssets:p.useMemo(()=>m.filter(h=>h._source==="spice"),[m]),loading:c.loading||d.loading,refreshing:c.refreshing||d.refreshing,error:c.error||d.error,refresh:n.invalidate}}function Tn(e){const t=S.normalizeNativeTokenAddress(e.address);if(e.isNative||S.isNativeToken(t))return!1;const n=u.getChainConfig(e.chainId)?.supportedTokens?.some(o=>u.addressesEqual(o.address,t)),s=S.getTokenByAddress(t,e.chainId);return!!n&&!!s&&Xs(s)}const Ya="spiceflow:pendingDeposit",to="spiceflow:pendingDepositChanged";function Xa(e,t,n){return`${Ya}:${e.toLowerCase()}:${t}:${n.toLowerCase()}`}function Yo(){try{const e="__spiceflow_storage_test__";return localStorage.setItem(e,"1"),localStorage.removeItem(e),!0}catch{return!1}}function hd(e){if(!Yo())return;const t=Xa(e.embeddedWalletAddress,e.chainId,e.tokenAddress);try{localStorage.setItem(t,JSON.stringify(e)),window.dispatchEvent(new Event(to))}catch(n){console.error("[pendingDeposit] Failed to save:",n)}}function gd(e){if(!Yo())return[];const t=`${Ya}:${e.toLowerCase()}:`,n=[],s=Date.now();for(let o=0;o<localStorage.length;o++){const r=localStorage.key(o);if(!(!r||!r.startsWith(t)))try{const a=localStorage.getItem(r);if(!a)continue;const l=JSON.parse(a);if(s-l.timestamp>6048e5){localStorage.removeItem(r);continue}n.push(l)}catch{localStorage.removeItem(r)}}return n}function Xo(e,t,n){if(!Yo())return;const s=Xa(e,t,n);localStorage.removeItem(s),window.dispatchEvent(new Event(to))}const xd=new Set(["USDC","SUSD","USD","NUSD","USDT","DAI","ENUSD","USDG"]),Ja={ETH:"ethereum",WETH:"ethereum",BTC:"bitcoin",WBTC:"bitcoin",WCBTC:"bitcoin",CBTC:"bitcoin",ECBTC:"bitcoin",ARB:"arbitrum",MATIC:"matic-network",POL:"matic-network"};let no=null;const yd=6e4;async function $a(e){const t={},n=new Set,s={};for(const r of e){const a=r.toUpperCase();if(xd.has(a))t[a]=1;else if(Ja[a]){const l=Ja[a];n.add(l),s[a]=l}else t[a]=0}if(n.size===0)return t;const o=Date.now();if(no&&o-no.timestamp<yd){for(const[r,a]of Object.entries(s))t[r]=no.prices[a]??0;return t}try{const r=Array.from(n).join(","),a=await fetch(`https://api.coingecko.com/api/v3/simple/price?ids=${r}&vs_currencies=usd`);if(!a.ok)throw new Error(`CoinGecko ${a.status}`);const l=await a.json(),c={};for(const d of n)c[d]=l[d]?.usd??0;no={prices:c,timestamp:o};for(const[d,m]of Object.entries(s))t[d]=c[m]??0}catch(r){console.warn("[fetchTokenPrices] CoinGecko fetch failed:",r);for(const a of Object.keys(s))t[a]=t[a]??0}return t}const wd=new Set(["cbtc","btc","wbtc","wcbtc","tbtc"]),bd=new Set(["usdc","usdt","dai","usdc.e","usdbc","usdg"]);async function vd(){const e=(await $a(["BTC"])).BTC;if(!e||e<=0)throw new Error("Failed to fetch BTC/USD price");return e}function Cd(e){return wd.has(e.toLowerCase())}function kd(e){return bd.has(e.toLowerCase())}function Sd(e,t,n,s){const o=10n**12n,r=BigInt(Math.round(s*Number(o))),a=t-n,l=10n**BigInt(Math.abs(a));let c=e*r/o;return a>0?c=c/l:a<0&&(c=c*l),c}const Id=.01,Ad=5*60*1e3;function Ed(e){const t=Number(T.formatUnits(e.verifiedBalance,e.tokenDecimals));return Number.isFinite(t)?t:0}async function Fd(e){const t=Td(e);let n;try{n=await $a(t.map(s=>s.tokenSymbol))}catch{return t}return t.filter(s=>{const o=Ed(s);if(o<=0)return!0;const r=n[s.tokenSymbol.toUpperCase()]??0;return!Number.isFinite(r)||r<=0?!0:o*r>=Id})}function Td(e){const t=new Map;for(const n of e){const s=`${n.chainId}:${n.tokenAddress.toLowerCase()}`;t.get(s)||t.set(s,{...n,amount:n.timestamp===0?T.formatUnits(n.verifiedBalance,n.tokenDecimals):n.amount,rawAmount:n.timestamp===0?n.verifiedBalance.toString():n.rawAmount,hasFullBalance:n.timestamp===0?!0:n.hasFullBalance})}return Array.from(t.values())}function _a(e,t){const[n,s]=p.useState([]),[o,r]=p.useState(!1),a=p.useRef(t);a.current=t;const l=!!t?.enabled,c=p.useRef(0),d=p.useRef(0),m=p.useCallback(async({forceDiscovery:f=!1}={})=>{if(!e){s([]),r(!1);return}const h=++d.current,w=()=>h!==d.current;r(!0);try{const g=[],y=gd(e);for(const C of y){if(w())return;if(Tn({address:C.tokenAddress,chainId:C.chainId,isNative:C.isNative}))try{const k=u.getClientForChain(C.chainId);let A;if(C.isNative||S.isNativeToken(C.tokenAddress)?A=await dn.getBalance(k,{address:e}):A=await dn.readContract(k,{address:T.getAddress(C.tokenAddress),abi:T.erc20Abi,functionName:"balanceOf",args:[e]}),w())return;A>0n?g.push({...C,verifiedBalance:A,hasFullBalance:A>=BigInt(C.rawAmount)}):Date.now()-C.timestamp>15*60*1e3&&Xo(e,C.chainId,C.tokenAddress)}catch(k){console.warn(`[usePendingDeposit] Failed to verify balance for ${C.tokenSymbol} on chain ${C.chainId}:`,k),g.push({...C,verifiedBalance:0n,hasFullBalance:!1})}}if(w())return;const x=a.current,b=Date.now(),v=(x?.discoverWalletBalances??!0)&&(f||b-c.current>=Ad);if(x?.network&&v){c.current=b;const C=x.chainIds??S.getChainIdsByNetwork(x.network),k=new Set(g.map(I=>`${I.chainId}:${I.tokenAddress.toLowerCase()}`)),A=[];for(const I of C){const E=u.getChainConfig(I);if(E?.supportedTokens)for(const N of E.supportedTokens){if(!Tn({address:N.address,chainId:I,isNative:!1}))continue;const R=`${I}:${N.address.toLowerCase()}`;k.has(R)||A.push((async()=>{try{const B=u.getClientForChain(I),U=await dn.readContract(B,{address:T.getAddress(N.address),abi:T.erc20Abi,functionName:"balanceOf",args:[e]});return U>0n?{chainId:I,tokenAddress:N.address,tokenSymbol:N.symbol,tokenDecimals:N.decimals,amount:T.formatUnits(U,N.decimals),rawAmount:U.toString(),embeddedWalletAddress:e,externalWalletAddress:"",timestamp:0,isNative:!1,verifiedBalance:U,hasFullBalance:!0}:null}catch{return null}})())}}if(A.length>0){const I=await Promise.allSettled(A);if(w())return;for(const E of I)E.status==="fulfilled"&&E.value&&g.push(E.value)}}if(!w()){const C=await Fd(g);if(w())return;s(C)}}catch(g){console.error("[usePendingDeposit] Verification error:",g),w()||s([])}finally{w()||r(!1)}},[e]);return p.useEffect(()=>{if(!l){d.current++,s([]),r(!1);return}m({forceDiscovery:!0});const f=a.current?.pollIntervalMs??3e4;if(f<=0||!e)return()=>{d.current++};const h=setInterval(()=>{m({forceDiscovery:!1})},f),w=()=>m({forceDiscovery:!0});return window.addEventListener(to,w),()=>{d.current++,window.removeEventListener(to,w),clearInterval(h)}},[m,e,l]),{pendingDeposits:n,loading:o,refresh:()=>m({forceDiscovery:!0})}}function ei(e){const t=p.useContext(u.SpiceFlowProviderContext),n=t?.embeddedWalletAddress,s=e?.enabled===!1?void 0:n,o=t?.network?{network:t.network,pollIntervalMs:e?.pollIntervalMs,chainIds:e?.chainIds??t.supportedChainIds,discoverWalletBalances:e?.discoverWalletBalances}:void 0;return{..._a(s,o),embeddedWalletAddress:n}}var Jo="data:image/svg+xml,%3csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5 4.99995V6.99995M5 3.31245V3.31189M9.5 5C9.5 7.48528 7.48528 9.5 5 9.5C2.51472 9.5 0.5 7.48528 0.5 5C0.5 2.51472 2.51472 0.5 5 0.5C7.48528 0.5 9.5 2.51472 9.5 5Z' stroke='black' stroke-opacity='0.4' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e";function $o(e){const t=p.useRef(0),n=p.useRef(null),s=p.useRef(e.run);s.current=e.run;const o=p.useRef(e.onSkip);o.current=e.onSkip;const r=p.useRef(e.onCleanup);r.current=e.onCleanup,p.useEffect(()=>{if(!e.shouldRun){t.current+=1,n.current?.abort(),o.current?.();return}let a=!1,l=!1;const c=async h=>{if(h&&l)return;n.current?.abort();const w=new AbortController;n.current=w;const g=++t.current;l=!0;try{await s.current({isBackground:h,isCurrent:()=>!a&&t.current===g,signal:w.signal})}finally{l=!1}},d=window.setTimeout(()=>void c(!1),e.delayMs??250),m=()=>{document.hidden||c(!0)},f=e.backgroundIntervalMs?window.setInterval(m,e.backgroundIntervalMs):void 0;return f!==void 0&&document.addEventListener("visibilitychange",m),()=>{a=!0,n.current?.abort(),clearTimeout(d),f!==void 0&&(window.clearInterval(f),document.removeEventListener("visibilitychange",m)),r.current?.()}},[e.shouldRun,e.delayMs,e.backgroundIntervalMs,...e.deps])}function ti(e,t){if(e.length!==t.length)return!1;const n=S.hashChainBatches(e),s=S.hashChainBatches(t);return n.every((o,r)=>o.hash===s[r]?.hash)}const un=e=>new Promise(t=>setTimeout(t,e)),Bd="0xa9059cbb";function ni(e){const t=e.findIndex(o=>S.isSpicenetChainId(o.chainId));if(t<=0)return[];const n=new Map,s=(o,r,a)=>{if(a<=0n)return;const l=`${o}:${r.toLowerCase()}`,c=n.get(l);c?c.amount+=a:n.set(l,{chainId:o,token:r,amount:a})};for(const o of e.slice(0,t)){const r=S.getEscrowContract(o.chainId);if(!(!r||r===S.ZERO_ADDRESS)){for(const a of o.calls)if(a.value&&a.value>0n&&u.addressesEqual(a.to,r)&&s(o.chainId,S.ZERO_ADDRESS,a.value),!!a.data?.startsWith(Bd))try{const l=T.decodeFunctionData({abi:T.erc20Abi,data:a.data});if(l.functionName!=="transfer")continue;const[c,d]=l.args;u.addressesEqual(c,r)&&s(o.chainId,a.to,d)}catch{}}}return[...n.values()]}function si(e){const t=S.getTokenByAddress(e.token,e.chainId);return[t?.equivalenceGroup,t?.symbol,t?.name]}function oi(e,t){return Vo(e,t.chainId,t.token,si(t))}function Rd(e,t){const n=td(e,t.chainId,t.token,si(t));return!n||n.receiptDecimals>=n.chainDecimals?t.amount:S.convertAmountBetweenDecimals(S.convertAmountBetweenDecimals(t.amount,n.chainDecimals,n.receiptDecimals),n.receiptDecimals,n.chainDecimals)}async function ri(e){const{deposits:t,baseline:n,fetchEntries:s,timeoutMs:o=12e4,intervalMs:r,signal:a,wait:l=un}=e;if(t.length===0)return!0;const c=new Map(t.map(f=>[f,oi(n,f)])),d=Date.now(),m=d+o;for(;!a?.aborted;){try{const g=await s();if(t.every(y=>oi(g,y)-c.get(y)>=Rd(g,y)))return!0}catch{}const f=Date.now();if(f>=m)return!1;const h=f-d,w=r??(h<5e3?250:h<15e3?1e3:3e3);await l(Math.min(w,m-f))}return!1}function ai(e,t){const n=S.hashChainBatches(e).map(s=>s.hash);return T.keccak256(T.encodeAbiParameters([{type:"string"},{type:"uint256"},{type:"uint256"},{type:"bytes32[]"}],["ecdsa",0n,t,n]))}async function ii(e,t,n,s,o){if(s?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");const r={raw:ai(t,n)},a=o?await e.signMessage(r,o):await e.signMessage(r);console.debug("[SpiceFlow:execution]",{phase:"signature-returned",at:Date.now()});const l=typeof a=="string"?a:a.signature;if(!l)throw new u.SpiceflowError("SIGNATURE_FAILED","Failed to sign intent authorization. The wallet returned an empty signature.");return l}function jd(e){return e.domain==="spicenet"||S.isSpicenetChainId(e.chainId)}async function li(e){const{chainBatches:t,signingAddress:n,actions:s,cache:o,signal:r,onSignatureRequested:a,beforeSign:l}=e;if(r?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");const c=[...new Set(t.filter(f=>!jd(f)).map(f=>f.chainId))].map(f=>({chainId:f,client:u.getClientForChain(f),delegateContract:u.getDelegateContractAddress(f)})),[d]=await Promise.all([Promise.all(c.map(async({chainId:f,client:h,delegateContract:w})=>{const g=Number(await S.getAccountNonce(n,h)),y=[n.toLowerCase(),f,w.toLowerCase(),g].join(":");return{chainId:f,delegateContract:w,nonce:g,cacheKey:y,cached:o?.get(y)}})),c.length?s.prepareSigning?.():void 0,l?.()]),m=[];for(const{chainId:f,delegateContract:h,nonce:w,cacheKey:g,cached:y}of d){if(y){m.push(y);continue}if(r?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");const x=await s.signAuthorization({contractAddress:h,chainId:f,nonce:w},a),b={r:x.r,s:x.s,yParity:x.yParity,address:x.address??h,chainId:Number(x.chainId??f),nonce:Number(x.nonce??w)};o?.set(g,b),m.push(b)}return m}const ci=15;function Dd(e){return e.now-e.lastProgressAt>=e.pollTimeoutMs}function di(e,t){return{intentId:e,steps:t.map(n=>({...n,status:"pending"})),overallStatus:"processing"}}function so(e,t,n){const s=e.steps.map(l=>({...l})),o=s[t];if(!o)return e;n.status==="success"||n.status==="completed"?(s[t]={...o,status:"success",transactionHash:n.transactionHash},t+1<s.length&&s[t+1].status==="pending"&&(s[t+1]={...s[t+1],status:"processing"})):n.status==="reverted"||n.status==="error"?s[t]={...o,status:"failed",transactionHash:n.transactionHash,error:n.error}:s[t]={...o,status:"processing"};const r=s.some(l=>l.status==="failed"),a=s.every(l=>l.status==="success");return{...e,steps:s,overallStatus:r?"failed":a?"success":"processing"}}function Od({checkStepStatus:e,retryStep:t,maxRetries:n=3,pollingInterval:s=2500,pollTimeoutMs:o=3e5}){const[r,a]=p.useState(null),l=p.useRef(null),c=p.useRef(null),d=p.useRef(!1),m=p.useRef(!1),f=p.useRef(0),h=p.useRef({}),w=p.useRef(0),g=p.useCallback(k=>{l.current=k,a(k)},[]),y=p.useCallback(()=>{c.current&&(clearInterval(c.current),c.current=null)},[]),x=p.useCallback(()=>{f.current=0,h.current={},w.current=0,d.current=!0,y(),g(null)},[y,g]),b=p.useCallback((k,A)=>{y(),d.current=!1,g(di(k,A))},[y,g]),v=p.useCallback((k,A)=>{const I=l.current;I&&g(so(I,k,A))},[g]),C=p.useCallback((k,A)=>{y(),d.current=!1,m.current=!1,f.current=0,h.current={},w.current=Date.now(),g(di(k,A));const I=async()=>{if(!(d.current||m.current||!e)){m.current=!0;try{if(Dd({now:Date.now(),lastProgressAt:w.current,pollTimeoutMs:o})){const R=l.current;R&&g({...R,steps:R.steps.map(B=>B.status==="success"?B:{...B,status:"failed",error:"Taking longer than expected. It may still complete - check the explorer, then refresh."}),overallStatus:"failed"}),d.current=!0,y();return}const E=l.current;if(!E)return;const N=E.steps.findIndex(R=>R.status!=="success");if(N===-1){d.current=!0,y();return}if(!(N===0||E.steps[N-1].status==="success"))return;try{const R=E.steps[N].stepId,{data:B}=await e(k,R);if(f.current=0,B.status==="success"&&(w.current=Date.now()),B.status==="reverted"){const O=h.current[R]||0;if(t&&O<n){h.current[R]=O+1;try{await t(k,R)}catch(W){console.error(`[intentStatus] retry failed for step ${R}:`,W)}g(so(l.current,N,{status:"executing"}));return}}const U=so(l.current,N,B);g(U),U.overallStatus!=="processing"&&(d.current=!0,y())}catch(R){f.current+=1,console.error(`[intentStatus] poll error (${f.current}/${ci}):`,R),f.current>=ci&&(g(so(l.current,N,{status:"error"})),d.current=!0,y())}}finally{m.current=!1}}};I(),c.current=setInterval(I,s)},[e,t,n,s,o,y,g]);return p.useEffect(()=>()=>y(),[y]),{intentStatus:r,startStatusPolling:C,beginStatusTracking:b,applyStepUpdate:v,stopStatusPolling:y,clearStatus:x}}function Nd(e,t){return(t||"").trim()||`Transaction ${e}. The transaction was rejected on-chain. This may be due to insufficient balance, price changes, or health factor constraints. Please verify your positions and try again.`}const Pd=350,Md=2500;async function ui(e){const{actionId:t,intentIndex:n,intentId:s,stepIndex:o,maxPolls:r=48,maxExecuteAttempts:a=3,pollsBeforeRetry:l=5,maxConsecutiveStatusErrors:c=15,onStatusMessage:d,onStepUpdate:m,signal:f,chainId:h,startWithExecute:w=!0,observeOnly:g=!1,relayer:y=u.relayerService,completeOnExecution:x=!1}=e;if(f?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");let b="pending",v,C,k=0,A=0,I,E;const N=new Promise((B,U)=>{I=B,E=()=>U(new u.SpiceflowError("ABORT","Execution transaction aborted"))}),R=()=>{k++,y.executeStep(t,n,o,{action:"execute"}).then(B=>{B.transactionHash&&(v=B.transactionHash),B.status==="success"&&I({status:B.status,transactionHash:B.transactionHash})}).catch(B=>{const U=B instanceof Error?B.message:String(B);console.warn(`[execution] executeStep ${o} attempt ${k} error (will poll):`,U)})};f?.addEventListener("abort",E,{once:!0});try{w&&!g&&R();for(let B=0;B<r;B++){const U=B===0?Pd:Md;try{const W=await Promise.race([un(U).then(()=>{}),N]);if(f?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");const D=W??await Promise.race([y.checkStepStatus(s,o,x).then(P=>P.data),N]);if(f?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");A=0,b=D.status,C=D.error;const F=D.transactionHash;F&&(v=F),x&&/^0x[0-9a-f]{64}$/i.test(F??"")&&(D.executionStatus==="success"||D.executionStatus==="reverted")&&(b=D.executionStatus,C=void 0),m?.({status:b,transactionHash:v,error:C})}catch(W){if(W instanceof Error&&(W.name==="AbortError"||W instanceof u.SpiceflowError&&W.code==="ABORT"))throw W;if(A++,A>=c){if(!g)throw W;d?.("Status is temporarily unavailable. The backend continues this action.",v)}continue}if(!g&&b==="created"&&B>=k*l&&k<a&&R(),b==="reverted"||b==="error")throw new u.SpiceflowError("ON_CHAIN_REVERT",Nd(b,C),{status:b,txHash:v,actionId:t,intentId:s,stepId:o,chainId:h});if(b==="success"||b==="completed")return v;let O="Waiting for solver...";b==="executing"?O="Transaction executing...":b==="submitted"?O="Transaction submitted...":b==="created"&&(O="Waiting for relayer..."),d?.(O,v)}throw new u.SpiceflowError("POLLING_EXHAUSTED",`Transaction is still processing (status: ${b}). This doesn't mean it failed \u2014 the solver may still complete it. Check your positions in a few minutes, or try refreshing the page.`,{actionId:t,intentId:s,stepId:o,lastStatus:b,pollAttempts:r,maxPolls:r,txHash:v})}finally{f?.removeEventListener("abort",E)}}async function Ud(e){const{actionId:t,intentIndex:n,intentId:s,totalSteps:o,observeOnly:r,delayBeforeSpicenetStepMs:a=5e3,isSpicenetStep:l,beforeStep:c,maxExecuteAttemptsForStep:d,maxPolls:m=48,onStatusMessage:f,onStepUpdate:h,signal:w}=e;let g;for(let y=0;y<o;y++){if(!r&&y>0&&l?.(y)&&a>0&&await un(a),await c?.(y),w?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");const x=d?.(y)??3,b=await ui({actionId:t,intentIndex:n,intentId:s,stepIndex:y,observeOnly:r,relayer:e.relayer,maxPolls:m,maxExecuteAttempts:x,maxConsecutiveStatusErrors:x===6?5:15,onStatusMessage:f,onStepUpdate:h?v=>h(y,v):void 0,signal:w,completeOnExecution:y===o-1&&l?.(y)===!1});b&&(g=b)}return g}const Wd="0xa9059cbb",Ld=[S.SPICE_COMBINED_FEE_RECIPIENT,S.SPICE_GAS_FEE_RECIPIENT,S.SPICE_PLATFORM_FEE_RECIPIENT];function pi(e){return Ld.some(t=>u.addressesEqual(e,t))}function oo(e,t){return e.map(n=>{if(n.domain==="spicenet"||S.isSpicenetChainId(n.chainId)||n.calls.length===0)return n;const s=new Set((n.tokenTransfers??[]).filter(a=>(a.from==="escrow"||a.from==="solver")&&u.addressesEqual(a.to,t)).map(a=>a.token.toLowerCase()));if(s.size===0)return n;const o=[...s].some(S.isNativeToken);let r=0;for(const a of n.calls){if(o&&a.value>0n&&a.data==="0x"&&pi(a.to)){r+=1;continue}if(!a.data?.startsWith(Wd))break;try{const l=T.decodeFunctionData({abi:T.erc20Abi,data:a.data});if(l.functionName!=="transfer")break;const[c]=l.args;if(!pi(c)||!s.has(a.to.toLowerCase()))break;r+=1}catch{break}}return r===0?n:{...n,calls:n.calls.slice(r)}})}async function qd(e,t){if(!t||!/^0x[0-9a-f]{64}$/i.test(t))throw new Error("The destination receipt is not available yet; reconcile the existing action before retrying.");const n=await e.waitForTransactionReceipt({hash:t,timeout:12e4,pollingInterval:2e3,confirmations:1});if(n.transactionHash?.toLowerCase()!==t.toLowerCase()||n.status!=="success")throw new Error("The destination transaction has not been confirmed successfully. Reconcile the existing action before retrying.");return t}async function ro(e){let t=e.hash,n=!1;const s=Date.now()+12e4,o=a=>a.transactionHash&&a.transactionHash.toLowerCase()!==t.toLowerCase();let r=await e.client.waitForTransactionReceipt({hash:t,timeout:12e4,pollingInterval:2e3,confirmations:1,onReplaced:a=>{const l=a.transaction,c=a.replacedTransaction;if(!(a.reason==="repriced"&&c?.hash?.toLowerCase()===t.toLowerCase()&&c?.to?.toLowerCase()===e.call.to.toLowerCase()&&(c.input??"0x").toLowerCase()===e.call.data.toLowerCase()&&BigInt(c.value??0)===e.call.value&&c?.from&&c.nonce!==void 0&&/^0x[0-9a-f]{64}$/i.test(l?.hash??"")&&l?.to?.toLowerCase()===e.call.to.toLowerCase()&&(l.input??"0x").toLowerCase()===e.call.data.toLowerCase()&&BigInt(l.value??0)===e.call.value&&l.from?.toLowerCase()===c?.from?.toLowerCase()&&l.nonce===c?.nonce)){n=!0,e.onCancelled?.();return}t=l.hash,e.onRepriced?.(t)}});if(n)throw new Error("Transaction was cancelled or replaced with a different action; retry the unfinished action");if((e.confirmations??1)>1&&!o(r)&&r.status==="success"&&(r=await e.client.waitForTransactionReceipt({hash:t,timeout:Math.max(s-Date.now(),1),pollingInterval:2e3,confirmations:e.confirmations})),o(r))throw new Error("Unexpected transaction receipt; recover the submitted transaction before retrying");return{receipt:r,hash:t}}const zd=10n,Hd=10n,Vd=5;function _o(e){return e.map(t=>({...t,calls:[...t.calls],tokenTransfers:t.tokenTransfers?[...t.tokenTransfers]:void 0}))}function ao({token:e,recipient:t,amount:n}){return{to:e,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[t,n]})}}function Qd({chainBatches:e,token:t,amount:n}){const s=_o(e),o=s[s.length-1];if(!o)return s;const r=S.getEscrowContractAddress(o.chainId);return o.calls=[...o.calls,ao({token:t,recipient:r,amount:n})],s}function fi({chainBatches:e,user:t,token:n,grossAmount:s,gasFee:o}){const r=_o(e),a=r[r.length-1];if(!a)throw new u.SpiceflowError("INVALID_PARAMS","Action-output escrow funding requires at least one chain batch.");const l=u.calculateBpsFee(s,Hd),c=o+l;if(c>=s)throw new u.SpiceflowError("INVALID_PARAMS","Borrow amount is too small after gas and Spicenet fees.",{grossAmount:s.toString(),gasFee:o.toString(),spicenetFee:l.toString()});const d=s-c,m=S.getEscrowContractAddress(a.chainId),f=[];return o>0n&&f.push(ao({token:n,recipient:S.SPICE_GAS_FEE_RECIPIENT,amount:o})),l>0n&&f.push(ao({token:n,recipient:S.SPICE_PLATFORM_FEE_RECIPIENT,amount:l})),a.calls=[...a.calls,...f,ao({token:n,recipient:m,amount:d})],a.tokenTransfers=[...a.tokenTransfers??[],...o>0n?[{from:t,to:S.SPICE_GAS_FEE_RECIPIENT,token:n,amount:o}]:[],...l>0n?[{from:t,to:S.SPICE_PLATFORM_FEE_RECIPIENT,token:n,amount:l}]:[],{from:t,to:m,token:n,amount:d}],{chainBatches:r,gasFee:o,spicenetFee:l,netEscrowAmount:d,outputCredit:{chainId:a.chainId,token:n,amount:s}}}async function mi({chainBatches:e,user:t,token:n,grossAmount:s,chainAuthorizations:o}){let r=0n,a=fi({chainBatches:e,user:t,token:n,grossAmount:s,gasFee:r});for(let l=0;l<Vd;l+=1){const c=S.hashChainBatches(a.chainBatches),d=(await u.relayerService.estimateBatchGas({user:t,outputToken:n,chainBatches:a.chainBatches.map((m,f)=>({...m,hash:c[f].hash})),chainAuthorizations:o})).gasFee;if(d===r)return a;r=d,a=fi({chainBatches:e,user:t,token:n,grossAmount:s,gasFee:r})}throw new u.SpiceflowError("INVALID_PARAMS","Action-output fee estimate did not converge. Please retry.")}function Cn(e){return S.isSpicenetChainId(e.chainId)}const Gd="0xa9059cbb";function ks(e,t){return`${e}:${S.normalizeNativeTokenAddress(t).toLowerCase()}`}function hi(e,t){return t===S.ZERO_ADDRESS.toLowerCase()?{symbol:u.getChainName(e),decimals:18}:S.getTokenByAddress(t,e)??{symbol:"tokens",decimals:18}}function Kd(e,t){const n=S.getTokenByAddress(t,e);return[n?.equivalenceGroup,n?.symbol,n?.name]}async function er(e){return u.getWalletBalanceEntries(e)}async function Zd(e,t,n){const s=new Map,o=n?.walletFundingRequirement,r=o&&ks(o.chainId,o.token);r&&s.set(r,0n);const a=new Map,l=new Map,c=new Map,d=new Map;for(const f of n?.actionOutputCredits??[]){const h=ks(f.chainId,f.token);d.set(h,(d.get(h)??0n)+f.amount)}for(const f of e){if(Cn(f))continue;for(const g of f.tokenTransfers??[]){if(g.from!=="escrow"&&g.from!=="solver"||!u.addressesEqual(g.to,t))continue;const y=BigInt(g.amount??0);if(y<=0n)continue;const x=ks(f.chainId,g.token);a.set(x,(a.get(x)??0n)+y),g.from==="escrow"&&l.set(x,(l.get(x)??0n)+y)}const h=S.getEscrowContract(f.chainId),w=g=>!!h&&h!==S.ZERO_ADDRESS&&u.addressesEqual(g,h);for(const g of f.calls){if(g.value&&g.value>0n){const y=ks(f.chainId,S.ZERO_ADDRESS);s.set(y,(s.get(y)??0n)+g.value),w(g.to)&&c.set(y,(c.get(y)??0n)+g.value)}if(g.data?.startsWith(Gd))try{const y=T.decodeFunctionData({abi:T.erc20Abi,data:g.data});if(y.functionName!=="transfer")continue;const[x,b]=y.args,v=g.to.toLowerCase(),C=ks(f.chainId,v);s.set(C,(s.get(C)??0n)+b),w(x)&&c.set(C,(c.get(C)??0n)+b)}catch{}}}let m=null;for(const[f,h]of l){const w=h-(c.get(f)??0n);if(w<=0n)continue;const[g,y]=f.split(":"),x=Number(g),b=hi(x,y);m??(m=await er(t));const v=Vo(m,x,y,Kd(x,y));if(!(v>=w))throw new u.SpiceflowError("INVALID_PARAMS",`Insufficient Spice ${b.symbol}: needs ${T.formatUnits(w,b.decimals)}, has ${T.formatUnits(v,b.decimals)}.`,{chainId:x,token:y,userAddress:t,requiredAmount:w.toString(),balance:v.toString(),balanceSource:"spice"})}for(const[f,h]of s){const[w,g]=f.split(":"),y=Number(w);let x=h-(a.get(f)??0n)-(d.get(f)??0n);if(o&&f===r&&o.amount>x&&(x=o.amount),x<=0n)continue;const b=u.getClientForChain(y),v=g===S.ZERO_ADDRESS.toLowerCase()?await b.getBalance({address:t}):await b.readContract({address:g,abi:T.erc20Abi,functionName:"balanceOf",args:[t]});if(v>=x)continue;const C=hi(y,g);throw new u.SpiceflowError("INVALID_PARAMS",`Insufficient ${C.symbol} on ${u.getChainName(y)}: needs ${T.formatUnits(x,C.decimals)}, has ${T.formatUnits(v,C.decimals)}.`,{chainId:y,token:g,userAddress:t,requiredAmount:x.toString(),balance:v.toString(),balanceSource:"wallet"})}}function Yd({chainBatches:e,tokenAddress:t,tokenTransferAmount:n,useCustomTransfers:s}){if(!(e.some(Cn)||!(s?e.some(o=>Cn(o)?!1:(o.tokenTransfers??[]).some(r=>r.from==="escrow"&&BigInt(r.amount??0)>0n)):n>0n)))throw new u.SpiceflowError("INVALID_PARAMS","Payouts funded from Spice balance require a Spicenet funding batch before the destination chain batch. Deposits into Spice balance and gas-only actions do not need one.",{tokenAddress:t,tokenTransferAmount:n.toString(),useCustomTransfers:!!s})}function Xd(e,t,n,s){t.forEach((o,r)=>{if(!o.to||!o.from||!o.token||o.amount===void 0)throw new u.SpiceflowError("INVALID_TOKEN_TRANSFER",`tokenTransfers[${r}] on chain ${e} is missing required fields (to/from/token/amount). This usually means the embedded wallet wasn't ready when the intent was built \u2014 please retry.`,{chainId:e,transferIndex:r,transfer:{from:o.from,to:o.to,token:o.token,amount:o.amount?.toString()},signingAddress:n,useCustomTransfers:s})})}function io({user:e,chainBatches:t,tokenAddress:n,tokenTransferAmount:s,exp:o,signature:r,chainAuthorizations:a,useCustomTransfers:l}){const c=t,d=S.hashChainBatches(c),m=c.filter(f=>!Cn(f)).length;if(Yd({chainBatches:c,tokenAddress:n,tokenTransferAmount:s,useCustomTransfers:l}),!l&&s>0n&&m>1)throw new u.SpiceflowError("INVALID_PARAMS","Multiple non-Spicenet batches require explicit tokenTransfers. Pass useCustomTransfers with per-batch transfers instead of relying on the default escrow payout injection.",{nonSpicenetBatchCount:m,tokenAddress:n,tokenTransferAmount:s.toString()});return{user:e,...a?{chainAuthorizations:a}:{},intents:[{mode:"7702",signatureType:"ecdsa",signature:r,nbf:0,exp:o,chainBatches:d.map((f,h)=>{const w=c[h],g=Cn(w)?[]:l?w.tokenTransfers??[]:s>0n?[{from:"escrow",to:e,token:n,amount:s}]:[];return Xd(Number(f.chainId),g,e,l),{hash:f.hash,chainId:Number(f.chainId),tokenTransfers:g,calls:f.calls}})}]}}function gi(e,t){const n=t?.depositToEscrow?.gasFundingSource==="action-output"?t.depositToEscrow:null,s=t?.depositToEscrow&&!n?Qd({chainBatches:e,token:t.depositToEscrow.token,amount:t.depositToEscrow.amount}):_o(e);return{actionOutputDeposit:n,batches:s}}let tr=!1;function Ss(){const{address:e,isConnected:t,isAuthenticated:n,actions:s}=u.useWallet(),o=p.useRef(null),{intentStatus:r,startStatusPolling:a,beginStatusTracking:l,applyStepUpdate:c,clearStatus:d}=Od({checkStepStatus:(x,b)=>u.relayerService.checkStepStatus(x,b),retryStep:async(x,b)=>{const[v,C]=x.split("/"),k=parseInt(C||"0",10);await u.relayerService.executeStep(v,k,b,{action:"execute"})}}),m=p.useRef(s),f=p.useRef(new Map);m.current=s;const h=p.useCallback((x,b,v,C,k)=>li({chainBatches:x,signingAddress:b,actions:m.current,cache:f.current,signal:v,onSignatureRequested:C,beforeSign:k}),[]),w=p.useCallback((x,b,v,C)=>ii(m.current,x,b,v,C),[]),g=p.useCallback(async(x,b,v,C,k,A)=>{const I=(E,N,R)=>{C?.({step:E,message:N,...R})};if(tr)throw new u.SpiceflowError("CONCURRENT_EXECUTION","A execution transaction is already in progress. Please wait.");tr=!0;try{if(!e)throw new u.SpiceflowError("WALLET_DISCONNECTED","No wallet connected. Please log in first.");const E=A?.userOverride||e,N=u.relayerService.getBaseUrl(),R=await u.relayerService.supportsAutomaticContinuation(),{actionOutputDeposit:B,batches:U}=gi(x,A);let O=U,W=[],D=A?.useCustomTransfers,F=ni(O),P=null;const q=async()=>{for(let $=0;F.length>0&&$<3;$++)try{P=await er(E);break}catch(H){if(k?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");if($===2)throw new u.SpiceflowError("RELAYER_ERROR","Unable to read your Spice balance. Please try again before submitting the transaction.",{cause:H});await un(1e3)}await A?.validateBeforeSubmit?.(O)};I("building","Preparing your wallet and transaction...");const L=await h(O,E,k,()=>I("signing-delegation","Confirm the authorization in your wallet..."),q);if(I("building","Checking transaction fees and balances..."),k?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");const ne=BigInt(Math.floor(Date.now()/1e3)+3600);if(B){const $=await mi({chainBatches:x,user:E,token:B.token,grossAmount:B.amount,chainAuthorizations:L});O=$.chainBatches,W=[$.outputCredit],D=!0}if(!A?.skipPreSubmitFeeEstimate){let $=!1;if(A?.feeExecutionMode==="user-transfer"&&A.adjustBatchesForEstimate&&u.relayerService.canValidateActionFees()){const H=await u.relayerService.validateActionFees(io({user:E,chainBatches:O,tokenAddress:b,tokenTransferAmount:v,exp:Number(ne),signature:"0x00",chainAuthorizations:L,useCustomTransfers:D}),{signal:k});o.current=H;const me=await A.adjustBatchesForEstimate({feeEstimate:H,chainBatches:O});$=!me||ti(O,me),me&&(O=me)}for(let H=0;!$&&H<10;H++){const me=A?.feeExecutionMode==="user-transfer"?oo(O,E):O,ge=io({user:E,chainBatches:me,tokenAddress:b,tokenTransferAmount:v,exp:Number(ne),signature:"0x00",chainAuthorizations:L,useCustomTransfers:D}),je=await u.relayerService.estimateActionFees(ge,{signal:k});o.current=je;const K=await A?.adjustBatchesForEstimate?.({feeEstimate:je,chainBatches:O}),M=!!K&&ti(O,K);if(!K||M){$=!0;break}O=K}if(!$)throw new u.SpiceflowError("INVALID_PARAMS","Fee estimate did not converge. Please retry.")}if(A?.prepareForSigning){const $=await A.prepareForSigning(O);if($.length!==O.length||$.some((H,me)=>H.chainId!==O[me].chainId||H.domain!==O[me].domain))throw new Error("The funded route changed before signing");O=$}A?.resolveActionOutputCredits&&(W=await A.resolveActionOutputCredits()),(!A?.skipUserFundingPreflight||A.walletFundingRequirement)&&await Zd(A?.skipUserFundingPreflight?[]:O,E,{actionOutputCredits:W,walletFundingRequirement:A?.walletFundingRequirement}),F=ni(O),F.length&&!P&&(P=await u.getWalletBalanceEntries(E)),await A?.validateBeforeSubmit?.(O),I("building","Preparing the signing request...");const pe=await w(O,ne,k,()=>I("signing-intent","Confirm the transaction in your wallet..."));if(k?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");I("submitting","Submitting to relayer...");const ce=io({user:E,chainBatches:O,tokenAddress:b,tokenTransferAmount:v,exp:Number(ne),signature:pe,chainAuthorizations:L,useCustomTransfers:D}),X=Date.now();if(await A?.validateBeforeSubmit?.(O),console.debug("[SpiceFlow:execution]",{phase:"submit-check-complete",at:Date.now(),durationMs:Date.now()-X}),u.relayerService.getBaseUrl()!==N)throw new Error("The network changed before submission. Review your balances before trying again.");const z=await u.relayerService.createAction({...ce,...R?{autoContinue:!0}:{}}),[V,fe]=z.intentIds[0].split("/"),Y=parseInt(fe||"0",10),Ce=`${V}/${Y}`;I("executing","Executing on chain..."),I("executing","Executing on chain...",{actionId:V,intentId:Ce,intentIndex:Y,totalSteps:O.length,autoContinue:z.autoContinue===!0});const be=O.length,j=new u.RelayerService;j.setBaseUrl(N);const Z=await Ud({actionId:V,intentIndex:Y,intentId:Ce,totalSteps:be,signal:k,observeOnly:z.autoContinue===!0,relayer:z.autoContinue?j:u.relayerService,...P?{delayBeforeSpicenetStepMs:0}:{},isSpicenetStep:$=>Cn(O[$]),beforeStep:async $=>{if(z.autoContinue===!0||!P||!Cn(O[$]))return;const H=await ri({deposits:F,baseline:P,fetchEntries:()=>er(E),signal:k});if(k?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");if(!H)throw new u.SpiceflowError("POLLING_EXHAUSTED","Your deposit is still waiting for Spice credit. Check this transaction's status before trying again.",{actionId:V,intentId:Ce,stepId:$})},maxExecuteAttemptsForStep:$=>Cn(O[$])?6:3,maxPolls:z.autoContinue?Number.POSITIVE_INFINITY:180,onStatusMessage:($,H)=>{I("executing",$,{txHash:H,actionId:V,intentId:Ce,intentIndex:Y,totalSteps:be,autoContinue:z.autoContinue===!0})}});if(A?.requireDestinationReceipt){const $=[...O].reverse().find(H=>!Cn(H));if(!$)throw new Error("The action has no destination transaction to verify.");await qd(u.getClientForChain($.chainId),Z)}return I("success","Transaction successful!",{txHash:Z,actionId:V,intentId:Ce,intentIndex:Y,totalSteps:be,autoContinue:z.autoContinue===!0}),Z||V}catch(E){throw console.error("[Execution] Error:",E),I("error",E.message||"Transaction failed",{error:E.message}),E}finally{tr=!1}},[e,n,h,w]),y=p.useCallback(async(x,b,v,C)=>{if(!e)throw new u.SpiceflowError("WALLET_DISCONNECTED","No wallet connected. Please log in first.");const k=C?.userOverride||e,A=C?.validateFeeCalls===!0&&C.feeExecutionMode==="user-transfer"&&u.relayerService.canValidateActionFees(),{actionOutputDeposit:I,batches:E}=gi(x,C);let N=E;const R=C?.feeExecutionMode==="user-transfer"&&!A?oo(N,k):N,B=C?.signAuthorizationsForEstimate?await h(R,k):void 0;let U=C?.useCustomTransfers;I&&(N=(await mi({chainBatches:x,user:k,token:I.token,grossAmount:I.amount,chainAuthorizations:B})).chainBatches,U=!0);const O=C?.feeExecutionMode==="user-transfer"&&!A?oo(N,k):N,W=io({user:k,chainBatches:O,tokenAddress:b,tokenTransferAmount:v,exp:Math.floor(Date.now()/1e3)+3600,signature:"0x00",chainAuthorizations:B,useCustomTransfers:U}),D=await(A?u.relayerService.validateActionFees(W,{signal:C?.signal}):u.relayerService.estimateActionFees(W,{signal:C?.signal}));return o.current=D,D},[e,h]);return{execute:g,estimate:y,lastFeeEstimate:o.current,hasEmbeddedWallet:t&&n,intentStatus:r,startStatusPolling:a,beginStatusTracking:l,applyStepUpdate:c,clearStatus:d}}const nr=({color:e})=>i.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:[i.jsx("circle",{cx:"7",cy:"7",r:"6.5",stroke:e,strokeWidth:"1.2"}),i.jsx("path",{d:"M7 6v4",stroke:e,strokeWidth:"1.2",strokeLinecap:"round"}),i.jsx("circle",{cx:"7",cy:"4.5",r:"0.7",fill:e})]}),xi=({content:e,label:t="More info",textColor:n="#f9fafb",backgroundColor:s="#111827",borderColor:o="rgba(255,255,255,0.08)",accentColor:r="#9ca3af",children:a})=>{const l=p.useId(),[c,d]=p.useState(!1),m=p.useRef(null),[f,h]=p.useState(!1),[w,g]=p.useState(null);p.useEffect(()=>{h(!0)},[]),p.useLayoutEffect(()=>{if(!c||!m.current)return;const x=()=>{if(!m.current)return;const b=m.current.getBoundingClientRect(),v=Math.min(220,window.innerWidth-48),C=Math.min(Math.max(b.left+b.width/2,24+v/2),window.innerWidth-24-v/2),k=b.top>84;g({top:k?b.top-10:b.bottom+10,left:C,placement:k?"top":"bottom"})};return x(),window.addEventListener("scroll",x,!0),window.addEventListener("resize",x),()=>{window.removeEventListener("scroll",x,!0),window.removeEventListener("resize",x)}},[c]);const y=c&&f&&w?Gn.createPortal(i.jsxs("span",{id:l,role:"tooltip",style:{position:"fixed",left:w.left,top:w.top,transform:w.placement==="top"?"translate(-50%, -100%)":"translate(-50%, 0)",width:"220px",maxWidth:"min(220px, calc(100vw - 48px))",padding:"10px 12px",borderRadius:"10px",backgroundColor:s,color:n,border:`1px solid ${o}`,boxShadow:"0 18px 45px rgba(0,0,0,0.28)",fontSize:"11px",lineHeight:"1.45",fontWeight:500,textAlign:"left",zIndex:u.z.tooltip,pointerEvents:"none"},children:[e,i.jsx("span",{"aria-hidden":"true",style:{position:"absolute",left:"50%",width:"10px",height:"10px",transform:"translateX(-50%) rotate(45deg)",backgroundColor:s,...w.placement==="top"?{bottom:"-6px",borderRight:`1px solid ${o}`,borderBottom:`1px solid ${o}`}:{top:"-6px",borderTop:`1px solid ${o}`,borderLeft:`1px solid ${o}`}}})]}),document.body):null;return i.jsxs(i.Fragment,{children:[i.jsx("span",{ref:m,style:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1),children:i.jsx("button",{type:"button","aria-label":t,"aria-describedby":c?l:void 0,onFocus:()=>d(!0),onBlur:()=>d(!1),style:{width:"18px",height:"18px",borderRadius:"999px",display:"inline-flex",alignItems:"center",justifyContent:"center",border:`1px solid ${o}`,backgroundColor:"transparent",color:r,cursor:"help",padding:0,outline:"none",boxShadow:c?`0 0 0 2px ${r}26`:"none",transition:"border-color 120ms ease, box-shadow 120ms ease, color 120ms ease"},children:a||i.jsx(nr,{color:r})})}),y]})},Is=(e,t,n,s)=>({width:e,height:e,fill:"none",className:t,"aria-hidden":n??!0,style:s}),Jn=({size:e=16,color:t="currentColor",strokeWidth:n=2,direction:s="down",className:o,style:r,"aria-hidden":a})=>i.jsx("svg",{...Is(e,o,a,{transform:s==="up"?"rotate(180deg)":void 0,transition:"transform 0.3s ease",...r}),viewBox:"0 0 16 16",children:i.jsx("path",{d:"M4 6L8 10L12 6",stroke:t,strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round"})}),Jd=({size:e=24,color:t="currentColor",strokeWidth:n=2,className:s,style:o,"aria-hidden":r})=>i.jsxs("svg",{...Is(e,s,r,o),viewBox:"0 0 24 24",children:[i.jsx("circle",{cx:"11",cy:"11",r:"8",stroke:t,strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"m21 21-4.3-4.3",stroke:t,strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round"})]}),$d=({size:e=24,color:t="currentColor",strokeWidth:n=2,className:s,style:o,"aria-hidden":r})=>i.jsx("svg",{...Is(e,s,r,o),viewBox:"0 0 24 24",children:i.jsx("path",{d:"m6 9 6 6 6-6",stroke:t,strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round"})}),_d=({size:e=24,color:t="currentColor",strokeWidth:n=2,className:s,style:o,"aria-hidden":r})=>i.jsx("svg",{...Is(e,s,r,o),viewBox:"0 0 24 24",children:i.jsx("path",{d:"m9 18 6-6-6-6",stroke:t,strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round"})}),yi=({size:e=14,color:t="currentColor",strokeWidth:n=2,className:s,style:o,"aria-hidden":r})=>i.jsx("svg",{...Is(e,s,r,o),viewBox:"0 0 16 16",children:i.jsx("path",{d:"M3 8L6.5 11.5L13 5",stroke:t,strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round"})});function lo(e,t){if(e===0n)return"0";const n=10n**BigInt(t),s=e/n,o=(e%n).toString().padStart(t,"0").replace(/0+$/,"");return o?`${s.toString()}.${o}`:s.toString()}function sr(e,t,n){const s=`${lo(e,t)} ${n}`;return e===0n?s:`-${s}`}const eu=({fontFamily:e,textPrimary:t,textSecondary:n,cardBg:s,cardBorder:o,resolvedDark:r,darkCardBorder:a,primaryColor:l,feePreview:c,feeOnlyAction:d=!1,asset:m,isLoading:f,errorText:h,directExecutionFeeNote:w=!1})=>{const g=u.useAssetDisplay(),y=m&&c&&[m.symbol,m.displaySymbol,m.receiptTokenName].includes(c.symbol)?g(m).symbol:c?.symbol,x=r?a??o:"#e5e7eb",b=r?"#111214":"#111827",v=r?"rgba(255,255,255,0.08)":"rgba(17,24,39,0.12)",C="#f87171",k=r?"#d1d5db":"#4b5563",A=r?"#f3f4f6":t,[I,E]=p.useState(!1),N=!!h,R=N?null:c,B=R?[...d?[]:[{label:"Total Required",help:"Total amount required to fund this action.",value:`${lo(R.grossAmount,R.decimals)} ${y}`,tone:"default"}],{label:"Spicenet Fee",help:"Fees paid to Spicenet for intent processing and execution.",value:sr(R.spicenetFee,R.decimals,y),tone:"fee"},{label:"Network Fee",help:"Network fee shown in the same token you are using for this action.",value:sr(R.gasFee,R.decimals,y),tone:"fee"},...R.bridgeFee&&R.bridgeFee>0n?[{label:"Bridge Fee",help:"Estimated cost to rebalance liquidity for this action.",value:sr(R.bridgeFee,R.decimals,y),tone:"fee"}]:[],...d?[]:[{label:"Used in TX",help:"Resulting amount of funds used in the transaction.",value:`${lo(R.netAmount,R.decimals)} ${y}`,tone:"default"}]]:[],U=R?`${lo(d?R.totalFee??R.gasFee+R.spicenetFee+(R.bridgeFee??0n):R.grossAmount,R.decimals)} ${y}`:null;return N?i.jsx("div",{style:{backgroundColor:s,border:`1px solid ${o}`,borderRadius:r?"8px":"7px",padding:"14px 16px 12px 16px",marginBottom:"16px",boxShadow:r?"inset 0 1px 0 rgba(255,255,255,0.03)":"none"},children:i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"10px"},children:[i.jsx("span",{style:{fontSize:"17px",fontWeight:500,color:k,fontFamily:e,lineHeight:"24px"},children:"Fee"}),i.jsx("div",{style:{color:C,fontSize:"12px",lineHeight:"1.55",fontFamily:e},children:h})]})}):i.jsxs("div",{style:{backgroundColor:s,border:`1px solid ${o}`,borderRadius:r?"8px":"7px",padding:"14px 16px 12px 16px",marginBottom:"16px",boxShadow:r?"inset 0 1px 0 rgba(255,255,255,0.03)":"none"},children:[i.jsxs("button",{type:"button",onClick:()=>E(O=>!O),style:{display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",gap:"12px",marginBottom:I?"14px":0,background:"none",border:"none",padding:0,cursor:"pointer",textAlign:"left"},children:[i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[i.jsx("span",{style:{fontSize:"17px",fontWeight:500,color:k,fontFamily:e,lineHeight:"24px"},children:"Fee"}),I&&i.jsx("span",{style:{fontSize:"12px",color:n,fontFamily:e,lineHeight:"1.45"},children:"What is funded, spent, and taken as fees"})]}),i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",flexShrink:0},children:[U&&i.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-end",gap:"2px",minWidth:0},children:[i.jsx("span",{style:{fontSize:"10px",fontWeight:700,color:n,fontFamily:e,letterSpacing:"0.08em",textTransform:"uppercase"},children:d?"Total fees":"Total required"}),i.jsx("span",{style:{fontSize:"14px",fontWeight:700,color:A,fontFamily:e,whiteSpace:"nowrap"},children:U})]}),f&&!w&&i.jsx("span",{style:{fontSize:"11px",fontWeight:600,color:l,fontFamily:e,padding:"6px 9px",borderRadius:"999px",backgroundColor:r?"rgba(255,255,255,0.04)":"rgba(0,0,0,0.035)",border:`1px solid ${r?x:"rgba(0,0,0,0.06)"}`,whiteSpace:"nowrap"},children:"Recalculating"}),i.jsx(Jn,{color:n,direction:I?"up":"down",style:{flexShrink:0}})]})]}),i.jsx("div",{style:{overflow:"hidden",maxHeight:I?"480px":"0px",opacity:I?1:0,transition:"max-height 0.24s ease, opacity 0.18s ease"},children:w?i.jsx("p",{style:{margin:0,color:n,fontSize:"12px",lineHeight:"1.55",fontFamily:e},children:"This path executes directly from the external wallet. Network gas is shown and paid in your wallet. No Spicenet fee is charged."}):B.length>0?i.jsxs(i.Fragment,{children:[i.jsx("div",{style:{display:"grid",gap:"10px"},children:B.map((O,W)=>i.jsxs("div",{style:{display:"grid",gridTemplateColumns:"minmax(0, 1fr) auto",alignItems:"center",gap:"12px",paddingTop:W===0?0:"10px",borderTop:W===0?"none":`1px solid ${x}`,opacity:f?.74:1,transition:"opacity 120ms ease"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",minWidth:0},children:[i.jsx("span",{style:{fontSize:"12px",color:n,fontFamily:e,fontWeight:500},children:O.label}),i.jsx(xi,{content:O.help,label:`${O.label} info`,textColor:"#f9fafb",backgroundColor:b,borderColor:v,accentColor:r?"#8f96a3":"#6b7280"})]}),i.jsx("span",{style:{fontSize:"12px",color:O.tone==="fee"?C:A,fontFamily:u.font.mono,textAlign:"right",fontWeight:O.label==="Used in TX"?600:500,letterSpacing:"-0.01em"},children:O.value})]},O.label))}),i.jsx("div",{style:{marginTop:"12px",paddingTop:"12px",borderTop:`1px solid ${x}`,fontSize:"11px",color:n,fontFamily:e,lineHeight:"1.45"},children:R?.gasQuoteSource==="estimated"?"Gas quote uses a live estimate.":R?.gasQuoteSource==="configured_fallback"?"Gas quote uses a configured fallback.":"Gas quote is currently zero."})]}):i.jsx("div",{style:{fontSize:"12px",color:h?C:n,fontFamily:e,opacity:h?1:.8,lineHeight:"1.5"},children:h||"Waiting for fee estimate..."})})]})},or=p.memo(eu),As=({size:e=20,strokeWidth:t=2,color:n="currentColor",style:s})=>i.jsxs("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:t,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",style:s,children:[i.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),i.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]});var wi="data:image/svg+xml,%3csvg width='108' height='22' viewBox='0 0 108 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1.9916 11.9854V11.2041H3.98379C4.48835 11.2041 4.87897 11.0739 5.15566 10.8135C5.43236 10.5498 5.5707 10.1868 5.5707 9.72461V9.71484C5.5707 9.24935 5.43236 8.88639 5.15566 8.62598C4.87897 8.36556 4.48835 8.23535 3.98379 8.23535H1.9916V7.4541H4.2084C4.65111 7.4541 5.04173 7.5485 5.38027 7.7373C5.71882 7.92611 5.98411 8.18978 6.17617 8.52832C6.37148 8.86686 6.46914 9.25911 6.46914 9.70508V9.71484C6.46914 10.1608 6.37148 10.5547 6.17617 10.8965C5.98411 11.2383 5.71882 11.5052 5.38027 11.6973C5.04173 11.8893 4.65111 11.9854 4.2084 11.9854H1.9916ZM1.55215 14.5V7.4541H2.43106V14.5H1.55215ZM9.51875 14.5928C9.0207 14.5928 8.58939 14.4837 8.2248 14.2656C7.86348 14.0443 7.58353 13.7301 7.38496 13.3232C7.18965 12.9163 7.09199 12.4329 7.09199 11.873V11.8633C7.09199 11.3001 7.18965 10.8151 7.38496 10.4082C7.58353 10.0013 7.86348 9.6888 8.2248 9.4707C8.58939 9.2526 9.0207 9.14355 9.51875 9.14355C10.0201 9.14355 10.4514 9.2526 10.8127 9.4707C11.174 9.6888 11.4523 10.0013 11.6477 10.4082C11.8462 10.8151 11.9455 11.3001 11.9455 11.8633V11.873C11.9455 12.4329 11.8462 12.9163 11.6477 13.3232C11.4523 13.7301 11.174 14.0443 10.8127 14.2656C10.4514 14.4837 10.0201 14.5928 9.51875 14.5928ZM9.51875 13.8408C9.85078 13.8408 10.1324 13.7627 10.3635 13.6064C10.5946 13.4502 10.7704 13.2256 10.8908 12.9326C11.0145 12.6396 11.0764 12.2865 11.0764 11.873V11.8633C11.0764 11.4466 11.0145 11.0918 10.8908 10.7988C10.7704 10.5059 10.5946 10.2829 10.3635 10.1299C10.1324 9.97363 9.85078 9.89551 9.51875 9.89551C9.18672 9.89551 8.90514 9.97363 8.67402 10.1299C8.4429 10.2829 8.26549 10.5059 8.1418 10.7988C8.02135 11.0918 7.96113 11.4466 7.96113 11.8633V11.873C7.96113 12.2865 8.02135 12.6396 8.1418 12.9326C8.26549 13.2256 8.4429 13.4502 8.67402 13.6064C8.90514 13.7627 9.18672 13.8408 9.51875 13.8408ZM13.7842 14.5L12.3096 9.23633H13.1592L14.1943 13.4453H14.2725L15.4492 9.23633H16.2549L17.4316 13.4453H17.5098L18.5449 9.23633H19.3896L17.915 14.5H17.0605L15.8838 10.4277H15.8057L14.6338 14.5H13.7842ZM22.1658 14.5928C21.6645 14.5928 21.2332 14.4821 20.8719 14.2607C20.5138 14.0394 20.2371 13.7269 20.0418 13.3232C19.8497 12.9163 19.7537 12.4378 19.7537 11.8877V11.8828C19.7537 11.3392 19.8497 10.8623 20.0418 10.4521C20.2371 10.042 20.5122 9.72135 20.867 9.49023C21.2218 9.25911 21.6368 9.14355 22.1121 9.14355C22.5906 9.14355 23.0008 9.25423 23.3426 9.47559C23.6876 9.69694 23.9513 10.0062 24.1336 10.4033C24.3191 10.7972 24.4119 11.2562 24.4119 11.7803V12.1123H20.1932V11.4336H23.9773L23.5574 12.0537V11.7168C23.5574 11.3034 23.4956 10.9632 23.3719 10.6963C23.2482 10.4294 23.0773 10.2308 22.8592 10.1006C22.6411 9.96712 22.3904 9.90039 22.1072 9.90039C21.824 9.90039 21.5701 9.97038 21.3455 10.1104C21.1242 10.2471 20.9484 10.4505 20.8182 10.7207C20.688 10.9909 20.6229 11.3229 20.6229 11.7168V12.0537C20.6229 12.4281 20.6863 12.7487 20.8133 13.0156C20.9402 13.2793 21.1209 13.4827 21.3553 13.626C21.5896 13.766 21.8663 13.8359 22.1854 13.8359C22.423 13.8359 22.6297 13.8034 22.8055 13.7383C22.9813 13.6732 23.1261 13.5902 23.24 13.4893C23.354 13.3883 23.4337 13.2858 23.4793 13.1816L23.4988 13.1377H24.3484L24.3387 13.1768C24.2931 13.3558 24.2117 13.5299 24.0945 13.6992C23.9806 13.8652 23.8325 14.0166 23.6502 14.1533C23.4679 14.2868 23.2514 14.3942 23.0008 14.4756C22.7534 14.5537 22.4751 14.5928 22.1658 14.5928ZM25.4303 14.5V9.23633H26.2799V10.0176H26.358C26.4589 9.74089 26.6298 9.52604 26.8707 9.37305C27.1116 9.22005 27.4094 9.14355 27.7643 9.14355C27.8456 9.14355 27.9254 9.14844 28.0035 9.1582C28.0849 9.16471 28.1467 9.17122 28.1891 9.17773V10.0029C28.1012 9.98665 28.0149 9.97526 27.9303 9.96875C27.8489 9.95898 27.761 9.9541 27.6666 9.9541C27.3964 9.9541 27.1572 10.0078 26.9488 10.1152C26.7405 10.2227 26.5761 10.3724 26.4557 10.5645C26.3385 10.7565 26.2799 10.9811 26.2799 11.2383V14.5H25.4303ZM30.9408 14.5928C30.4395 14.5928 30.0082 14.4821 29.6469 14.2607C29.2888 14.0394 29.0121 13.7269 28.8168 13.3232C28.6247 12.9163 28.5287 12.4378 28.5287 11.8877V11.8828C28.5287 11.3392 28.6247 10.8623 28.8168 10.4521C29.0121 10.042 29.2872 9.72135 29.642 9.49023C29.9968 9.25911 30.4118 9.14355 30.8871 9.14355C31.3656 9.14355 31.7758 9.25423 32.1176 9.47559C32.4626 9.69694 32.7263 10.0062 32.9086 10.4033C33.0941 10.7972 33.1869 11.2562 33.1869 11.7803V12.1123H28.9682V11.4336H32.7523L32.3324 12.0537V11.7168C32.3324 11.3034 32.2706 10.9632 32.1469 10.6963C32.0232 10.4294 31.8523 10.2308 31.6342 10.1006C31.4161 9.96712 31.1654 9.90039 30.8822 9.90039C30.599 9.90039 30.3451 9.97038 30.1205 10.1104C29.8992 10.2471 29.7234 10.4505 29.5932 10.7207C29.463 10.9909 29.3979 11.3229 29.3979 11.7168V12.0537C29.3979 12.4281 29.4613 12.7487 29.5883 13.0156C29.7152 13.2793 29.8959 13.4827 30.1303 13.626C30.3646 13.766 30.6413 13.8359 30.9604 13.8359C31.198 13.8359 31.4047 13.8034 31.5805 13.7383C31.7563 13.6732 31.9011 13.5902 32.015 13.4893C32.129 13.3883 32.2087 13.2858 32.2543 13.1816L32.2738 13.1377H33.1234L33.1137 13.1768C33.0681 13.3558 32.9867 13.5299 32.8695 13.6992C32.7556 13.8652 32.6075 14.0166 32.4252 14.1533C32.2429 14.2868 32.0264 14.3942 31.7758 14.4756C31.5284 14.5537 31.2501 14.5928 30.9408 14.5928ZM36.1486 14.5928C35.7059 14.5928 35.3186 14.4805 34.9865 14.2559C34.6545 14.0312 34.3973 13.7155 34.215 13.3086C34.0328 12.8984 33.9416 12.4199 33.9416 11.873V11.8633C33.9416 11.3132 34.0328 10.8346 34.215 10.4277C34.3973 10.0208 34.6529 9.70508 34.9816 9.48047C35.3137 9.25586 35.7027 9.14355 36.1486 9.14355C36.3895 9.14355 36.6158 9.18262 36.8273 9.26074C37.0422 9.33561 37.2326 9.44141 37.3986 9.57812C37.5647 9.71484 37.6949 9.8776 37.7893 10.0664H37.8674V7.14648H38.717V14.5H37.8674V13.6602H37.7893C37.6818 13.8555 37.5467 14.0231 37.384 14.1631C37.2212 14.2998 37.0357 14.4056 36.8273 14.4805C36.619 14.5553 36.3928 14.5928 36.1486 14.5928ZM36.3439 13.8408C36.663 13.8408 36.938 13.7611 37.1691 13.6016C37.4003 13.4421 37.5777 13.2158 37.7014 12.9229C37.8251 12.6266 37.8869 12.2767 37.8869 11.873V11.8633C37.8869 11.4564 37.8251 11.1064 37.7014 10.8135C37.5777 10.5205 37.4003 10.2943 37.1691 10.1348C36.938 9.97526 36.663 9.89551 36.3439 9.89551C36.0249 9.89551 35.7499 9.97526 35.5188 10.1348C35.2909 10.291 35.1151 10.5156 34.9914 10.8086C34.871 11.1016 34.8107 11.4531 34.8107 11.8633V11.873C34.8107 12.2799 34.871 12.6315 34.9914 12.9277C35.1151 13.2207 35.2909 13.4469 35.5188 13.6064C35.7499 13.7627 36.0249 13.8408 36.3439 13.8408ZM45.1775 14.5928C44.9334 14.5928 44.7072 14.5553 44.4988 14.4805C44.2905 14.4056 44.1049 14.2998 43.9422 14.1631C43.7794 14.0231 43.6443 13.8555 43.5369 13.6602H43.4588V14.5H42.6092V7.14648H43.4588V10.0664H43.5369C43.6346 9.8776 43.7648 9.71484 43.9275 9.57812C44.0936 9.44141 44.2824 9.33561 44.4939 9.26074C44.7088 9.18262 44.9367 9.14355 45.1775 9.14355C45.6235 9.14355 46.0109 9.25586 46.3396 9.48047C46.6717 9.70508 46.9288 10.0208 47.1111 10.4277C47.2934 10.8346 47.3846 11.3132 47.3846 11.8633V11.873C47.3846 12.4199 47.2934 12.8984 47.1111 13.3086C46.9288 13.7155 46.6717 14.0312 46.3396 14.2559C46.0109 14.4805 45.6235 14.5928 45.1775 14.5928ZM44.9822 13.8408C45.3045 13.8408 45.5796 13.7627 45.8074 13.6064C46.0353 13.4469 46.2094 13.2207 46.3299 12.9277C46.4536 12.6315 46.5154 12.2799 46.5154 11.873V11.8633C46.5154 11.4531 46.4536 11.1016 46.3299 10.8086C46.2094 10.5156 46.0353 10.291 45.8074 10.1348C45.5796 9.97526 45.3045 9.89551 44.9822 9.89551C44.6632 9.89551 44.3881 9.97526 44.157 10.1348C43.9259 10.2943 43.7485 10.5205 43.6248 10.8135C43.5011 11.1064 43.4393 11.4564 43.4393 11.8633V11.873C43.4393 12.2767 43.5011 12.6266 43.6248 12.9229C43.7485 13.2158 43.9259 13.4421 44.157 13.6016C44.3881 13.7611 44.6632 13.8408 44.9822 13.8408ZM48.6568 16.3457C48.6015 16.3457 48.5396 16.3424 48.4713 16.3359C48.4029 16.3327 48.3395 16.3262 48.2809 16.3164V15.6182C48.3329 15.6279 48.3899 15.6344 48.4518 15.6377C48.5136 15.641 48.5738 15.6426 48.6324 15.6426C48.8733 15.6426 49.0702 15.5807 49.2232 15.457C49.3795 15.3333 49.5048 15.1201 49.5992 14.8174L49.6969 14.5049L47.7486 9.23633H48.6568L50.2779 14.0996L49.941 13.5674H50.3414L50.0045 14.0996L51.6207 9.23633H52.5143L50.4586 14.8223C50.3154 15.2161 50.164 15.5238 50.0045 15.7451C49.845 15.9665 49.6578 16.1211 49.443 16.209C49.2314 16.3001 48.9693 16.3457 48.6568 16.3457Z' fill='%230E0D0B'/%3e%3cpath d='M62.7081 13.27C62.742 13.27 62.7642 13.3057 62.7491 13.3362V13.336L61.1229 16.6083C61.0892 16.6761 60.9926 16.6759 60.959 16.6083L59.3382 13.336C59.3232 13.3057 59.3453 13.27 59.3792 13.27H62.7081Z' fill='%23EA4B4B'/%3e%3cpath d='M61.0026 9.71913C61.0194 9.68524 61.0678 9.68524 61.0845 9.71913L62.747 13.0897C62.762 13.12 62.7399 13.1557 62.706 13.1557H59.3763C59.3424 13.1557 59.3203 13.12 59.3353 13.0897L61.0026 9.71913Z' fill='%23EA4B4B'/%3e%3cpath d='M60.8426 9.63827C60.8766 9.63827 60.8987 9.6741 60.8835 9.70444L59.2164 13.0594C59.1995 13.0932 59.1513 13.0932 59.1345 13.0594L57.5001 9.77047C57.47 9.70962 57.5142 9.63827 57.5821 9.63827H60.8426Z' fill='%23EA4B4B'/%3e%3cpath d='M64.5036 9.63617C64.5715 9.63618 64.6157 9.70753 64.5855 9.76838H64.5854L62.9512 13.0573C62.9344 13.0911 62.8862 13.0912 62.8692 13.0573L61.2021 9.70235C61.187 9.672 61.2091 9.63617 61.2431 9.63617H64.5036Z' fill='%23EA4B4B'/%3e%3cpath d='M62.8284 6.18281C62.862 6.11518 62.9586 6.11518 62.9922 6.18281L64.5855 9.38969C64.6157 9.45054 64.5715 9.52189 64.5036 9.52189H61.2431C61.2091 9.52189 61.187 9.48605 61.2021 9.45571L62.8283 6.18265L62.8284 6.18281Z' fill='%23EA4B4B'/%3e%3cpath d='M62.3131 6.13196C62.381 6.13196 62.4252 6.20331 62.3951 6.26416C62.154 6.74935 61.9128 7.23455 61.6718 7.71975H61.6716C61.4225 8.22125 61.1733 8.72259 60.9242 9.22409C60.9074 9.25799 60.859 9.25799 60.8422 9.22409L60.6305 8.79587C60.6275 8.78957 60.6259 8.78263 60.6259 8.77553V6.22349C60.6259 6.17297 60.6668 6.13196 60.7173 6.13196H62.3131Z' fill='%23EA4B4B'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M74.8537 10.0096C75.2721 10.0096 75.654 10.1125 75.9993 10.3184C76.3513 10.5177 76.6303 10.8032 76.8361 11.1751C77.0487 11.547 77.1549 11.9953 77.1549 12.52V12.6495C77.1549 13.1675 77.052 13.6158 76.8461 13.9943C76.6402 14.3729 76.3613 14.6618 76.0093 14.861C75.664 15.0603 75.2788 15.1599 74.8537 15.1599C74.515 15.1599 74.2261 15.1134 73.9871 15.0204C73.7546 14.9341 73.5653 14.8212 73.4192 14.6817C73.2731 14.5423 73.1602 14.3995 73.0805 14.2534H72.941V16.9659L72.1541 16.0013V10.1491H72.9211V10.956H73.0352C73.2729 10.6733 73.3893 10.4911 73.6683 10.2985C73.9538 10.1059 74.349 10.0096 74.8537 10.0096ZM74.6445 10.7069C74.1464 10.7069 73.7347 10.8696 73.4092 11.195C73.0905 11.5138 72.9311 11.9621 72.9311 12.5399V12.6296C72.9311 13.2074 73.0905 13.659 73.4092 13.9844C73.7347 14.3032 74.1464 14.4626 74.6445 14.4626C75.1492 14.4626 75.5577 14.3032 75.8698 13.9844C76.1886 13.659 76.348 13.2074 76.348 12.6296V12.5399C76.348 11.9621 76.1886 11.5138 75.8698 11.195C75.5577 10.8696 75.1492 10.7069 74.6445 10.7069Z' fill='%230E0D0B'/%3e%3cpath d='M78.5848 11.9583L78.5555 15.4596L77.7681 14.4846V10.9583L78.5848 11.9583Z' fill='%230E0D0B'/%3e%3cpath d='M101.588 10.2986H102.444L103 10.986H101.588V10.9867H100.802L101.588 11.9623V14.1937C101.588 14.3929 101.685 14.4926 101.877 14.4926H102.379L102.928 15.17H101.668C101.389 15.17 101.173 15.0936 101.021 14.9409C100.874 14.7881 100.801 14.5789 100.801 14.3133V10.986H99.8799L99.3217 10.2986H100.801V9.13501H101.588V10.2986Z' fill='%230E0D0B'/%3e%3cpath d='M69.0133 7.90764C69.4848 7.90764 69.9065 7.99068 70.2784 8.15671C70.6569 8.3161 70.9525 8.55517 71.165 8.87395C71.3842 9.18609 71.4938 9.58126 71.4938 10.0594V10.4778H70.667V10.0594C70.667 9.72072 70.5939 9.44842 70.4477 9.24254C70.3083 9.03666 70.1124 8.88392 69.86 8.7843C69.6143 8.68469 69.332 8.63487 69.0133 8.63487C68.555 8.63487 68.1864 8.7378 67.9075 8.94367C67.6286 9.14291 67.4891 9.4285 67.4891 9.80041C67.4891 10.0461 67.5488 10.2453 67.6684 10.3981C67.7879 10.5508 67.9573 10.677 68.1764 10.7767C68.3956 10.8696 68.658 10.9527 68.9635 11.0257L69.4815 11.1552C69.8866 11.2416 70.2485 11.3611 70.5673 11.5138C70.8927 11.6599 71.1517 11.8625 71.3443 12.1215C71.5369 12.3739 71.6332 12.706 71.6332 13.1177C71.6332 13.5295 71.5303 13.8881 71.3244 14.1936C71.1185 14.4991 70.8263 14.7382 70.4477 14.9109C70.0758 15.0769 69.6375 15.1599 69.1328 15.1599C68.6281 15.1599 68.1765 15.0702 67.778 14.8909C67.3795 14.7116 67.0641 14.4426 66.8316 14.084C66.6058 13.7187 66.4929 13.2638 66.4929 12.7192V12.51H67.3197V12.7192C67.3197 13.297 67.4891 13.7287 67.8278 14.0143C68.1665 14.2932 68.6015 14.4327 69.1328 14.4327C69.6774 14.4327 70.0924 14.3098 70.378 14.0641C70.6636 13.8183 70.8064 13.5095 70.8064 13.1376C70.8064 12.8786 70.74 12.6727 70.6072 12.52C70.481 12.3673 70.3017 12.2444 70.0692 12.1514C69.8368 12.0518 69.5645 11.9655 69.2523 11.8924L68.7343 11.7629C68.3292 11.6566 67.9706 11.5271 67.6584 11.3744C67.3463 11.2216 67.1006 11.0224 66.9213 10.7767C66.7486 10.5243 66.6623 10.2022 66.6623 9.81035C66.6623 9.41852 66.7585 9.07981 66.9511 8.79424C67.1504 8.50866 67.426 8.28953 67.778 8.13678C68.1366 7.98404 68.5484 7.90764 69.0133 7.90764Z' fill='%230E0D0B'/%3e%3cpath d='M81.6544 10.0096C82.1193 10.0096 82.5145 10.0959 82.8399 10.2686C83.1719 10.4412 83.431 10.6704 83.6169 10.956C83.8095 11.2415 83.9324 11.5471 83.9855 11.8725L83.2185 12.0318C83.1853 11.7928 83.1056 11.5736 82.9794 11.3744C82.8598 11.1752 82.6905 11.0158 82.4713 10.8962C82.2521 10.7767 81.9832 10.7169 81.6644 10.7169C81.339 10.7169 81.0468 10.7899 80.7877 10.936C80.5354 11.0821 80.3328 11.2914 80.1801 11.5637C80.034 11.836 79.9609 12.1614 79.9609 12.5399V12.6296C79.9609 13.0081 80.034 13.3335 80.1801 13.6058C80.3328 13.8781 80.5354 14.0873 80.7877 14.2334C81.0468 14.3795 81.339 14.4526 81.6644 14.4526C82.1492 14.4526 82.5178 14.3264 82.7702 14.0741C83.0292 13.8217 83.1886 13.5095 83.2483 13.1376L84.0254 13.307C83.9523 13.6257 83.8195 13.9279 83.6269 14.2135C83.4343 14.4991 83.172 14.7282 82.8399 14.9009C82.5145 15.0735 82.1193 15.1599 81.6544 15.1599C81.1829 15.1599 80.7579 15.0603 80.3793 14.861C80.0074 14.6551 79.7119 14.363 79.4927 13.9844C79.2802 13.6059 79.1739 13.1575 79.1739 12.6395V12.5299C79.1739 12.0053 79.2802 11.557 79.4927 11.1851C79.7119 10.8066 80.0074 10.5177 80.3793 10.3184C80.7579 10.1126 81.1829 10.0096 81.6544 10.0096Z' fill='%230E0D0B'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M86.7515 10.0096C87.2097 10.0096 87.6149 10.1092 87.9668 10.3084C88.3188 10.501 88.5944 10.78 88.7937 11.1452C88.9929 11.5105 89.0925 11.9389 89.0925 12.4304V12.7889H85.1177C85.1377 13.3136 85.3071 13.7254 85.6258 14.0243C85.9446 14.3165 86.3431 14.4626 86.8212 14.4626C87.2396 14.4626 87.5617 14.3663 87.7875 14.1737C88.0133 13.9811 88.186 13.752 88.3056 13.4863L88.983 13.815C88.8833 14.0209 88.7439 14.2268 88.5646 14.4327C88.3919 14.6386 88.1628 14.8113 87.8772 14.9507C87.5983 15.0902 87.2396 15.1599 86.8013 15.1599C86.3099 15.1599 85.8782 15.057 85.5063 14.8511C85.1344 14.6386 84.8455 14.343 84.6396 13.9645C84.4337 13.5859 84.3307 13.1476 84.3307 12.6495V12.5299C84.3307 12.0252 84.4337 11.5836 84.6396 11.205C84.8455 10.8265 85.1311 10.5342 85.4963 10.3284C85.8616 10.1159 86.28 10.0096 86.7515 10.0096ZM86.7515 10.7069C86.3066 10.7069 85.9413 10.8331 85.6557 11.0855C85.3701 11.3378 85.1941 11.6898 85.1277 12.1414H88.2956C88.269 11.6898 88.113 11.3378 87.8274 11.0855C87.5485 10.8331 87.1898 10.7069 86.7515 10.7069Z' fill='%230E0D0B'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M97.1624 10.0096C97.6207 10.0096 98.0258 10.1092 98.3778 10.3084C98.7298 10.501 99.0054 10.78 99.2046 11.1452C99.4039 11.5105 99.5035 11.9389 99.5035 12.4304V12.7889H95.5287C95.5487 13.3136 95.718 13.7254 96.0368 14.0243C96.3555 14.3165 96.754 14.4626 97.2322 14.4626C97.6505 14.4626 97.9727 14.3663 98.1985 14.1737C98.4243 13.9811 98.5969 13.752 98.7165 13.4863L99.3939 13.815C99.2943 14.0209 99.1548 14.2268 98.9755 14.4327C98.8028 14.6386 98.5737 14.8113 98.2881 14.9507C98.0092 15.0902 97.6506 15.1599 97.2123 15.1599C96.7208 15.1599 96.2892 15.057 95.9172 14.8511C95.5453 14.6386 95.2564 14.343 95.0505 13.9645C94.8446 13.5859 94.7417 13.1476 94.7417 12.6495V12.5299C94.7417 12.0252 94.8446 11.5836 95.0505 11.205C95.2564 10.8265 95.542 10.5342 95.9073 10.3284C96.2725 10.1158 96.6909 10.0096 97.1624 10.0096ZM97.1624 10.7069C96.7175 10.7069 96.3522 10.8331 96.0666 11.0855C95.7811 11.3378 95.6051 11.6898 95.5387 12.1414H98.7066C98.68 11.6898 98.5239 11.3378 98.2383 11.0855C97.9594 10.8331 97.6008 10.7069 97.1624 10.7069Z' fill='%230E0D0B'/%3e%3cpath d='M92.2484 10.0594C92.6137 10.0594 92.9391 10.1358 93.2247 10.2885C93.5169 10.4413 93.7494 10.6671 93.9221 10.966C94.0947 11.2648 94.1811 11.6334 94.1811 12.0717V15.1458H93.394V12.1315C93.394 11.6467 93.2712 11.2947 93.0255 11.0755C92.7864 10.8564 92.461 10.7468 92.0492 10.7468C91.5777 10.7468 91.1925 10.8995 90.8936 11.205C90.6014 11.5105 90.4553 11.9655 90.4553 12.5698V15.1458H89.6683V10.1491H90.4354V10.9582H90.5361C90.7355 10.7018 90.8604 10.5342 91.1128 10.3483C91.3718 10.1557 91.7503 10.0594 92.2484 10.0594Z' fill='%230E0D0B'/%3e%3cpath d='M78.5932 10.9581H77.7681V10.1514H78.6L78.5932 10.9581Z' fill='%230E0D0B'/%3e%3c/svg%3e";const bi=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(","),pn=({isOpen:e,onClose:t,title:n,subtitle:s,children:o,overlayContent:r,overlayDimmed:a=!0,styles:l,theme:c,maxWidth:d="522px",dark:m,footerLinkText:f,bannerSrc:h,bannerAlt:w,closeOnBackdropClick:g=!1})=>{const{theme:y,dark:x,dk:b,palette:v}=u.useSpiceBrand(l,m),C=m??x,k=c||y,A=l?.fontFamily||k.typography.fontFamily||u.font.ui,I=l?.primaryColor||k.colors.primary,E=p.useRef(null),N=p.useRef(null),R=p.useRef(null),B=p.useId(),[U,O]=p.useState(!1),[W,D]=p.useState(!1),F=p.useRef(t);if(p.useEffect(()=>{F.current=t},[t]),p.useEffect(()=>{if(!e){D(!1);return}N.current=document.activeElement;const L=document.body.style.overflow;document.body.style.overflow="hidden";const ne=requestAnimationFrame(()=>{const z=requestAnimationFrame(()=>D(!0));R.current=z}),pe=()=>{const z=E.current;z&&(z.querySelectorAll(bi)[0]??z).focus({preventScroll:!0})},ce=z=>{if(z.key==="Escape"){z.stopPropagation(),F.current();return}if(z.key!=="Tab")return;const V=E.current;if(!V)return;const fe=Array.from(V.querySelectorAll(bi)).filter(j=>!j.hasAttribute("aria-hidden"));if(fe.length===0){z.preventDefault(),V.focus();return}const Y=fe[0],Ce=fe[fe.length-1],be=document.activeElement;z.shiftKey&&be===Y?(z.preventDefault(),Ce.focus()):!z.shiftKey&&be===Ce&&(z.preventDefault(),Y.focus())},X=requestAnimationFrame(pe);return document.addEventListener("keydown",ce),()=>{cancelAnimationFrame(X),cancelAnimationFrame(ne),R.current&&cancelAnimationFrame(R.current),document.removeEventListener("keydown",ce),document.body.style.overflow=L;const z=N.current;z&&typeof z.focus=="function"&&z.focus({preventScroll:!0})}},[e]),!e)return null;const P=!!h&&!U,q=w??"";return i.jsx("div",{onMouseDown:L=>{g&&L.target===L.currentTarget&&F.current()},style:{position:"fixed",inset:0,backgroundColor:C?"rgba(0,0,0,0.72)":"rgba(0,0,0,0.5)",display:"flex",alignItems:"center",justifyContent:"center",padding:"clamp(16px, 4vw, 48px)",zIndex:u.z.modal,opacity:W?1:0,transition:`opacity ${u.duration.normal} ${u.easing.out}`},children:i.jsx("div",{ref:E,role:"dialog","aria-modal":"true","aria-labelledby":B,tabIndex:-1,style:{backgroundColor:v.shellBorder,borderRadius:"12px",padding:"5px",width:"100%",maxWidth:d,boxSizing:"border-box",boxShadow:"0 16px 48px rgba(0, 0, 0, 0.4)",outline:"none",transform:W?"scale(1)":"scale(0.96)",transition:`transform ${u.duration.slow} ${u.easing.out}`,display:"flex",flexDirection:"column",maxHeight:"100%"},children:i.jsxs("div",{style:{backgroundColor:v.shell,border:`1px solid ${v.shellInnerBorder}`,borderRadius:"9px",width:"100%",padding:"0",display:"flex",flexDirection:"column",position:"relative",flex:"0 1 auto",minHeight:0,overflowY:"auto",overflowX:"hidden"},children:[r&&a&&i.jsx("div",{style:{position:"absolute",inset:0,backgroundColor:"rgba(0, 0, 0, 0.4)",zIndex:5,pointerEvents:"none",borderRadius:"12px"},"aria-hidden":"true"}),P&&i.jsxs("div",{style:{position:"relative",width:"100%"},children:[i.jsx("img",{src:h,style:{width:"100%",height:"auto",display:"block",borderRadius:"6px 6px 0 0"},alt:q,"aria-hidden":q===""?"true":void 0,onError:()=>O(!0)}),i.jsx("button",{type:"button",onClick:t,"aria-label":"Close dialog",style:{position:"absolute",top:"8px",right:"8px",minWidth:"44px",minHeight:"44px",color:v.textPrimary,padding:"8px",backgroundColor:"transparent",borderRadius:"9999px",border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",zIndex:1},children:i.jsx(As,{size:28,strokeWidth:2.5})})]}),i.jsxs("div",{style:{padding:"28px 28px 0 28px",position:"relative"},children:[!P&&i.jsx("button",{type:"button",onClick:t,"aria-label":"Close dialog",style:{position:"absolute",top:"10px",right:"10px",minWidth:"44px",minHeight:"44px",color:v.textSecondary,padding:"10px",backgroundColor:"transparent",borderRadius:"50%",border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",transition:"background-color 0.2s",fontSize:"18px",fontWeight:"600"},onMouseEnter:L=>{L.currentTarget.style.backgroundColor=C?`${I}1a`:"#f3f4f6"},onMouseLeave:L=>{L.currentTarget.style.backgroundColor="transparent"},children:i.jsx(As,{size:24,strokeWidth:2.4})}),i.jsx("h2",{id:B,style:{fontSize:"22px",fontWeight:"700",color:v.textPrimary,margin:"0",fontFamily:A,lineHeight:"1.12"},children:n})]}),s&&i.jsx("div",{style:{padding:"11px 28px 13px 28px",fontSize:"12px",color:v.textSecondary,margin:"0",lineHeight:"1.35",fontFamily:A,borderBottom:C?`1px solid ${b.cardBorder}`:"1px solid #cdcfd1"},children:s}),o,i.jsxs("div",{style:{padding:"12px 28px",display:"flex",justifyContent:"space-between",alignItems:"center"},children:[i.jsx("img",{src:wi,alt:"","aria-hidden":"true",width:108,height:22,decoding:"async",style:{width:"108px",height:"22px",opacity:C?.85:1,filter:C?"brightness(0) invert(1)":"none",margin:0,display:"block"}}),i.jsx("a",{href:"https://spiceflow-docs.spicenet.io",target:"_blank",rel:"noopener noreferrer",style:{fontSize:"10px",color:v.textSecondary,textDecoration:"none",display:"flex",alignItems:"center",gap:"4px",fontFamily:A,lineHeight:"1"},children:i.jsx("span",{style:{color:I,textDecoration:"underline",fontWeight:"500"},children:f??"Learn more \u2192"})})]}),r]})})})},vi=({dk:e,dark:t,message:n,buttonLabel:s,onAction:o,disabled:r=!1})=>i.jsxs("div",{style:{padding:"12px",backgroundColor:e.warningBg,borderRadius:"8px",border:`1px solid ${e.warningBorder}`},children:[i.jsx("p",{style:{margin:"0 0 10px 0",color:e.warningText,fontSize:"14px"},children:n}),i.jsx("button",{onClick:o,disabled:r,style:{width:"100%",padding:"8px 12px",borderRadius:"6px",border:`1px solid ${t?e.warningBorder:"#fbbf24"}`,backgroundColor:t?e.cardBg:"white",cursor:r?"not-allowed":"pointer",fontWeight:600,fontSize:"13px",color:e.warningText,opacity:r?.6:1},children:s})]}),Ci=({dk:e,dark:t,borderRadius:n,children:s})=>i.jsx("div",{style:{padding:"8px 12px",marginBottom:"8px",backgroundColor:t?e.warningBg:"#fffbeb",border:`1px solid ${e.warningBorder}`,borderRadius:n,fontSize:"12px",color:e.warningText,lineHeight:"1.4"},children:s});async function ki(e,t,n){let s=null;try{const o=await e.request({method:"eth_chainId"});s=parseInt(o,16)}catch{s=null}s!==t&&(n?.(),await u.ensureWalletOnChain(e,t))}function Si(e){let t=e;const n=new Set;for(;t&&typeof t=="object"&&!n.has(t);){if(n.add(t),t.code===4001)return!0;t=t.cause}return!1}async function rr(e){const t=e.provider??await e.wallet?.getEthereumProvider();if(!t)throw new Error("External wallet provider not available");await ki(t,e.chainId,e.onSwitch);const n=await t.request({method:"eth_accounts"});if(!Array.isArray(n)||!n.some(o=>typeof o=="string"&&o.toLowerCase()===e.account.toLowerCase()))throw new Error("The connected source wallet changed. Reconnect the selected account before funding.");const s=u.getChainConfig(e.chainId)?.viemChain;return{extWc:T.createWalletClient({account:e.account,chain:s,transport:T.custom(t)}),viemChain:s}}async function Ii(e,t,n){const s=Date.now()+1e4;for(;Date.now()<s;){let o;try{o=await Promise.all([t.getBlockNumber({cacheTime:0}),e.request({method:"eth_blockNumber"}).then(BigInt)])}catch{return}if(o.every(r=>r>=n))return;await new Promise(r=>setTimeout(r,250))}}async function tu(e){let t;for(const[n,s]of e.calls.entries()){await e.observer?.onSending?.(n);let o;try{o=await e.extWc.sendTransaction({to:s.to,data:s.data,value:s.value,chain:e.viemChain})}catch(l){throw Si(l)&&e.observer?.onRejected?.(n),l}e.observer?.onSubmitted?.(n,o);const r=await ro({client:e.client,hash:o,call:s,onRepriced:l=>e.observer?.onSubmitted?.(n,l),onCancelled:()=>e.observer?.onReverted?.(n,o)});o=r.hash;const a=r.receipt;if(a.status!=="success")throw e.observer?.onReverted?.(n,o),new Error(e.errorMessage);await Ii(e.extWc,e.client,a.blockNumber),e.observer?.onConfirmed?.(n,o),t=o}return t}async function Ai(e){const t=await e.client.estimateFeesPerGas(),n=t.maxFeePerGas??t.gasPrice;if(typeof n!="bigint"||n<=0n)throw new Error("Network gas could not be priced.");let s=0n;for(const o of e.calls){const r=await e.client.estimateGas({account:e.account,...o});s+=(r*n*120n+99n)/100n}return s}function co(e,t,n,s){return n?{to:e,value:s,data:"0x"}:{to:t,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[e,s]})}}async function Ei(e){const t=co(e.recipient,e.token,e.isNative,e.amount),[n,s]=await Promise.all([e.client.estimateGas({account:e.account,...t}),e.client.estimateFeesPerGas()]),o=s.maxFeePerGas??s.gasPrice;if(typeof o!="bigint"||o<=0n)throw new Error("Source transaction gas could not be priced.");return(n*o*120n+99n)/100n}function ar(e,t){return t.isNative?e.sendTransaction({to:t.recipient,value:t.amount,chain:t.viemChain}):e.sendTransaction({to:t.tokenAddr,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[t.recipient,t.amount]}),chain:t.viemChain})}async function nu(e){const{extWc:t,sourceClient:n,recipient:s,tokenAddr:o,isNative:r,amount:a}=e;if(a<=0n)return;await e.observer?.onSending?.(0);let l;try{l=await ar(t,{recipient:s,tokenAddr:o,isNative:r,amount:a,viemChain:e.viemChain})}catch(m){throw Si(m)&&e.observer?.onRejected?.(0),m}e.observer?.onSubmitted?.(0,l);const c=await ro({client:n,hash:l,call:co(s,o,r,a),onRepriced:m=>e.observer?.onSubmitted?.(0,m),onCancelled:()=>e.observer?.onReverted?.(0,l)});l=c.hash;const d=c.receipt;if(d.status!=="success")throw e.observer?.onReverted?.(0,l),new Error("Embedded wallet funding failed");await Ii(t,n,d.blockNumber),e.observer?.onConfirmed?.(0,l)}function Fi({escrowAddress:e,tokenAddress:t,isNative:n,amount:s,gasFeeAmount:o}){const r=(a,l)=>n?{to:a,value:l,data:"0x"}:{to:t,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[a,l]})};return[r(e,s),...o>0n?[r(S.SPICE_GAS_FEE_RECIPIENT,o)]:[]]}function su({sourceChainId:e,selectedAsset:t,destinationChainId:n,destinationTokenAddress:s,isCrossDenomination:o,convertedUsdAmount:r}){const a=S.normalizeNativeTokenAddress(t.asset.address),l=s;let c,d;if(l&&n)if(c=u.CHAIN_CONFIGS[n]?.supportedTokens?.find(m=>u.addressesEqual(m.address,l))?.decimals??t.asset.decimals,o){if(!r)throw new Error("Destination amount is still being calculated. Please retry in a moment.");d=r}else{const m=T.parseUnits(t.amount,t.asset.decimals);d=S.convertAmountBetweenDecimals(m,t.asset.decimals,c)}return{sourceChainId:e,depositTokenAddress:a,depositAmount:t.amount,depositTokenDecimals:t.asset.decimals,destinationChainId:n,destinationTokenAddress:l,destinationAmount:d,destinationTokenDecimals:c}}async function ou(e,t){if(!e)return[];if(Array.isArray(e))return e;const n=e;return e.length>=2?n(t.depositAmount,t.depositTokenAddress):n(t)}function Ti(e,t){return!!e&&e.quotedAmount===t.amount&&e.chainId===t.chainId&&u.addressesEqual(e.token,t.token)}async function uo(e,t){const n=await ar(e,{recipient:t.recipient,tokenAddr:t.tokenAddr,isNative:t.isNative,amount:t.amount});t.afterSend?.(n);const s=u.getClientForChain(t.chainId),{receipt:o,hash:r}=await ro({client:s,hash:n,call:co(t.recipient,t.tokenAddr,t.isNative,t.amount),confirmations:2});if(o.status!=="success")throw new Error(t.failureMessage);return t.settle&&await s.getBlockNumber()-o.blockNumber<2n&&await un(3e3),r}async function ru(e){const t=e.selectedDepositAssets.filter(o=>o.asset&&o.amount&&parseFloat(o.amount)>0);if(t.length===0){console.error("[DepositModal] No valid assets for deposit"),e.setError("Please select an asset and enter an amount");return}const n=t[0];if(!e.escrowOnly&&!e.sourceAddress){e.setError("External wallet not connected. Please connect your wallet in the previous step.");return}if(!e.isNon7702){if(!e.address||!e.embeddedWalletAddress){e.setError("Couldn't find your account wallet. Try reconnecting.");return}if(!e.isReady||!e.isAuthenticated){e.setError("Sign in to continue.");return}}if(e.zeroCreditError){e.setError(e.zeroCreditError);return}if(e.depositBalanceError){e.setError(e.depositBalanceError);return}if(e.isNon7702&&e.sponsorGas&&e.nativeChainId&&n.asset.chainId!==e.nativeChainId&&e.destinationTokenAddress){e.setError("Gas sponsorship is not supported for this deposit route. Disable sponsorGas to continue.");return}e.setIsExecuting(!0),e.setError(null);let s=!1;try{const o=n.asset.chainId,r=S.getEscrowContractAddress(o),a=T.parseUnits(n.amount,n.asset.decimals),l=t.length===1&&Ti(e.effectiveDepositFee,{amount:a,token:S.normalizeNativeTokenAddress(n.asset.address),chainId:o}),c=!e.isNon7702&&!e.escrowOnly&&!Tn(n.asset);if(!e.isNon7702&&t.length===1&&!c&&!l)throw new Error("Fee quote is out of date. Please wait for it to refresh.");let d=e.externalWalletClient;if(!e.escrowOnly){if(!d)throw new Error("External wallet not connected");if(e.externalProvider){const m=await rr({provider:e.externalProvider,account:e.sourceAddress,chainId:o});m.viemChain&&(d=m.extWc)}}if(e.isNon7702){if(!d)throw new Error("External wallet not connected");if(!e.sourceAddress)throw new Error("External wallet address not available");if(e.nativeChainId&&o===e.nativeChainId){const m=u.getChainConfig(o),f=t.map(w=>`${w.amount} ${w.asset.symbol}`).join(", ");e.setConfirmationData({network:m?.displayName||`Chain ${o}`,amount:f,symbol:"",chainId:o}),e.setShowConfirmation(!0);let h=null;e.setDirectDepositStatus("processing"),e.setDirectDepositChainId(o);for(const w of t){const g=T.parseUnits(w.amount,w.asset.decimals),y=S.normalizeNativeTokenAddress(w.asset.address),x=w.asset.isNative||S.isNativeToken(y),b=await uo(d,{chainId:o,recipient:r,tokenAddr:y,isNative:x,amount:g,failureMessage:`Escrow deposit failed for ${w.asset.symbol}`});h=b,e.setDirectDepositTxHash(b)}if(t[0]?.amount){const w=t[0].amount;if(e.onDepositExecute){e.setPostDepositStatus("executing");try{await e.onDepositExecute(w),e.setPostDepositStatus("success")}catch(y){console.error("ctx.onDepositExecute failed:",y),e.setPostDepositStatus("error"),e.setPostDepositError(y?.message||"Post-deposit instruction failed")}}else e.setPostDepositStatus("success");e.setDirectDepositStatus("success"),e.setPostDepositAmount(w),e.setPostDepositSuccess(!0);const g={type:"deposit",status:"success",amount:w,asset:t[0].asset.symbol,sourceChain:m?.displayName||`Chain ${o}`,txHash:h??void 0};window.dispatchEvent(new CustomEvent("spiceflow:action",{detail:g})),e.onDepositSuccess?.(g)}e.refreshAssets(),e.onDepositSelect&&e.onDepositSelect(t[0].asset)}else{const m=e.destinationChainId||e.nativeChainId;if(!m)throw new Error("Destination chain ID is required for non-7702 mode. Either pass ctx.destinationChainId to <SpiceDeposit> or set ctx.nativeChainId on <SpiceFlowProvider>.");const f=u.getDelegateContractAddress(o),h=r,w=[];let g=null;for(const y of t){const x=T.parseUnits(y.amount,y.asset.decimals),b=S.normalizeNativeTokenAddress(y.asset.address),v=y.asset.isNative||S.isNativeToken(b),C=await uo(d,{chainId:o,recipient:h,tokenAddr:b,isNative:v,amount:x,failureMessage:`Transfer failed for ${y.asset.symbol}`,settle:!0});g||(g=C),e.depositDataRef.current||(e.depositDataRef.current=[]),e.depositDataRef.current.push({txHash:C,sender:e.sourceAddress,tokenAddress:b,chainId:o,amount:x.toString(),user:e.spiceBalanceUser}),w.push({tokenAddress:b,tokenAmount:x.toString(),sender:e.sourceAddress,receiver:h})}if(!g)throw new Error("No transaction hash generated");if(!e.destinationTokenAddress){const y={type:"deposit",status:"success",amount:t[0]?.amount,asset:t[0]?.asset?.symbol,sourceChain:u.getChainName(o),txHash:g};window.dispatchEvent(new CustomEvent("spiceflow:action",{detail:y})),e.onDepositSuccess?.(y),e.depositDataRef.current=null,e.bridgedAmountRef.current=t[0]?.amount||null,e.refreshAssets(),e.onDepositSelect&&e.onDepositSelect(t[0].asset),e.setShowConfirmation(!1);return}if(e.mode==="ondemand"){const y={to:f,value:BigInt(0),data:"0x"},x=await u.getTokenDecimals(m,e.destinationTokenAddress);let b=BigInt(0);for(const B of w){const U=BigInt(B.tokenAmount),O=S.normalizeNativeTokenAddress(B.tokenAddress),W=t.find(F=>{const P=S.normalizeNativeTokenAddress(F.asset.address);return u.addressesEqual(P,O)}),D=W?W.asset.decimals:await u.getTokenDecimals(o,S.ZERO_ADDRESS);b+=S.convertAmountBetweenDecimals(U,D,x)}e.isCrossDenomination&&e.convertedUsdAmount&&(b=e.convertedUsdAmount);const v={chainId:o,tokenTransfers:w.map(B=>({from:B.sender,to:B.receiver,token:B.tokenAddress,amount:BigInt(B.tokenAmount)})),call:y},C=e.isCrossDenomination&&e.convertedUsdAmount?[{from:e.sourceAddress,to:r,token:S.normalizeNativeTokenAddress(t[0].asset.address),amount:T.parseUnits(t[0].amount,t[0].asset.decimals)}]:[],k={chainId:m,tokenTransfers:[...C,{from:"escrow",to:e.sourceAddress,token:e.destinationTokenAddress,amount:b}],call:{to:e.destinationTokenAddress,value:BigInt(0),data:"0x"}},A={mode:"non-7702:on-demand",chainBatches:[v,k]},I={user:e.sourceAddress,intents:[A]},E=await u.relayerService.createAction(I),N=E.actionId,R=E.intentIds[0];if(!g)throw new Error("No transaction hash available");e.startStatusPolling(R,u.createInitialSteps([{chainId:o,calls:[y]},{chainId:m,calls:[k.call]}],B=>u.getChainName(B))),await u.relayerService.executeStep(N,0,0,{action:"execute",hash:g}),t[0]?.amount&&(e.bridgedAmountRef.current=t[0].amount),e.refreshAssets(),e.onDepositSelect&&e.onDepositSelect(t[0].asset),e.setShowConfirmation(!1)}else throw new Error("Presign mode not yet fully supported for cross-chain deposits")}}else{const m=[];let f=0,h;const w=l&&e.effectiveDepositFee?T.formatUnits(e.effectiveDepositFee.net,n.asset.decimals):n?.amount;for(const B of t){const U=T.parseUnits(B.amount,B.asset.decimals),O=l&&B===n,W=O?e.effectiveDepositFee.fee:0n,D=O?e.effectiveDepositFee.net:U,F=e.escrowOnly?U:U+W,P=S.normalizeNativeTokenAddress(B.asset.address),q=B.asset.isNative||S.isNativeToken(P);if(!e.escrowOnly&&!Tn(B.asset)){e.setDirectDepositStatus("processing"),e.setDirectDepositChainId(o);const L=await uo(d,{chainId:o,recipient:e.address,tokenAddr:P,isNative:q,amount:U,failureMessage:`Transfer to embedded wallet failed for ${B.asset.symbol}`});f+=1,B===n&&(h=L);continue}e.escrowOnly||await uo(d,{chainId:o,recipient:e.address,tokenAddr:P,isNative:q,amount:F,failureMessage:`Transfer to embedded wallet failed for ${B.asset.symbol}`,afterSend:()=>hd({chainId:o,tokenAddress:S.normalizeNativeTokenAddress(B.asset.address),tokenSymbol:B.asset.symbol,tokenDecimals:B.asset.decimals,amount:B.amount,rawAmount:U.toString(),embeddedWalletAddress:e.address,externalWalletAddress:e.sourceAddress,timestamp:Date.now(),isNative:q}),settle:!0}),m.push(...Fi({escrowAddress:r,tokenAddress:P,isNative:q,amount:D,gasFeeAmount:W}))}if(m.length===0){e.setDirectDepositTxHash(h??null),e.setDirectDepositStatus("success");const B={type:"deposit",status:"success",amount:n.amount,asset:n.asset.symbol,sourceChain:u.getChainName(o),txHash:h};window.dispatchEvent(new CustomEvent("spiceflow:action",{detail:B})),e.onDepositSuccess?.(B),e.refreshAssets(),e.onDepositSelect&&e.onDepositSelect(n.asset);return}f>0&&e.setDirectDepositStatus("idle");const g=t.find(B=>e.escrowOnly||Tn(B.asset))??n,y=await u.getClientForChain(o).getBlockNumber(),x=m.map(B=>({...B,to:T.getAddress(B.to)})),b={chainId:o,recentBlock:y,calls:x,tokenTransfers:[]},v=su({sourceChainId:o,selectedAsset:g===n&&w?{...n,amount:w}:g,destinationChainId:e.destinationChainId,destinationTokenAddress:e.destinationTokenAddress,isCrossDenomination:e.isCrossDenomination,convertedUsdAmount:e.convertedUsdAmount}),C=await ou(e.depositBatches,v),k=[b,...C];if(!e.address)throw new Error("Address not available");const A=[];if(e.isCrossDenomination&&e.convertedUsdAmount&&e.destinationTokenAddress){const B=e.selectedDepositAssets[0]?.asset;if(B){const U=T.parseUnits(e.selectedDepositAssets[0].amount,B.decimals);A.push({from:e.address,to:r,token:S.normalizeNativeTokenAddress(B.address),amount:U}),A.push({from:"escrow",to:e.address,token:e.destinationTokenAddress,amount:e.convertedUsdAmount})}}A.length>0&&k[1]&&(k[1].tokenTransfers=A);const I=u.createInitialSteps(k,B=>u.getChainName(B));let E=!1;const N=await e.execution.execute(k,S.ZERO_ADDRESS,0n,B=>{if(B.intentId&&!E){E=!0;for(const U of t)Xo(e.address,o,S.normalizeNativeTokenAddress(U.asset.address));e.startStatusPolling(B.intentId,I)}},void 0,{userOverride:e.address,useCustomTransfers:!0,skipPreSubmitFeeEstimate:!0,skipUserFundingPreflight:!0});if(e.refreshAssets(),e.onDepositExecute&&g.amount)try{e.setPostDepositStatus("executing"),await e.onDepositExecute(w||g.amount),e.setPostDepositStatus("success"),e.setPostDepositAmount(w||g.amount),e.setPostDepositSuccess(!0)}catch(B){console.error("ctx.onDepositExecute failed (7702):",B),e.setPostDepositStatus("error"),e.setPostDepositError(B?.message||"Post-deposit instruction failed");return}const R={type:"deposit",status:"success",amount:g===n&&w||g.amount,asset:g.asset.symbol,sourceChain:u.getChainName(o),txHash:/^0x[0-9a-f]{64}$/i.test(N??"")?N:void 0};window.dispatchEvent(new CustomEvent("spiceflow:action",{detail:R})),e.onDepositSuccess?.(R),e.onDepositSelect&&e.onDepositSelect(g.asset)}}catch(o){s=!0,console.error("[DepositModal] executeDeposit CAUGHT ERROR:",o),console.error("[DepositModal] Error details:",{message:o?.message,code:o?.code,name:o?.name,stack:o?.stack?.slice(0,500)}),e.setError(u.sanitizeError(o,"Deposit failed")),e.clearStatus()}finally{e.setIsExecuting(!1),s&&e.setDirectDepositStatus("idle"),s||!e.getCurrentIntentStatus()&&e.getCurrentPostDepositStatus()!=="idle"||e.setShowConfirmation(!1)}}async function au(e){const{asset:t,assetIndex:n,selectedAssetCount:s,address:o,escrowOnly:r,isNon7702:a}=e;if(n!==0||a||s>1||!o||t.balance<=0n)return null;if(!r&&!Tn(t))return u.formatRawTokenInput(t.balance,t.decimals);const l=await ir({address:o,depositQuote:{asset:t,amount:t.balance,token:S.normalizeNativeTokenAddress(t.address),chainId:t.chainId},escrowOnly:r}),c=r?t.balance:t.balance>l.fee?t.balance-l.fee:0n;return u.formatRawTokenInput(c,t.decimals)}async function ir(e){const{address:t,depositQuote:n,escrowOnly:s}=e,{asset:o,amount:r,token:a,chainId:l}=n,c=S.getEscrowContractAddress(l),d=o.isNative||S.isNativeToken(a),m=r>1n?1n:0n,f=[d?{to:c,value:r,data:"0x"}:{to:a,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[c,r]})}];m>0n&&f.push(d?{to:S.SPICE_GAS_FEE_RECIPIENT,value:m,data:"0x"}:{to:a,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[S.SPICE_GAS_FEE_RECIPIENT,m]})});const h={chainId:l,tokenTransfers:[],calls:f},w=(await u.relayerService.estimateBatchGas({user:t,outputToken:a,chainBatches:[{...h,hash:S.hashChainBatches([h])[0].hash}],signal:e.signal})).gasFee,g=s&&w<r?r-w:r;return{fee:w,net:g,quotedAmount:r,token:a,chainId:l}}function iu(e,t=40,n=18){const s=e.length,o=[{maxLength:7,shrink:0},{maxLength:10,shrink:6},{maxLength:13,shrink:12},{maxLength:16,shrink:16},{maxLength:20,shrink:19}].find(r=>s<=r.maxLength);return Math.max(n,t-(o?.shrink??22))}const Mn=({value:e,element:t="span",placeholder:n,ariaLabel:s,ariaInvalid:o,disabled:r,onChange:a,inputMode:l="decimal",autoComplete:c="off",dataSpiceflowFocus:d,fontFamily:m,fontWeight:f=700,color:h,textAlign:w,lineHeight:g=1,maxFontSize:y=40,minFontSize:x=18,overflow:b="ellipsis",title:v,style:C})=>{const k=iu(e||n||"",y,x),A=b==="wrap"?{overflowWrap:"anywhere",wordBreak:"break-word",whiteSpace:"normal"}:b==="ellipsis"?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:{},I={fontFamily:m,fontSize:`${k}px`,fontWeight:f,color:h,lineHeight:g,letterSpacing:0,textAlign:w,minWidth:0,maxWidth:"100%",...A,...C};return t==="input"?i.jsx("input",{type:"text",inputMode:l,autoComplete:c,"aria-label":s,"aria-invalid":o||void 0,"data-spiceflow-focus":d||void 0,value:e,onChange:a,placeholder:n,disabled:r,title:v,style:{backgroundColor:"transparent",border:"none",outline:"none",padding:0,width:"100%",...I}}):i.jsx(t,{title:v,style:I,children:e})},lr=({pct:e,isMax:t,primaryColor:n,dark:s,fillColor:o})=>{const r=e/100;return i.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 14 14",children:[i.jsx("circle",{cx:"7",cy:"7",r:"6.84375",fill:t?n:"none",stroke:t?n:s?"#4a5568":"#3C3E42",strokeWidth:"0.3125"}),!t&&r>0&&i.jsx("path",{d:`M 7 7 L 7 0.15625 A 6.84375 6.84375 0 ${r>.5?1:0} 1 ${7+6.84375*Math.sin(r*2*Math.PI)} ${7-6.84375*Math.cos(r*2*Math.PI)} Z`,fill:o})]})},Bi=({chainId:e,name:t,size:n=16})=>{const s=e&&(Fn[e]||S.getChainMeta(e)?.logo)||"";return s?i.jsx("img",{src:s,alt:t||`Chain ${e}`,loading:"lazy",decoding:"async",width:n,height:n,style:{width:`${n}px`,height:`${n}px`,borderRadius:"50%",objectFit:"cover",flexShrink:0}}):null},lu={1:"ethereum",56:"binance-smart-chain",137:"polygon-pos",143:"monad",4114:"citrea",4663:"robinhood",8453:"base",42161:"arbitrum-one"},cu=6e4,Es=new Map;function Ri(e,t){return Es.get(e)?.logos?.get(t.toLowerCase())}function du(e,t){const n=lu[e];if(!n||S.isNativeToken(t))return;const s=Es.get(e);if(s?.logos||s?.pending)return s.pending;if(s?.failedAt!==void 0&&Date.now()-s.failedAt<cu)return;const o=Promise.resolve().then(async()=>{try{const r=await fetch(`https://tokens.coingecko.com/${n}/all.json`,{signal:AbortSignal.timeout(1e4)});if(!r.ok)throw new Error("Token list request failed");const a=await r.json(),l=new Map;for(const c of a?.tokens??[])c?.address&&c?.logoURI&&l.set(String(c.address).toLowerCase(),c.logoURI);Es.set(e,{logos:l})}catch(r){console.warn(`[tokenLogos] Token list unavailable for chain ${e}`,r),Es.set(e,{failedAt:Date.now()})}});return Es.set(e,{...s,pending:o}),o}function cr(e,t,n){const[s,o]=p.useState(),r=e||e===null||t===void 0||!n?void 0:`${t}:${n.toLowerCase()}`,a=r?Ri(t,n):void 0;return p.useEffect(()=>{if(!r||a||t===void 0||!n)return;let l=!0;const c=()=>{const m=Ri(t,n);l&&m&&o({token:r,logo:m})},d=du(t,n);return d?d.then(c):c(),()=>{l=!1}},[r,a,t,n]),e||a||(s&&s.token===r?s.logo:void 0)}const po=({symbol:e,label:t,logoURI:n,chainId:s,address:o,size:r=20,theme:a})=>{const{theme:l}=u.useSpiceBrand(),c=a||l,[d,m]=p.useState(),f={width:`${r}px`,height:`${r}px`,borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",fontSize:`${r*.4}px`,fontWeight:c.typography.fontWeight.bold,flexShrink:0,overflow:"hidden",backgroundColor:"#ffffff"},h=cr(n===null?null:n||zo[e.toUpperCase()],s,o);if(n===null)return null;if(h&&h!==d)return i.jsx("img",{src:h,alt:t??e,loading:"lazy",decoding:"async",style:{...f,objectFit:"cover"},onError:()=>m(h)});const w=uu(e);return i.jsx("div",{style:{...f,...w.style},children:w.icon})},uu=e=>{const t=e.toUpperCase(),n={ETH:{bg:"#627EEA",text:"#FFFFFF",icon:"\u039E"},BTC:{bg:"#F7931A",text:"#FFFFFF",icon:"\u20BF"},USDC:{bg:"#2775CA",text:"#FFFFFF"},USDT:{bg:"#26A17B",text:"#FFFFFF"},DAI:{bg:"#F5AC37",text:"#FFFFFF"},WETH:{bg:"#627EEA",text:"#FFFFFF",icon:"\u039E"},WBTC:{bg:"#F09242",text:"#FFFFFF",icon:"\u20BF"},CBTC:{bg:"#F7931A",text:"#FFFFFF",icon:"\u20BF"},USD:{bg:"#26A17B",text:"#FFFFFF",icon:"$"},MATIC:{bg:"#8247E5",text:"#FFFFFF"},AVAX:{bg:"#E84142",text:"#FFFFFF"},SOL:{bg:"#9945FF",text:"#FFFFFF"},DOT:{bg:"#E6007A",text:"#FFFFFF"},ADA:{bg:"#0033AD",text:"#FFFFFF"},LINK:{bg:"#375BD2",text:"#FFFFFF"},UNI:{bg:"#FF007A",text:"#FFFFFF"},AAVE:{bg:"#B6509E",text:"#FFFFFF"},CRV:{bg:"#40E0D0",text:"#000000"}}[t];if(n)return{style:{backgroundColor:n.bg,color:n.text},icon:n.icon||t.charAt(0)};const s=t.split("").reduce((l,c)=>c.charCodeAt(0)+((l<<5)-l),0),o=Math.abs(s)%360,r=`hsl(${o}, 60%, 50%)`,a=o>180?"#FFFFFF":"#000000";return{style:{backgroundColor:r,color:a},icon:t.charAt(0)}},pu=({selectedAsset:e,assets:t,onAssetSelect:n,showDropdown:s,onToggleDropdown:o,disabled:r=!1,theme:a,onViewAllAssets:l,getAvailableBalance:c})=>{const d=u.useAssetDisplay(),m=F=>{const P=c?c(F):F.balance;return P===void 0?"...":u.formatAssetBalance({balance:P,decimals:F.decimals})},{theme:f}=u.useSpiceBrand(),h=a||f,w=p.useRef(null),g=p.useRef(null),y=p.useRef(null),[x,b]=p.useState(null);p.useEffect(()=>{if(s&&g.current){const F=()=>{if(g.current){const P=g.current.getBoundingClientRect();b({top:P.bottom+6,right:window.innerWidth-P.right})}};return F(),window.addEventListener("scroll",F,!0),window.addEventListener("resize",F),()=>{window.removeEventListener("scroll",F,!0),window.removeEventListener("resize",F)}}else b(null)},[s]),p.useEffect(()=>{const F=P=>{w.current&&!w.current.contains(P.target)&&y.current&&!y.current.contains(P.target)&&s&&o()};return s&&document.addEventListener("mousedown",F),()=>{document.removeEventListener("mousedown",F)}},[s,o]);const[v,C]=p.useState(!1),k=h.mode==="light",A={backgroundColor:"transparent",border:`1px solid ${k?"#aaaaaa":h.colors.border}`,borderRadius:"6px",color:h.colors.text,cursor:r?"not-allowed":"pointer",padding:"8px 14px 8px 10px",width:"100%",display:"flex",flexDirection:"column",gap:"4px",opacity:r?.6:1,transition:u.transition.interactive,transform:v?"scale(0.98)":"scale(1)"},I={display:"flex",justifyContent:"space-between",alignItems:"center",gap:"10px",minWidth:0},E={display:"flex",alignItems:"center",gap:"4px",paddingTop:"4px",borderTop:`1px solid ${h.colors.border}`},N=()=>x?{position:"fixed",top:`${x.top}px`,right:`${x.right}px`,backgroundColor:h.colors.secondary,border:`1px solid ${h.colors.border}`,borderRadius:h.borderRadius.md,boxShadow:h.shadows.lg,zIndex:u.z.dropdown,width:"200px",maxHeight:"300px",overflow:"auto"}:{},R={backgroundColor:"transparent",border:"none",color:h.colors.text,cursor:"pointer",padding:h.spacing.sm,width:"100%",display:"flex",alignItems:"center",gap:h.spacing.sm,transition:`background-color ${h.animation.normal}`,":hover":{backgroundColor:h.colors.surfaceHover}},B={display:"flex",flexDirection:"column",alignItems:"flex-start",flex:1},U={fontSize:h.typography.fontSize.sm,fontWeight:h.typography.fontWeight.medium},O={fontSize:h.typography.fontSize.xs,color:h.colors.textMuted},W={backgroundColor:"transparent",border:"none",borderTop:`1px solid ${h.colors.border}`,color:h.colors.primary,cursor:"pointer",padding:"10px 12px",width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"8px",fontFamily:h.typography.fontFamily,fontSize:h.typography.fontSize.xs,fontWeight:h.typography.fontWeight.medium,textDecoration:"underline",textUnderlineOffset:"2px"},D={transition:`transform ${h.animation.normal}`,transform:s?"rotate(180deg)":"rotate(0deg)",flexShrink:0};return i.jsxs(i.Fragment,{children:[i.jsx("div",{style:{position:"relative"},ref:w,children:i.jsxs("div",{ref:g,style:A,onClick:r?void 0:o,onMouseLeave:()=>{C(!1)},onMouseDown:()=>C(!0),onMouseUp:()=>C(!1),children:[i.jsxs("div",{style:I,children:[i.jsx("div",{style:{display:"flex",alignItems:"center",gap:"8px",flex:1,minWidth:0},children:e?.asset?i.jsxs(i.Fragment,{children:[i.jsx(po,{symbol:e.asset.symbol,label:d(e.asset).symbol,logoURI:d(e.asset).logoURI,chainId:e.asset.chainId,address:e.asset.address,theme:h,size:24}),i.jsx("span",{style:{fontSize:"15px",fontWeight:500,color:h.colors.text,lineHeight:"1.5",flex:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:d(e.asset).symbol})]}):i.jsx("span",{style:{fontSize:"14px",color:h.colors.textMuted},children:"Select"})}),i.jsx("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:k?h.colors.textMuted:"#c7ccd4",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:D,children:i.jsx("path",{d:"M6 9l6 6 6-6"})})]}),e?.asset&&i.jsxs("div",{style:E,children:[!e.asset.displayChainName&&i.jsx(Bi,{chainId:e.asset.chainId,theme:h}),i.jsx("span",{style:{fontSize:"11px",color:h.colors.textMuted},children:u.getAssetDisplayChainName(e.asset)})]})]})}),s&&x&&Gn.createPortal(i.jsxs("div",{ref:y,style:N(),children:[t.length===0&&i.jsx("div",{style:{padding:"10px 12px",color:h.colors.textMuted,fontSize:h.typography.fontSize.xs},children:"No assets available"}),t.map(F=>i.jsxs("button",{style:R,onClick:()=>{n(F),o()},children:[i.jsx(po,{symbol:F.symbol,label:d(F).symbol,logoURI:d(F).logoURI,chainId:F.chainId,address:F.address,theme:h},ye(F)),i.jsxs("div",{style:B,children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:h.spacing.xs},children:[i.jsx("span",{style:U,children:d(F).symbol}),!F.displayChainName&&i.jsx(Bi,{chainId:F.chainId,theme:h})]}),i.jsxs("span",{style:O,children:[m(F)," \u2022 ",u.getAssetDisplayChainName(F)]})]})]},ye(F))),l&&i.jsxs("button",{type:"button",style:W,onClick:()=>{o(),l()},children:[i.jsx("span",{children:"View all assets"}),i.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[i.jsx("path",{d:"M5 12h14"}),i.jsx("path",{d:"M13 5l7 7-7 7"})]})]})]}),document.body)]})},fu=({assets:e,selectedAsset:t,onAssetSelect:n,onAmountChange:s,disabled:o=!1,loading:r=!1,label:a="Select Asset",showBalance:l=!0,showMaxButton:c=!0,placeholder:d="0.0",theme:m,styles:f,maxAmount:h,resolveMaxAmount:w,getAvailableBalance:g,hideAmountInput:y=!1,displayAmount:x,dark:b,onViewAllAssets:v})=>{const C=u.useAssetDisplay(),{theme:k,primaryColor:A,dark:I,dk:E}=u.useSpiceBrand(f,b),N=m||k,R=b??I,[B,U]=p.useState(!1),[O,W]=p.useState(null),[D,F]=p.useState(null),[P,q]=p.useState(!1),[L,ne]=p.useState(null),[pe,ce]=p.useState(t?.amount||""),X=p.useRef(w),z=t?.asset?ye(t.asset):"",V=t?.asset?g?g(t.asset):t.asset.balance:void 0,fe=p.useRef(z);fe.current=z;const Y=!!w,Ce=L??h;p.useEffect(()=>{X.current=w},[w]),p.useEffect(()=>{ce(t?.amount||"")},[z,t?.amount]),p.useEffect(()=>{ne(null),q(!1)},[z,Y,V]);const be=()=>{const M=t?.asset;if(!M||V===void 0)return;if(!Ce)return V;const J=T.parseUnits(Ce,M.decimals);return J<V?J:V},j=M=>{ce(M),s?.(M)},Z=M=>{const J=t?.asset,ae=u.parseNumericInput(M.startsWith(".")?`0${M}`:M,J?.decimals);if(!J||!ae)return j(ae);const oe=T.parseUnits(ae,J.decimals),ee=be();j(ee!==void 0&&oe>ee?T.formatUnits(ee,J.decimals):ae)},$=async()=>{const M=t?.asset;if(!M||o||V===void 0)return;const J=z,ae=X.current;if(L)return j(L);if(ae){q(!0);try{const ee=await ae(M);if(fe.current!==J)return;if(ee!==null){const Ae=u.parseNumericInput(ee,M.decimals);ne(Ae),j(Ae);return}return}catch(ee){console.warn("[AssetSelector] Failed to resolve max amount:",ee);return}finally{fe.current===J&&q(!1)}}const oe=be();fe.current===J&&oe!==void 0&&j(T.formatUnits(oe,M.decimals))},H=async M=>{if(!t||o||V===void 0)return;if(M===100)return $();const J=be();J!==void 0&&j(T.formatUnits(J*BigInt(M)/100n,t.asset.decimals))},me=t&&V!==void 0?Number(T.formatUnits(V,t.asset.decimals)):0,ge=parseFloat(pe)||0,je=me>0?ge/me*100:0,K={backgroundColor:f?.assetSelector?.backgroundColor||f?.secondaryBackground||(R?E.cardBg:"#e9e9e9"),border:R?`0.5px solid ${E.cardBorder}`:"0.5px solid #A8A8A7",borderRadius:f?.assetSelector?.borderRadius||"6px",padding:f?.assetSelector?.padding||"16px",height:"auto",minHeight:y?void 0:"144px",display:"flex",flexDirection:"column",gap:"8px",position:"relative",opacity:o?.6:1};return r?i.jsx("div",{style:K,children:i.jsxs("div",{style:{flex:1,display:"flex",alignItems:"center",justifyContent:"space-between"},children:[i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:[i.jsx("div",{style:{backgroundColor:R?E.hoverBg:"#d1d5db",borderRadius:"4px",height:"16px",width:"60px"}}),i.jsx("div",{style:{backgroundColor:R?E.hoverBg:"#d1d5db",borderRadius:"4px",height:"40px",width:"150px"}})]}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-end",gap:"8px"},children:[i.jsx("div",{style:{backgroundColor:R?E.hoverBg:"#d1d5db",borderRadius:"4px",height:"12px",width:"80px"}}),i.jsx("div",{style:{backgroundColor:R?E.hoverBg:"#d1d5db",borderRadius:"6px",height:"46px",width:"128px"}})]})]})}):i.jsxs("div",{style:K,children:[i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[i.jsx("span",{style:{fontFamily:f?.fontFamily||N.typography.fontFamily,fontSize:"16px",fontWeight:500,color:R?E.textSecondary:"#7d7c7b",lineHeight:"24px"},children:a}),l&&t?.asset&&i.jsxs("span",{style:{fontFamily:f?.fontFamily||N.typography.fontFamily,fontSize:"12px",fontWeight:500,color:R?E.textSecondary:"#71757a",lineHeight:"16px"},children:["Balance:"," ",V===void 0?"...":u.formatAssetBalance({balance:V,decimals:t.asset.decimals})]})]}),i.jsxs("div",{style:{display:"flex",justifyContent:y&&!x?"flex-start":"space-between",alignItems:"center",flex:1},children:[!y&&i.jsx(Mn,{element:"input",ariaLabel:t?.asset?`${C(t.asset).symbol} amount`:"Amount",dataSpiceflowFocus:!0,value:pe,onChange:M=>Z(M.target.value),placeholder:d,disabled:o||!t?.asset,fontFamily:f?.fontFamily||N.typography.fontFamily,color:o?R?"rgba(255, 255, 255, 0.16)":"rgba(14, 13, 11, 0.16)":pe?R?"#ffffff":"#0e0d0b":R?"#4a5568":"#d1d5db",lineHeight:"1.08",maxFontSize:40,minFontSize:22,style:{width:"100%",maxWidth:"200px"}}),i.jsx("div",{style:{width:"176px",position:"relative",flexShrink:0},children:i.jsx(pu,{selectedAsset:t,assets:e,onAssetSelect:n,showDropdown:B,onToggleDropdown:()=>U(!B),disabled:o,theme:N,onViewAllAssets:v,getAvailableBalance:g})}),y&&x&&i.jsx(Mn,{element:"span",value:x,title:x,fontFamily:f?.fontFamily||N.typography.fontFamily,color:R?"#ffffff":"#0e0d0b",lineHeight:"1.08",textAlign:"right",maxFontSize:40,minFontSize:22,style:{flex:1}})]}),!y&&i.jsx("div",{style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"10px",height:"14px"},children:[0,25,50,75,100].filter(M=>c||M!==100).map((M,J)=>{const ae=Math.abs(je-M)<1,oe=J===4,ee=O===M,Ae=D===M;return i.jsx("button",{onClick:()=>H(M),onMouseEnter:()=>W(M),onMouseLeave:()=>{W(null),F(null)},onMouseDown:()=>F(M),onMouseUp:()=>F(null),disabled:o||!t?.asset||V===void 0||M===100&&P,title:`${M}%`,style:{width:"14px",height:"14px",padding:0,border:"none",backgroundColor:"transparent",cursor:o||!t?.asset||V===void 0||M===100&&P?"not-allowed":"pointer",opacity:ae?1:ee?.8:.5,transform:Ae?"scale(0.85)":ee?"scale(1.15)":"scale(1)",transition:u.transition.interactive},children:i.jsx(lr,{pct:M,isMax:oe,primaryColor:A,dark:R,fillColor:R?E.textSecondary:"#3C3E42"})},M)})})]})},$n=p.memo(fu),mu=({selectedDepositAssets:e,depositAssets:t,secondAssetOptions:n,loadingAssets:s,allowSecondAsset:o,theme:r,styles:a,dark:l,dk:c,onSelect:d,onAmountChange:m,onAdd:f,onRemove:h,resolveMaxAmount:w,onViewAllAssets:g})=>i.jsxs(i.Fragment,{children:[e.map((y,x)=>{const b=e.length===1?"Deposit":`Asset ${x+1}`;return i.jsxs("div",{style:{marginBottom:r.spacing.md,position:"relative"},children:[i.jsx($n,{assets:x===0?t:n,selectedAsset:y||void 0,onAssetSelect:v=>d(v,x),onAmountChange:v=>m(v,x),loading:s,label:b,showBalance:!0,theme:r,styles:a,allowSecondAsset:o&&x===0,onAddAsset:f,canAddAsset:e.length===1&&!!e[0]?.asset,resolveMaxAmount:w?v=>w(v,x):void 0,onViewAllAssets:x===0?g:void 0}),x===1&&i.jsx("button",{onClick:()=>h(x),style:{position:"absolute",top:"-2px",right:"-2px",background:l?`${c.cardBg}ee`:"rgba(255, 255, 255, 0.9)",border:`1px solid ${c.cardBorder}`,borderRadius:"50%",cursor:"pointer",color:r.colors.textMuted,fontSize:"16px",padding:"2px",width:"22px",height:"22px",display:"flex",alignItems:"center",justifyContent:"center",transition:u.transition.interactive,boxShadow:"0 1px 3px rgba(0, 0, 0, 0.1)"},onMouseEnter:v=>{v.currentTarget.style.color=l?c.errorText:"#ef4444",v.currentTarget.style.background=l?c.cardBg:"#fff",v.currentTarget.style.borderColor=l?c.errorBorder:"#fecaca"},onMouseLeave:v=>{v.currentTarget.style.color=r.colors.textMuted,v.currentTarget.style.background=l?`${c.cardBg}ee`:"rgba(255, 255, 255, 0.9)",v.currentTarget.style.borderColor=l?c.cardBorder:"#e5e7eb"},title:"Remove asset",children:"\xD7"})]},`asset-${x}`)}),e.length===0&&i.jsx("div",{style:{marginBottom:r.spacing.md},children:i.jsx($n,{assets:t,selectedAsset:void 0,onAssetSelect:y=>d(y,0),onAmountChange:y=>m(y,0),loading:s,label:"Deposit",showBalance:!0,theme:r,styles:a,allowSecondAsset:o,onAddAsset:f,canAddAsset:!1,resolveMaxAmount:w?y=>w(y,0):void 0},"initial-selector")})]}),hu=p.memo(mu);function gu(e,t){switch(e){case"success":return{bg:t.successBg,border:t.successBorder,text:t.successText};case"warning":return{bg:t.warningBg,border:t.warningBorder,text:t.warningText};case"error":return{bg:t.errorBg,border:t.errorBorder,text:t.errorText};case"info":return{bg:t.infoBg,border:t.infoBorder,text:t.infoText}}}const Xt=({variant:e,palette:t,children:n,icon:s,style:o,fontFamily:r,size:a="default"})=>{const l=gu(e,t),c=a==="compact";return i.jsxs("div",{role:e==="error"?"alert":"status",style:{backgroundColor:l.bg,border:`1px solid ${l.border}`,borderRadius:c?"7px":"8px",padding:c?"8px 10px":"12px 16px",color:l.text,fontSize:c?"12px":"13px",lineHeight:c?1.4:1.5,display:"flex",alignItems:"flex-start",gap:c?"6px":"8px",fontFamily:r,...o},children:[s&&i.jsx("span",{style:{flexShrink:0,display:"flex",alignItems:"center"},children:s}),i.jsx("span",{style:{minWidth:0,overflowWrap:"anywhere"},children:n})]})},ji=u.font.mono,on=({label:e,value:t,palette:n,valueColor:s,labelColor:o,style:r})=>i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"12px",...r},children:[i.jsx("span",{style:{fontSize:"12px",color:o??n.textSecondary,fontFamily:ji,fontWeight:500,letterSpacing:"0.03em",flexShrink:0,whiteSpace:"nowrap"},children:e}),i.jsx("span",{style:{fontSize:"13px",color:s??n.textPrimary,fontWeight:500,fontFamily:ji,minWidth:0,textAlign:"right",overflowWrap:"anywhere"},children:t})]}),dr=({onClick:e,label:t="Add Funds",color:n,fontFamily:s,style:o})=>{const[r,a]=p.useState(!1);return i.jsxs("button",{type:"button",onClick:e,"data-spiceflow-focus":!0,onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),style:{background:"none",border:"none",cursor:"pointer",padding:0,display:"inline-flex",alignItems:"center",gap:"4px",color:n,fontSize:"12px",fontWeight:500,fontFamily:s,textDecoration:"underline",textUnderlineOffset:"2px",whiteSpace:"nowrap",opacity:r?.75:1,transition:"opacity 150ms ease",...o},children:[t,i.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:"1.8","aria-hidden":"true",children:[i.jsx("circle",{cx:"6",cy:"6",r:"5"}),i.jsx("path",{d:"M6 4v4M4 6h4",strokeLinecap:"round"})]})]})},ur=({value:e,onChange:t,ariaLabel:n,placeholder:s,endAdornment:o,size:r="lg",dark:a,styles:l,inputRef:c,autoFocus:d})=>{const{dark:m,dk:f}=u.useSpiceBrand(l,a),h=a??m,w=r==="lg",g=w?"15px":"14px",y=w?"7px":"10px",x=w?u.radius.input:u.radius.sm,b=l?.fontFamily||u.font.ui,v=h?f.inputBg:"#FAFAFA",C=h?f.inputBorder:"#e5e7eb",k=h?f.textPrimary:"#374151",A=h?f.textSecondary:"#9ca3af";return i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",backgroundColor:v,borderRadius:x,boxShadow:h?"0 2px 4px rgba(0, 0, 0, 0.3)":"0 2px 4px rgba(0, 0, 0, 0.1)",padding:`${y} 5px`,border:`1px solid ${C}`},children:[i.jsx(Jd,{style:{color:A},size:24}),i.jsx("input",{ref:c,type:"text",role:"searchbox","aria-label":n,autoComplete:"off",spellCheck:!1,autoFocus:d,"data-spiceflow-focus":!0,placeholder:s,value:e,onChange:I=>t(I.target.value),style:{flex:1,backgroundColor:v,outline:"none",border:"none",color:k,fontSize:g,fontWeight:400,fontFamily:b}}),o]})},xu="This deposit didn't confirm in time. It may still have gone through, so check the explorer and refresh your balance before retrying.";function yu(e){return e?.overallStatus!=="failed"?{isFailed:!1,failureMessage:null}:{isFailed:!0,failureMessage:e.steps?.find(t=>t.status==="failed"&&!!t.error)?.error||xu}}const fo=i.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",style:{flexShrink:0},children:[i.jsx("circle",{cx:"10",cy:"10",r:"10",fill:"#10b981"}),i.jsx("path",{d:"M6 10l3 3 5-6",stroke:"#ffffff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),wu=({isOpen:e,onClose:t,onConfirm:n,data:s,isExecuting:o=!1,error:r=null,theme:a,styles:l,intentStatus:c,postDepositStatus:d="idle",hasPostDepositInstruction:m=!1})=>{const{dark:f,dk:h,theme:w}=u.useSpiceBrand(l),[g,y]=p.useState(!1),[x,b]=p.useState(!0);p.useEffect(()=>{e||y(!1)},[e]);const v=()=>{y(!0),setTimeout(()=>{t()},300)},C=()=>{b(!x)};if(!e||!s)return null;const k=c?.overallStatus==="processing",A=c?.overallStatus==="success",I=!!c,{isFailed:E,failureMessage:N}=yu(c),R=!I&&m,B=R&&d==="executing",U=R&&d==="success",O=A&&m&&(d==="idle"||d==="executing")||B,W=A&&(!m||d==="success"||d==="error")||U||R&&d==="error",D=f?h.cardBg:"#ffffff",F=f?"0 -4px 20px rgba(0, 0, 0, 0.4)":"0 -4px 20px rgba(0, 0, 0, 0.15)",P=h.textSecondary,q=f?h.textPrimary:"#1f2937",L=f?h.textPrimary:"#1f2937",ne=X=>i.jsx("div",{style:{marginBottom:a.spacing.md,padding:a.spacing.md,backgroundColor:l?.errorMessage?.backgroundColor||(a.mode==="light"?"#fef2f2":`${a.colors.error}20`),border:`1px solid ${l?.errorMessage?.borderColor||(a.mode==="light"?"#fecaca":a.colors.error)}`,borderRadius:l?.errorMessage?.borderRadius||a.borderRadius.md},children:i.jsx("p",{style:{color:l?.errorMessage?.color||a.colors.error,fontSize:l?.errorMessage?.fontSize||a.typography.fontSize.sm,margin:0,fontFamily:l?.errorMessage?.fontFamily||l?.fontFamily||a.typography.fontFamily},children:X})}),pe={fontSize:a.typography.fontSize.sm,fontWeight:500,color:P,fontFamily:u.font.mono,letterSpacing:"0.5px"},ce=(X,z,V=q)=>i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[i.jsx("span",{style:pe,children:X}),i.jsx("span",{style:{fontSize:a.typography.fontSize.sm,fontWeight:500,color:V,fontFamily:u.font.mono},children:z})]});return i.jsxs("div",{style:{position:"absolute",bottom:0,left:0,right:0,zIndex:10,animation:g?"slideDown 0.3s ease-in":"slideUp 0.3s ease-out",pointerEvents:"auto"},children:[i.jsxs("div",{style:{backgroundColor:D,borderRadius:"0",width:"100%",maxWidth:"522px",margin:"0 auto",padding:"18px 24px",boxShadow:F},children:[!A&&!U&&i.jsxs(i.Fragment,{children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:a.spacing.md},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",cursor:"pointer"},onClick:C,children:[i.jsx("span",{style:{fontSize:"13px",fontWeight:a.typography.fontWeight.medium,color:P,fontFamily:l?.fontFamily||a.typography.fontFamily},children:"Transaction Details"}),i.jsx(Jn,{color:P,direction:x?"up":"down"})]}),i.jsx("button",{onClick:X=>{X.stopPropagation(),t()},style:{background:"none",border:"none",cursor:"pointer",padding:"4px",display:"flex",alignItems:"center",justifyContent:"center",color:P,transition:"color 0.2s ease"},onMouseEnter:X=>{X.currentTarget.style.color=L},onMouseLeave:X=>{X.currentTarget.style.color=P},children:i.jsx(As,{size:16})})]}),i.jsxs("div",{style:{marginBottom:a.spacing.lg,display:"flex",flexDirection:"column",gap:a.spacing.md,overflow:"hidden",maxHeight:x?"200px":"0px",opacity:x?1:0,transition:"max-height 0.3s ease, opacity 0.3s ease"},children:[ce("NETWORK",s.network),ce("DEPOSITED AMOUNT",s.amount,a.colors.success),s.creditedAmount&&ce("CREDITED AMOUNT",s.creditedAmount),s.spicenetFee&&ce("SPICENET FEE",s.spicenetFee),s.networkFee&&ce("EST. NETWORK FEE",s.networkFee)]})]}),r&&!I&&ne(r),E&&N&&ne(N),i.jsx(u.Button,{onClick:W||E?v:n,variant:"outline",fullWidth:!0,disabled:o||k||O||B,styles:l,theme:w,children:o||k||B||O?"PROCESSING...":W?"CONTINUE \u2192":E?"CLOSE":"CONFIRM DEPOSIT"}),W&&i.jsx("p",{style:{marginTop:a.spacing.md,marginBottom:0,fontSize:"14px",color:P,textAlign:"center",fontFamily:l?.fontFamily||a.typography.fontFamily},children:"Your funds are now available in your Account"}),i.jsx("div",{style:{marginTop:a.spacing.md,display:"flex",justifyContent:"center",alignItems:"center"},children:i.jsx("img",{src:wi,alt:"Powered by SpiceNet",style:{height:"auto",width:"130px",opacity:1,filter:f?"brightness(0) invert(1) opacity(0.7)":"none"}})})]}),i.jsx("style",{children:`
|
|
3
|
+
"use strict";var sc=Object.create;var Xr=Object.defineProperty;var oc=Object.getOwnPropertyDescriptor;var rc=Object.getOwnPropertyNames;var ac=Object.getPrototypeOf,ic=Object.prototype.hasOwnProperty;var lc=(e,t,n,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of rc(t))!ic.call(e,o)&&o!==n&&Xr(e,o,{get:()=>t[o],enumerable:!(s=oc(t,o))||s.enumerable});return e};var cc=(e,t,n)=>(n=e!=null?sc(ac(e)):{},lc(t||!e||!e.__esModule?Xr(n,"default",{value:e,enumerable:!0}):n,e));const i=require("react/jsx-runtime"),u=require("./privy-Df1bsdsz.js"),p=require("react"),S=require("@spicenet-io/spiceflow-core"),Cn=require("wagmi"),T=require("viem"),un=require("viem/actions"),ps=require("@privy-io/react-auth"),Gn=require("react-dom");require("@tanstack/react-query");const dc="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@100;200;300;400;500;600;700&display=swap",uc="spiceflow-ibm-plex-mono",pc="spiceflow-preconnect-googleapis",fc="spiceflow-preconnect-gstatic";function Eo(e,t){if(document.getElementById(e))return;const n=t();n.id=e,document.head.appendChild(n)}function mc(){typeof document>"u"||(Eo(pc,()=>{const e=document.createElement("link");return e.rel="preconnect",e.href="https://fonts.googleapis.com",e}),Eo(fc,()=>{const e=document.createElement("link");return e.rel="preconnect",e.href="https://fonts.gstatic.com",e.crossOrigin="",e}),Eo(uc,()=>{const e=document.createElement("link");return e.rel="stylesheet",e.href=dc,e}))}const hc={1:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",8453:"0x4200000000000000000000000000000000000006",42161:"0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",84532:"0x4200000000000000000000000000000000000006"},Jr=T.parseAbi(["function deposit() payable","function withdraw(uint256 wad)"]);function Fo(e){return u.getChainConfig(e)?.wrappedNativeTokenAddress??hc[e]}const To=(e,t)=>({to:e,value:t,data:T.encodeFunctionData({abi:Jr,functionName:"deposit"})}),Bo=(e,t)=>({to:e,value:0n,data:T.encodeFunctionData({abi:Jr,functionName:"withdraw",args:[t]})});function Ro(e,t,n){const s=S.isNativeToken(t),o=S.isNativeToken(n);if(!s&&!o)return null;const r=Fo(e);return r?{weth:r,wrapIn:s,unwrapOut:o}:null}function $r(e,t,n,s){const o=Ro(e,t,n);return!o||s<=0n?null:o.wrapIn&&!o.unwrapOut&&n.toLowerCase()===o.weth.toLowerCase()?[To(o.weth,s)]:o.unwrapOut&&!o.wrapIn&&t.toLowerCase()===o.weth.toLowerCase()?[Bo(o.weth,s)]:null}function gc(e){return{...e,resolve:async(t,n,s,o)=>{const r=$r(n,t.tokenIn,t.tokenOut,t.amountIn);if(r)return{venue:"native-wrap",amountOut:t.amountIn,amountOutMinimum:t.amountIn,calls:r};const a=await e.resolve(t,n,s,o);if(a)return a;const l=Ro(n,t.tokenIn,t.tokenOut);if(!l)return null;const c=await e.resolve({...t,tokenIn:l.wrapIn?l.weth:t.tokenIn,tokenOut:l.unwrapOut?l.weth:t.tokenOut},n,s,o);return c?{...c,calls:[...l.wrapIn?[To(l.weth,t.amountIn)]:[],...c.calls,...l.unwrapOut?[Bo(l.weth,c.amountOutMinimum)]:[]]}:null}}}function xc(e){return{...e,resolve:async(t,n,s)=>{const o=$r(n,t.tokenIn,t.tokenOut,t.amountOut);if(o)return{venue:"native-wrap",amountIn:t.amountOut,amountInMax:t.amountOut,amountOut:t.amountOut,calls:o};const r=await e.resolve(t,n,s);if(r)return r;const a=Ro(n,t.tokenIn,t.tokenOut);if(!a)return null;const l=await e.resolve({...t,tokenIn:a.wrapIn?a.weth:t.tokenIn,tokenOut:a.unwrapOut?a.weth:t.tokenOut},n,s);return l?{...l,calls:[...a.wrapIn?[To(a.weth,l.amountInMax)]:[],...l.calls,...a.unwrapOut?[Bo(a.weth,l.amountOut)]:[]]}:null}}}const _r=[100,500,3e3,1e4];function Vs(e,t,n,s,o){const r=[];for(const a of n){const l=typeof a=="object"&&!Array.isArray(a)?a:void 0,c=l?l.tokens:Array.isArray(a)?a:[a];if(!c.length||c.length>2)throw new Error("A v3 route must have one or two intermediate tokens");const d=[e,...c,t];if(l&&(l.feeTiers.length!==d.length-1||l.feeTiers.some(f=>!f.length)))throw new Error("A v3 route needs fee tiers for every pool");if(new Set(d.map(f=>f.toLowerCase())).size!==d.length)continue;const m=(f,h)=>{if(f===d.length){r.push(o==="in"?h:ea(h));return}for(const w of l?.feeTiers[f-1]??s)m(f+1,T.concatHex([h,T.encodePacked(["uint24","address"],[w,d[f]])]))};m(1,d[0])}return[...new Set(r)]}function ea(e){const t=e.slice(2),n=[];for(let s=0;s<t.length;){const o=n.length%2===0?40:6;n.push(t.slice(s,s+o)),s+=o}return`0x${n.reverse().join("")}`}const yc=T.parseAbi(["function exactOutputSingle((address tokenIn, address tokenOut, uint24 fee, address recipient, uint256 amountOut, uint256 amountInMaximum, uint160 sqrtPriceLimitX96) params) payable returns (uint256 amountIn)","function exactOutput((bytes path, address recipient, uint256 amountOut, uint256 amountInMaximum) params) payable returns (uint256 amountIn)"]),wc=T.parseAbi(["function exactOutputSingle((address tokenIn, address tokenOut, uint24 fee, address recipient, uint256 deadline, uint256 amountOut, uint256 amountInMaximum, uint160 sqrtPriceLimitX96) params) payable returns (uint256 amountIn)","function exactOutput((bytes path, address recipient, uint256 deadline, uint256 amountOut, uint256 amountInMaximum) params) payable returns (uint256 amountIn)"]),bc=1800;function ta(e){const{config:t,route:n,tokenIn:s,tokenOut:o,recipient:r,amountOut:a}=e,l=e.amountInMaximum,c=e.routerHasDeadline?wc:yc,d=e.routerHasDeadline?{deadline:BigInt(Math.floor(Date.now()/1e3)+bc)}:{},m=n.path?T.encodeFunctionData({abi:c,functionName:"exactOutput",args:[{path:n.path,recipient:r,...d,amountOut:a,amountInMaximum:l}]}):T.encodeFunctionData({abi:c,functionName:"exactOutputSingle",args:[{tokenIn:s,tokenOut:o,fee:n.fee,recipient:r,...d,amountOut:a,amountInMaximum:l,sqrtPriceLimitX96:0n}]});return{to:t.swapRouter,value:0n,data:m}}const vc=T.parseAbi(["function quoteExactInput(bytes path, uint256 amountIn) returns (uint256 amountOut, uint160[] sqrtPriceX96AfterList, uint32[] initializedTicksCrossedList, uint256 gasEstimate)","function quoteExactOutput(bytes path, uint256 amountOut) returns (uint256 amountIn, uint160[] sqrtPriceX96AfterList, uint32[] initializedTicksCrossedList, uint256 gasEstimate)"]);async function fs(e,t,n,s,o){const r=u.getClientForChain(e),{result:a}=await r.simulateContract({address:t.quoterV2,abi:vc,functionName:o==="in"?"quoteExactInput":"quoteExactOutput",args:[n,s]}),[l,,,c]=a;if(l<=0n)throw new Error("No liquidity along this path.");return{amount:l,gasEstimate:c}}async function Cc(e){const{tokenIn:t,tokenOut:n,amountIn:s,fee:o,chainId:r,config:a}=e;if(s<=0n)throw new Error("amountIn must be greater than 0");const l=(await u.getClientForChain(r).simulateContract({address:a.quoterV2,abi:S.uniV3QuoterV2Abi,functionName:"quoteExactInputSingle",args:[{tokenIn:t,tokenOut:n,amountIn:s,fee:o,sqrtPriceLimitX96:0n}]})).result;if(l[0]<=0n)throw new Error("No liquidity found for this pair. The pool returned 0 output.");return{amountOut:l[0],sqrtPriceX96After:l[1],gasEstimate:l[3]}}async function na(e){const t=e.feeTiers??_r,n=Vs(e.tokenIn,e.tokenOut,e.hubs??[],t,"in"),s=await Promise.allSettled([...t.map(async r=>({...await Cc({...e,fee:r}),fee:r})),...n.map(async r=>{const a=await fs(e.chainId,e.config,r,e.amountIn,"in");return{amountOut:a.amount,sqrtPriceX96After:0n,gasEstimate:a.gasEstimate,fee:0,path:r}})]);let o=null;for(const r of s)r.status==="fulfilled"&&(!o||r.value.amountOut>o.amountOut)&&(o=r.value);if(!o)throw new Error("No liquidity found for this pair on any fee tier.");return o}const kc=[{inputs:[{components:[{name:"tokenIn",type:"address"},{name:"tokenOut",type:"address"},{name:"amount",type:"uint256"},{name:"fee",type:"uint24"},{name:"sqrtPriceLimitX96",type:"uint160"}],name:"params",type:"tuple"}],name:"quoteExactOutputSingle",outputs:[{name:"amountIn",type:"uint256"},{name:"sqrtPriceX96After",type:"uint160"},{name:"initializedTicksCrossed",type:"uint32"},{name:"gasEstimate",type:"uint256"}],stateMutability:"nonpayable",type:"function"}];async function Sc(e){const{tokenIn:t,tokenOut:n,amountOut:s,fee:o,chainId:r,config:a}=e;if(s<=0n)throw new Error("amountOut must be greater than 0");const l=(await u.getClientForChain(r).simulateContract({address:a.quoterV2,abi:kc,functionName:"quoteExactOutputSingle",args:[{tokenIn:t,tokenOut:n,amount:s,fee:o,sqrtPriceLimitX96:0n}]})).result;if(l[0]<=0n)throw new Error("No liquidity found for this pair. The pool returned 0 input.");return{amountIn:l[0],sqrtPriceX96After:l[1],gasEstimate:l[3]}}async function sa(e){const t=e.feeTiers??_r,n=Vs(e.tokenIn,e.tokenOut,e.hubs??[],t,"out"),s=await Promise.allSettled([...t.map(async r=>({...await Sc({...e,fee:r}),fee:r})),...n.map(async r=>{const a=await fs(e.chainId,e.config,r,e.amountOut,"out");return{amountIn:a.amount,sqrtPriceX96After:0n,gasEstimate:a.gasEstimate,fee:0,path:r}})]);let o=null;for(const r of s)r.status==="fulfilled"&&(!o||r.value.amountIn<o.amountIn)&&(o=r.value);if(!o)throw new Error("No liquidity found for this pair on any fee tier.");return o}function Ic(e){return e.type==="swap"}const ms=.02,Ac=[1,8453,42161,10,137,43114,56],Ec="https://api.1inch.dev/swap/v6.0";function jo(e,t){return S.applySlippage(e,t)}function Fc(e){const t=e?.baseUrl??Ec;return{name:"1inch",chainIds:e?.chainIds??Ac,resolve:async(n,s,o)=>{const r=n.maxSlippage??ms,a=r*100,l=S.isNativeToken(n.tokenIn)?S.NATIVE_TOKEN_ADDRESS:n.tokenIn,c=S.isNativeToken(n.tokenOut)?S.NATIVE_TOKEN_ADDRESS:n.tokenOut,d=S.isNativeToken(n.tokenIn);try{const m=new URL(`${t}/${s}/swap`);m.searchParams.set("src",l),m.searchParams.set("dst",c),m.searchParams.set("amount",n.amountIn.toString()),m.searchParams.set("from",o),m.searchParams.set("slippage",a.toString()),m.searchParams.set("disableEstimate","true"),m.searchParams.set("allowPartialFill","false");const f={Accept:"application/json"};e?.apiKey&&(f.Authorization=`Bearer ${e.apiKey}`);const h=await fetch(m.toString(),{headers:f});if(!h.ok)throw new u.SpiceflowError("VENUE_API_ERROR",`[1inchVenue] API returned ${h.status} for ${n.tokenIn} \u2192 ${n.tokenOut} on chain ${s}`,{venue:"1inch",chainId:s,tokenIn:n.tokenIn,tokenOut:n.tokenOut,amountIn:n.amountIn.toString(),cause:`HTTP ${h.status}`});const w=await h.json();if(!w.dstAmount||!w.tx)return console.warn(`[1inchVenue] No route data for ${n.tokenIn} \u2192 ${n.tokenOut} on chain ${s}`),null;const g=BigInt(w.dstAmount);if(g<=0n)return console.warn(`[1inchVenue] Zero output for ${n.tokenIn} \u2192 ${n.tokenOut} on chain ${s}`),null;const y=jo(g,r),x=[];return w.tx.to&&!d&&x.push({to:n.tokenIn,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"approve",args:[w.tx.to,n.amountIn]})}),x.push({to:w.tx.to,value:BigInt(w.tx.value||"0"),data:w.tx.data}),{venue:"1inch",amountOut:g,amountOutMinimum:y,calls:x}}catch(m){if(m instanceof u.SpiceflowError)throw m;const f=m instanceof Error?m.message:String(m);throw new u.SpiceflowError("VENUE_API_ERROR",`[1inchVenue] Exception for ${n.tokenIn} \u2192 ${n.tokenOut} on chain ${s}: ${f}`,{venue:"1inch",chainId:s,tokenIn:n.tokenIn,tokenOut:n.tokenOut,amountIn:n.amountIn.toString(),cause:f})}}}}const oa=[4114,5115],Do={name:"Satsuma",swapRouter:"0x565eD3D57fe40f78A46f348C220121AE093c3cF8",quoterV2:"0x428f20dd8926Eabe19653815Ed0BE7D6c36f8425",feeTiers:[3e3]},ra={name:"Uniswap v3",swapRouter:"0x2626664c2603336E57B271c5C0b26F421741e481",quoterV2:"0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",chainIds:[8453],feeTiers:[100,500,3e3,1e4],hubCurrencies:["0x4200000000000000000000000000000000000006","0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]},aa={name:"Uniswap v3",swapRouter:"0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",quoterV2:"0x61fFE014bA17989E743c5F6cB21bF9697530B21e",chainIds:[1],feeTiers:[100,500,3e3,1e4],hubCurrencies:["0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"]},ia={name:"Uniswap v3",swapRouter:"0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",quoterV2:"0x61fFE014bA17989E743c5F6cB21bF9697530B21e",chainIds:[42161],feeTiers:[100,500,3e3,1e4],hubCurrencies:["0x82aF49447D8a07e3bd95BD0d56f35241523fBab1","0xaf88d065e77c8cC2239327C5EDb3A432268e5831"]},Tc={name:"Uniswap v3",swapRouter:"0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",quoterV2:"0x61fFE014bA17989E743c5F6cB21bF9697530B21e",chainIds:[137],feeTiers:[100,500,3e3,1e4],hubCurrencies:["0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270","0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359"]},Bc={name:"Uniswap v3",swapRouter:"0xB971eF87ede563556b2ED4b1C0b0019111Dd85d2",quoterV2:"0x78D78E420Da98ad378D7799bE8f4AF69033EB077",chainIds:[56],feeTiers:[100,500,3e3,1e4],hubCurrencies:["0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c","0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d"]},Rc={name:"Uniswap v3",swapRouter:"0xfe31f71c1b106eac32f1a19239c9a9a72ddfb900",quoterV2:"0x661e93cca42afacb172121ef892830ca3b70f08d",chainIds:[143],feeTiers:[100,500,3e3,1e4],hubCurrencies:["0x3bd359C1119dA7Da1D913D1C4D2B7c461115433A","0x754704Bc059F8C67012fEd69BC8A327a5aafb603"]},la={name:"Uniswap v3",swapRouter:"0xcaf681a66d020601342297493863e78c959e5cb2",quoterV2:"0x33e885ed0ec9bf04ecfb19341582aadcb4c8a9e7",chainIds:[4663],feeTiers:[100,500,3e3,1e4],hubCurrencies:["0x0bd7d308f8e1639fab988df18a8011f41eacad73","0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168"]},ca={name:"SushiSwap",swapRouter:"0x1e406484F1F204b23cE84B9901C0171a738fd406",quoterV2:"0x3E290e5E01818002A0b672148BdC7514D861C7B3",chainIds:[4663],feeTiers:[100,500,3e3,1e4],hubCurrencies:["0x0bd7d308f8e1639fab988df18a8011f41eacad73","0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168"],routerHasDeadline:!0},da=T.parseAbi(["function exactInput((bytes path, address recipient, uint256 amountIn, uint256 amountOutMinimum) params) payable returns (uint256 amountOut)"]),ua=T.parseAbi(["function exactInputSingle((address tokenIn, address tokenOut, uint24 fee, address recipient, uint256 deadline, uint256 amountIn, uint256 amountOutMinimum, uint160 sqrtPriceLimitX96) params) payable returns (uint256 amountOut)","function exactInput((bytes path, address recipient, uint256 deadline, uint256 amountIn, uint256 amountOutMinimum) params) payable returns (uint256 amountOut)"]),jc=T.parseAbi(["function exactInput((bytes path, address recipient, uint256 deadline, uint256 amountIn, uint256 amountOutMinimum) params) payable returns (uint256 amountOut)"]),Dc=T.parseAbi(["function exactOutput((bytes path, address recipient, uint256 deadline, uint256 amountOut, uint256 amountInMaximum) params) payable returns (uint256 amountIn)"]),Oo=1800,pa=[1,50,100,200,2e3],Qs={name:"Aerodrome",swapRouter:"0xcbBb8035cAc7D4B3Ca7aBb74cF7BdF900215Ce0D",quoterV2:"0x3d4C22254F86f64B7eC90ab8F7aeC1FBFD271c6C",chainIds:[8453],hubCurrencies:["0x4200000000000000000000000000000000000006","0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]};function Gs(e){const t=e.name??"Aerodrome",n=e.chainIds??[8453],s=e.tickSpacings??pa;return{name:t,chainIds:n,resolve:async(o,r,a)=>{if(S.isNativeToken(o.tokenIn)||S.isNativeToken(o.tokenOut))return null;const l=o.maxSlippage??ms,c=[...s.map(x=>T.encodePacked(["address","uint24","address"],[o.tokenIn,x,o.tokenOut])),...Vs(o.tokenIn,o.tokenOut,e.hubCurrencies??[],s,"in")],d={quoterV2:e.quoterV2},m=await Promise.allSettled(c.map(async x=>({path:x,amountOut:(await fs(r,d,x,o.amountIn,"in")).amount})));let f=null;for(const x of m)x.status==="fulfilled"&&(!f||x.value.amountOut>f.amountOut)&&(f=x.value);if(!f)return console.warn(`[AerodromeVenue] No viable route for ${o.tokenIn} \u2192 ${o.tokenOut} on chain ${r}.`),null;const h=jo(f.amountOut,l),w=BigInt(Math.floor(Date.now()/1e3)+Oo),g=T.encodeFunctionData({abi:jc,functionName:"exactInput",args:[{path:f.path,recipient:a,deadline:w,amountIn:o.amountIn,amountOutMinimum:h}]}),y=[{to:o.tokenIn,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"approve",args:[e.swapRouter,o.amountIn]})},{to:e.swapRouter,value:0n,data:g}];return{venue:t,amountOut:f.amountOut,amountOutMinimum:h,calls:y}}}}function fa(e){const t=e.name??"Aerodrome",n=e.chainIds??[8453],s=e.tickSpacings??pa;return{name:t,chainIds:n,resolve:async(o,r,a)=>{if(S.isNativeToken(o.tokenIn)||S.isNativeToken(o.tokenOut))return null;const l=o.maxSlippage??ms,c=[...s.map(y=>T.encodePacked(["address","uint24","address"],[o.tokenOut,y,o.tokenIn])),...Vs(o.tokenIn,o.tokenOut,e.hubCurrencies??[],s,"out")],d={quoterV2:e.quoterV2},m=await Promise.allSettled(c.map(async y=>({path:y,amountIn:(await fs(r,d,y,o.amountOut,"out")).amount})));let f=null;for(const y of m)y.status==="fulfilled"&&(!f||y.value.amountIn<f.amountIn)&&(f=y.value);if(!f)return console.warn(`[AerodromeExactOutputVenue] No viable route for ${o.tokenIn} \u2192 ${o.tokenOut} on chain ${r}.`),null;const h=BigInt(Math.round(l*1e4)),w=f.amountIn+f.amountIn*h/10000n,g=BigInt(Math.floor(Date.now()/1e3)+Oo);return{venue:t,amountIn:f.amountIn,amountInMax:w,amountOut:o.amountOut,calls:[{to:e.swapRouter,value:0n,data:T.encodeFunctionData({abi:Dc,functionName:"exactOutput",args:[{path:f.path,recipient:a,deadline:g,amountOut:o.amountOut,amountInMaximum:w}]})}]}}}}function hs(e){const t=e.name??"Uniswap v3",n=e.chainIds??oa;return{name:t,chainIds:n,resolve:async(s,o,r,a)=>{if(S.isNativeToken(s.tokenIn)||S.isNativeToken(s.tokenOut))return null;const l=s.maxSlippage??ms;let c;try{let g;if(a){if(a.venue!==t)return null;const y=a.calls.find(b=>b.to.toLowerCase()===e.swapRouter.toLowerCase());if(!y)return null;const x=T.decodeFunctionData({abi:e.routerHasDeadline?ua:[...da,...S.uniV3SwapRouterAbi],data:y.data});if(x.functionName==="exactInput"){const{path:b}=x.args[0];if(b.slice(0,42).toLowerCase()!==s.tokenIn.toLowerCase()||`0x${b.slice(-40)}`.toLowerCase()!==s.tokenOut.toLowerCase())return null;g={path:b,fee:0}}else if(x.functionName==="exactInputSingle"){const{tokenIn:b,tokenOut:v,fee:C}=x.args[0];if(b.toLowerCase()!==s.tokenIn.toLowerCase()||v.toLowerCase()!==s.tokenOut.toLowerCase())return null;g={fee:C}}else return null}c=g?.path?{...g,amountOut:(await fs(o,e,g.path,s.amountIn,"in")).amount}:await na({tokenIn:s.tokenIn,tokenOut:s.tokenOut,amountIn:s.amountIn,chainId:o,config:{swapRouter:e.swapRouter,quoterV2:e.quoterV2},feeTiers:g?[g.fee]:e.feeTiers,hubs:g?[]:[...e.hubCurrencies??[],...e.hubPaths??[]]})}catch{return console.warn(`[UniV3Venue] No viable route for ${s.tokenIn} \u2192 ${s.tokenOut} on chain ${o}.`),null}const d=jo(c.amountOut,l),m=e.routerHasDeadline?{deadline:BigInt(Math.floor(Date.now()/1e3)+Oo)}:{},f=e.routerHasDeadline?ua:c.path?da:S.uniV3SwapRouterAbi,h=c.path?T.encodeFunctionData({abi:f,functionName:"exactInput",args:[{path:c.path,recipient:r,...m,amountIn:s.amountIn,amountOutMinimum:d}]}):T.encodeFunctionData({abi:f,functionName:"exactInputSingle",args:[{tokenIn:s.tokenIn,tokenOut:s.tokenOut,fee:c.fee,recipient:r,...m,amountIn:s.amountIn,amountOutMinimum:d,sqrtPriceLimitX96:0n}]}),w=[{to:s.tokenIn,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"approve",args:[e.swapRouter,s.amountIn]})},{to:e.swapRouter,value:0n,data:h}];return{venue:t,amountOut:c.amountOut,amountOutMinimum:d,calls:w}}}}function No(e){const t=e.name??"Uniswap v3",n=e.chainIds??oa;return{name:t,chainIds:n,resolve:async(s,o,r)=>{if(S.isNativeToken(s.tokenIn)||S.isNativeToken(s.tokenOut))return null;const a=s.maxSlippage??ms;let l;try{l=await sa({tokenIn:s.tokenIn,tokenOut:s.tokenOut,amountOut:s.amountOut,chainId:o,config:{swapRouter:e.swapRouter,quoterV2:e.quoterV2},feeTiers:e.feeTiers,hubs:[...e.hubCurrencies??[],...e.hubPaths??[]]})}catch{return null}const c=BigInt(Math.round(a*1e4)),d=l.amountIn+l.amountIn*c/10000n;return{venue:t,amountIn:l.amountIn,amountInMax:d,amountOut:s.amountOut,calls:[ta({config:{swapRouter:e.swapRouter,quoterV2:e.quoterV2},routerHasDeadline:e.routerHasDeadline,route:l,tokenIn:s.tokenIn,tokenOut:s.tokenOut,recipient:r,amountOut:s.amountOut,amountInMaximum:d})]}}}}function ma(e){const t=[];e?.customVenues&&t.push(...e.customVenues),e?.satsuma&&t.push(hs(e.satsuma)),e?.aerodrome!==!1&&t.push(Gs(e?.aerodrome??Qs)),t.push(Fc(e?.oneInch));const n=t.map(gc);function s(a){return n.find(l=>l.chainIds.includes(a))}async function o(a,l,c,d){const m=n.filter(g=>g.chainIds.includes(l));if(m.length===0)throw new u.SpiceflowError("NO_VENUE_FOR_CHAIN",`No liquidity venue configured for chain ${l}. Cannot resolve swap ${a.tokenIn} \u2192 ${a.tokenOut}.`,{chainId:l,tokenIn:a.tokenIn,tokenOut:a.tokenOut,amountIn:a.amountIn.toString()});const f=await Promise.allSettled(m.map(g=>g.resolve(a,l,c,d)));let h=null;for(const g of f)d&&g.status==="fulfilled"&&g.value&&(g.value.venue!==d.venue||g.value.calls.length!==d.calls.length||g.value.calls.some((y,x)=>y.to.toLowerCase()!==d.calls[x].to.toLowerCase()||y.data.slice(0,10)!==d.calls[x].data.slice(0,10)))||g.status==="fulfilled"&&g.value&&(!h||g.value.amountOut>h.amountOut)&&(h=g.value);if(h)return h;const w=f.find(g=>g.status==="rejected");if(w)throw w.reason;return null}async function r(a,l,c){const d=[],m=[];for(const f of a){if(!Ic(f)){d.push(f);continue}const h=await o(f,l,c);if(!h)throw new u.SpiceflowError("NO_LIQUIDITY",`No venue returned a quote for ${f.tokenIn} \u2192 ${f.tokenOut} on chain ${l}.`,{chainId:l,tokenIn:f.tokenIn,tokenOut:f.tokenOut,amountIn:f.amountIn.toString()});d.push(...h.calls),m.push(h)}return{calls:d,resolvedSwaps:m}}return{resolveSwapIntents:r,resolveSwap:o,getVenueForChain:s,venues:t}}const mn="0x0000000000000000000000000000000000000000",Po=[{fee:100,tickSpacing:1},{fee:500,tickSpacing:10},{fee:3e3,tickSpacing:60},{fee:1e4,tickSpacing:200}],ha=mn,ga=.02,Oc=1800,xa={name:"Uniswap v4",quoter:"0x0d5e0f971ed27fbff6c2837bf31316121532048d",universalRouter:"0x6ff5693b99212da76ad316178a184ab56d299b43",permit2:"0x000000000022d473030f116ddee9f6b43ac78ba3",chainIds:[8453],hubCurrencies:["0x4200000000000000000000000000000000000006",mn,"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]},ya={name:"Uniswap v4",quoter:"0x8dc178efb8111bb0973dd9d722ebeff267c98f94",universalRouter:"0x8876789976decbfcbbbe364623c63652db8c0904",permit2:"0x000000000022d473030f116ddee9f6b43ac78ba3",routerHasHopPrice:!0,chainIds:[4663],hubCurrencies:["0x0bd7d308f8e1639fab988df18a8011f41eacad73",mn,"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168"]},wa=T.parseAbi(["struct PoolKey { address currency0; address currency1; uint24 fee; int24 tickSpacing; address hooks; }","struct PathKey { address intermediateCurrency; uint24 fee; int24 tickSpacing; address hooks; bytes hookData; }","struct QuoteExactSingleParams { PoolKey poolKey; bool zeroForOne; uint128 exactAmount; bytes hookData; }","struct QuoteExactParams { address exactCurrency; PathKey[] path; uint128 exactAmount; }","function quoteExactInputSingle(QuoteExactSingleParams params) returns (uint256 amountOut, uint256 gasEstimate)","function quoteExactInput(QuoteExactParams params) returns (uint256 amountOut, uint256 gasEstimate)","function quoteExactOutputSingle(QuoteExactSingleParams params) returns (uint256 amountIn, uint256 gasEstimate)","function quoteExactOutput(QuoteExactParams params) returns (uint256 amountIn, uint256 gasEstimate)"]),Nc=T.parseAbi(["function approve(address token, address spender, uint160 amount, uint48 expiration)"]),Pc=T.parseAbi(["function execute(bytes commands, bytes[] inputs, uint256 deadline) payable"]),ba="0x10",Mc="04",Uc="06",Wc="07",Lc="08",qc="09",Ks="0c",Zs="0e",zc=[{name:"currency0",type:"address"},{name:"currency1",type:"address"},{name:"fee",type:"uint24"},{name:"tickSpacing",type:"int24"},{name:"hooks",type:"address"}],Hc=[{name:"intermediateCurrency",type:"address"},{name:"fee",type:"uint24"},{name:"tickSpacing",type:"int24"},{name:"hooks",type:"address"},{name:"hookData",type:"bytes"}],kn=(e,t)=>e.toLowerCase()===t.toLowerCase();function Ys(e){return S.isNativeToken(e)?mn:e}function Vc(e,t){return e.toLowerCase()<t.toLowerCase()?[e,t]:[t,e]}function va(e,t,n,s,o){const r=[],[a,l]=Vc(e,t);for(const{fee:d,tickSpacing:m}of Po)r.push({kind:"single",poolKey:{currency0:a,currency1:l,fee:d,tickSpacing:m,hooks:ha},zeroForOne:kn(e,a)});const c=(d,m)=>!!o&&(kn(d,mn)&&kn(m,o)||kn(d,o)&&kn(m,mn));for(const d of n)if(!(kn(d,e)||kn(d,t))&&!(c(d,e)||c(d,t)))for(const m of Po)for(const f of Po){const h=(w,g)=>({intermediateCurrency:w,fee:g.fee,tickSpacing:g.tickSpacing,hooks:ha,hookData:"0x"});r.push({kind:"multi",path:s==="in"?[h(d,m),h(t,f)]:[h(e,m),h(d,f)]})}return r}async function Ca(e,t,n,s,o,r){const a=u.getClientForChain(e),l=(await Promise.allSettled(n.map(async c=>{const{result:d}=c.kind==="single"?await a.simulateContract({address:t.quoter,abi:wa,functionName:r==="in"?"quoteExactInputSingle":"quoteExactOutputSingle",args:[{poolKey:c.poolKey,zeroForOne:c.zeroForOne,exactAmount:o,hookData:"0x"}]}):await a.simulateContract({address:t.quoter,abi:wa,functionName:r==="in"?"quoteExactInput":"quoteExactOutput",args:[{exactCurrency:s,path:c.path,exactAmount:o}]}),m=d[0];if(m<=0n)throw new Error("zero quote");return{candidate:c,amount:m}}))).filter(c=>c.status==="fulfilled").map(c=>c.value);return l.length===0?null:(l.sort((c,d)=>c.amount<d.amount?-1:c.amount>d.amount?1:0),r==="in"?l[l.length-1]:l[0])}function ka(e){const{candidate:t,direction:n,currencyIn:s,currencyOut:o,recipient:r,exactAmount:a,limitAmount:l,deadline:c,routerHasHopPrice:d,sweepNativeTo:m}=e;let f,h;t.kind==="single"?(f=n==="in"?`0x${Uc}${Ks}${Zs}`:`0x${Lc}${Ks}${Zs}`,h=T.encodeAbiParameters([{type:"tuple",components:[{name:"poolKey",type:"tuple",components:zc},{name:"zeroForOne",type:"bool"},{name:n==="in"?"amountIn":"amountOut",type:"uint128"},{name:n==="in"?"amountOutMinimum":"amountInMaximum",type:"uint128"},...d?[{name:"minHopPriceX36",type:"uint256"}]:[],{name:"hookData",type:"bytes"}]}],[{poolKey:t.poolKey,zeroForOne:t.zeroForOne,[n==="in"?"amountIn":"amountOut"]:a,[n==="in"?"amountOutMinimum":"amountInMaximum"]:l,...d?{minHopPriceX36:0n}:{},hookData:"0x"}])):(f=n==="in"?`0x${Wc}${Ks}${Zs}`:`0x${qc}${Ks}${Zs}`,h=T.encodeAbiParameters([{type:"tuple",components:[{name:n==="in"?"currencyIn":"currencyOut",type:"address"},{name:"path",type:"tuple[]",components:Hc},...d?[{name:"minHopPriceX36",type:"uint256[]"}]:[],{name:n==="in"?"amountIn":"amountOut",type:"uint128"},{name:n==="in"?"amountOutMinimum":"amountInMaximum",type:"uint128"}]}],[{[n==="in"?"currencyIn":"currencyOut"]:n==="in"?s:o,path:t.path,...d?{minHopPriceX36:[]}:{},[n==="in"?"amountIn":"amountOut"]:a,[n==="in"?"amountOutMinimum":"amountInMaximum"]:l}]));const w=T.encodeAbiParameters([{type:"address"},{type:"uint256"}],[s,n==="in"?a:l]),g=T.encodeAbiParameters([{type:"address"},{type:"address"},{type:"uint256"}],[o,r,0n]),y=T.encodeAbiParameters([{type:"bytes"},{type:"bytes[]"}],[f,[h,w,g]]),x=m?`${ba}${Mc}`:ba,b=m?[y,T.encodeAbiParameters([{type:"address"},{type:"address"},{type:"uint256"}],[mn,m,0n])]:[y];return T.encodeFunctionData({abi:Pc,functionName:"execute",args:[x,b,c]})}function Sa(){return BigInt(Math.floor(Date.now()/1e3)+Oc)}function Ia(e,t,n,s){return{to:e.permit2,value:0n,data:T.encodeFunctionData({abi:Nc,functionName:"approve",args:[t,e.universalRouter,n,Number(s)]})}}function Aa(e){const t=e.name??"Uniswap v4",n=e.v3?hs({...e.v3,chainIds:e.chainIds}):null;return{name:t,chainIds:e.chainIds,resolve:async(s,o,r)=>{const a=s.maxSlippage??ga,l=Ys(s.tokenIn),c=Ys(s.tokenOut),d=S.isNativeToken(s.tokenIn),m=e.hubCurrencies??[mn];let f=null;if(!kn(l,c)&&s.amountIn>0n){const h=await Ca(o,e,va(l,c,m,"in",Fo(o)),l,s.amountIn,"in").catch(()=>null);if(h){const w=S.applySlippage(h.amount,a),g=Sa(),y=[];d||(y.push({to:s.tokenIn,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"approve",args:[e.permit2,s.amountIn]})}),y.push(Ia(e,s.tokenIn,s.amountIn,g))),y.push({to:e.universalRouter,value:d?s.amountIn:0n,data:ka({candidate:h.candidate,direction:"in",currencyIn:l,currencyOut:c,recipient:r,exactAmount:s.amountIn,limitAmount:w,deadline:g,routerHasHopPrice:e.routerHasHopPrice})}),f={venue:t,amountOut:h.amount,amountOutMinimum:w,calls:y}}}return!f&&n?n.resolve(s,o,r):f}}}function Ea(e){const t=e.name??"Uniswap v4";return{name:t,chainIds:e.chainIds,resolve:async(n,s,o)=>{const r=S.isNativeToken(n.tokenIn),a=Ys(n.tokenIn),l=Ys(n.tokenOut);if(kn(a,l)||n.amountOut<=0n)return null;const c=n.maxSlippage??ga,d=e.hubCurrencies??[mn],m=await Ca(s,e,va(a,l,d,"out",Fo(s)),l,n.amountOut,"out").catch(()=>null);if(!m)return null;const f=BigInt(Math.round(c*1e4)),h=m.amount+m.amount*f/10000n,w=Sa();return{venue:t,amountIn:m.amount,amountInMax:h,amountOut:n.amountOut,calls:[...r?[]:[Ia(e,n.tokenIn,h,w)],{to:e.universalRouter,value:r?h:0n,data:ka({candidate:m.candidate,direction:"out",currencyIn:a,currencyOut:l,recipient:o,exactAmount:n.amountOut,limitAmount:h,deadline:w,routerHasHopPrice:e.routerHasHopPrice,sweepNativeTo:r?o:void 0})}]}}}}const Mo=[{...Do,protocol:"uniswap-v3",chainId:4114},{...Do,protocol:"uniswap-v3",chainId:5115},{...ra,protocol:"uniswap-v3",chainId:8453},{...aa,protocol:"uniswap-v3",chainId:1},{...ia,protocol:"uniswap-v3",chainId:42161},{...Tc,protocol:"uniswap-v3",chainId:137},{...Bc,protocol:"uniswap-v3",chainId:56},{...Rc,protocol:"uniswap-v3",chainId:143},{...la,protocol:"uniswap-v3",chainId:4663},{...ca,protocol:"uniswap-v3",chainId:4663},{...xa,protocol:"uniswap-v4",chainId:8453},{...ya,protocol:"uniswap-v4",chainId:4663},{...Qs,protocol:"aerodrome-slipstream",chainId:8453}];function Mn(e){const t=e?.includeDefaults===!1?e.venues??[]:[...Mo,...e?.venues??[]],n=[],s=[];for(const o of t){const r=[o.chainId];switch(o.protocol){case"uniswap-v3":{const a={...o,chainIds:r};n.push(hs(a)),s.push(No(a));break}case"uniswap-v4":{const a={...o,chainIds:r};n.push(Aa(a)),s.push(Ea(a));break}case"aerodrome-slipstream":{const a={...o,chainIds:r};n.push(Gs(a)),s.push(fa(a));break}default:{const a=o;throw new u.SpiceflowError("INVALID_PARAMS",`Unsupported liquidity venue protocol: ${a.protocol}`,{protocol:a.protocol})}}}return{input:n,output:s}}const Uo=new Set(["WBTC","CBTC"]),Fa=new Set(["btc","wbtc","wcbtc","cbtc"]);function Ta(e,t){return!e||!t?!1:e===t?!0:Uo.has(e)&&Uo.has(t)}function hn(e){const[t,n,s]=e.split(":");if(t!=="evm"||!n||!s)return null;const o=Number(n);if(!Number.isFinite(o))return null;const r=s.startsWith("0x")?s.toLowerCase():`0x${s.toLowerCase()}`;return{chainId:o,address:r}}function Xs(e){return(e??"").trim().replace(/^test\s+/i,"").replace(/^spice/i,"").toLowerCase().replace(/[^a-z0-9]/g,"")}function Qc(e){return new Set([e.receiptTokenName,e.displaySymbol,e.symbol,e.displayName,e.name].map(Xs).filter(Boolean))}function Gc(e,t){const n=Qc(e),s=[t.symbol,t.name,t.equivalenceGroup].map(Xs);if(s.some(a=>a&&n.has(a)))return!0;const o=[...n].some(a=>Fa.has(a)),r=s.some(a=>Fa.has(a))||Uo.has(t.equivalenceGroup??"");return o&&r}function Ba(e,t,n){const s=new Set(t.map(Xs).filter(Boolean)),o=r=>{if(n&&u.addressesEqual(r.address,n))return 0;const a=[r.symbol,r.name,r.equivalenceGroup].map(Xs).findIndex(l=>l&&s.has(l));return a===-1?4:a+1};return[...e].sort((r,a)=>{const l=o(r)-o(a);return l!==0?l:r.address.toLowerCase().localeCompare(a.address.toLowerCase())})}function Kn(e,t){const n=e.chainTokens?Object.keys(e.chainTokens):[],s=[];for(const o of n){const r=hn(o);if(!r||r.chainId!==t)continue;const a=r.address,l=S.isNativeToken(a)?u.getChainConfig(t)?.nativeCurrency:void 0,c=S.getTokenByAddress(a,t)??(l?{...l}:void 0);c&&(!Wo(e,a,t)&&!(e.isUniversal&&Gc(e,c))||s.some(d=>u.addressesEqual(d,a))||s.push(a))}return Ba(s.map(o=>{const r=S.getTokenByAddress(o,t);return{address:o,symbol:r?.symbol,name:r?.name,equivalenceGroup:r?.equivalenceGroup}}),[e.receiptTokenName,e.displaySymbol,e.symbol,e.displayName,e.name],e.chainId===t&&!e.isUniversal?e.address:void 0).map(o=>o.address)}function Wo(e,t,n){return e.chainId===n&&u.addressesEqual(e.address,t)?!0:gs(e.address,e.chainId,t,n)}async function Kc(e,t){const n=u.getClientForChain(e),s=S.getEscrowContractAddress(e);return S.isNativeToken(t)?n.getBalance({address:s}):await n.readContract({address:t,abi:T.erc20Abi,functionName:"balanceOf",args:[s]})}function Lo(e,t,n){const s=S.getTokensForChain(n),o=s.find(a=>u.addressesEqual(a.address,e));if(o&&(t===n||!S.isNativeToken(e)))return o;const r=S.getTokenByAddress(e,t);if(r)return Ba(s.filter(a=>Ta(a.equivalenceGroup,r.equivalenceGroup)),[r.symbol,r.name,r.equivalenceGroup])[0]}function Js(e){return e.equivalenceGroup==="USDC"&&e.symbol.toUpperCase()!=="USDT"}function Ra(e){const t=S.getEscrowContract(e);if(!t||t===S.ZERO_ADDRESS)return;const n=S.getTokensForChain(e).filter(Js);return n.find(s=>s.symbol.toUpperCase()==="USDC")??n[0]}function qo(e,t){if(e.chainId===t)return null;const n=S.getEscrowContract(e.chainId),s=S.getEscrowContract(t);if(!n||n===S.ZERO_ADDRESS||!s||s===S.ZERO_ADDRESS)return null;const o=!e.isNative&&!S.isNativeToken(e.address)?S.getTokenByAddress(e.address,e.chainId):void 0,r=o&&Js(o)?Lo(e.address,e.chainId,t):void 0,a=r?o:Ra(e.chainId),l=r??Ra(t);if(!a||!l)return null;const c=d=>({address:d.address,symbol:d.symbol,decimals:d.decimals,chainId:d.chainId});return{source:c(a),destination:c(l)}}function Zc(e,t){return!!qo(e,t)}function rn(e,t){if(e.chainId===t)return e.address;const n=Lo(e.address,e.chainId,t);return n?n.address:null}async function Sn(e,t,n,s){const o=S.getTokenByAddress(t,n);return o?o.decimals:e?.chainId===n&&u.addressesEqual(e.address,t)&&!e.isUniversal?e.decimals:s?.chainId===n&&u.addressesEqual(s.address,t)?s.decimals:u.getTokenDecimals(n,t)}async function ja(e,t,n={}){const s=rn(e,t),o=Kn(e,t);if(o.length===0)return s;if(o.length===1)return o[0];const r=n.requiredAmount??0n,a=l=>{const c=o.map(d=>({candidate:d,balance:l.get(S.isNativeToken(d)?"native":d.toLowerCase())??0n})).filter(d=>d.balance>0n).sort((d,m)=>d.balance===m.balance?0:d.balance>m.balance?-1:1);return c.length===0?null:((r>0n?c.find(d=>d.balance>=r):c[0])??c[0]).candidate};try{const l=await Promise.all(o.map(async m=>({key:S.isNativeToken(m)?"native":m.toLowerCase(),value:await Kc(t,m)}))),c=new Map(l.map(({key:m,value:f})=>[m,f])),d=a(c);if(d)return d}catch{}return s}function gs(e,t,n,s){const o=S.getTokenByAddress(e,t),r=S.getTokenByAddress(n,s);return o&&r?Ta(o.equivalenceGroup,r.equivalenceGroup):S.areEquivalent(e,n)}function $s(e,t){return gs(e.address,e.chainId,t.address,t.chainId)}const Da=.01;function Oa(e,t=!1){const n=Number.isFinite(e.balanceUsd)&&e.balanceUsd>0;return e.isDiscovered?n&&e.balanceUsd>=Da:!t||!n||e.balanceUsd>=Da}function _s(e,t=!1){return!!e&&e._source==="wallet"&&(e.location==="external"||e._fundingWallet==="external"||!e.location&&!e._fundingWallet&&t)}function xe(e){return e.positionId??`${e.owner?.toLowerCase()??""}:${e.location??e._source??""}:${e.chainId}:${e.receiptTokenId??S.normalizeNativeTokenAddress(e.address).toLowerCase()}`}function Na(e,t){if(!t?.length||e.symbol!==void 0&&u.isAssetAllowed({...e,symbol:e.symbol},t))return!0;const n=s=>t.some(o=>u.addressesEqual(S.normalizeNativeTokenAddress(o),S.normalizeNativeTokenAddress(s)));return n(e.address)||Object.keys(e.chainTokens??{}).some(s=>{const o=hn(s);return o?n(o.address):!1})}function Tn(e,t,n,s,o,r){const a=(y,x=!1)=>({eligible:!1,reason:y,policyExcluded:x}),l=e._source==="wallet"||e.location==="external"||e.location==="embedded",c=t==="spend-source"&&l&&!!s&&e.chainId===s.chainId&&u.addressesEqual(S.normalizeNativeTokenAddress(e.address),S.normalizeNativeTokenAddress(s.address));if(n.isWhitelistGateActive||!c&&!u.isAssetAllowed(e,n.allowedTokens))return a("Asset excluded by client policy",!0);if(t!=="withdraw-destination"&&!c&&!Oa(e))return a("Asset is unpriced or below the minimum value",!0);if(t==="holding")return{eligible:!0,reason:null};if(e.balanceError)return a(e.balanceError);if(!c&&!Na(e,o))return a("Asset excluded by action policy",!0);const d=new Set(s?[s.chainId]:[]);e._source!=="spice"&&e.location!=="rollup"&&d.add(e.chainId);for(const y of d)if(!u.getRpcUrlForChain(y,n.rpcOverrides)?.trim())return a(`Configure SpiceFlowProvider rpcOverrides[${y}] before using this asset.`);if(r?.requiresEscrow){const y=S.getTokenByAddress(e.address,e.chainId);if(!y||!Js(y))return a("This asset has no supported escrow mapping")}if(!s)return{eligible:!0,reason:null};const m=n.liquidityVenues?.includeDefaults===!1?n.liquidityVenues.venues??[]:[...Mo,...n.liquidityVenues?.venues??[]],f=y=>m.some(x=>x.chainId===y),h=l&&e.chainId!==s.chainId,w=h?qo(e,s.chainId):null;if(h&&!w)return a("No supported source route");if(w&&!u.addressesEqual(S.normalizeNativeTokenAddress(e.address),S.normalizeNativeTokenAddress(w.source.address))&&!f(e.chainId))return a("No conversion venue configured on the source chain");const g=w?.destination.address??rn(e,s.chainId);return t==="withdraw-destination"?(e.chainTokens||e.receiptTokenId?Kn(e,s.chainId):g?[g]:[]).some(y=>u.addressesEqual(S.normalizeNativeTokenAddress(y),S.normalizeNativeTokenAddress(s.address)))?{eligible:!0,reason:null}:a("No supported withdrawal mapping"):g&&u.addressesEqual(S.normalizeNativeTokenAddress(g),S.normalizeNativeTokenAddress(s.address))?{eligible:!0,reason:null}:!g&&!Zc(e,s.chainId)?a("No supported destination route"):f(s.chainId)?{eligible:!0,reason:null}:a("No conversion venue configured on the destination chain")}function eo(){const e=p.useContext(u.SpiceFlowProviderContext),[t]=p.useState(u.createInventoryStore);return e?.inventory??t}function zo(e,t,n,s,o){const r=eo(),a=o??r,l=p.useMemo(()=>a.entry(e),[a,e]),[,c]=p.useState(0);p.useEffect(()=>{if(n)return l.subscribe(()=>c(m=>m+1),t,s)},[l,n,t,s]);const d=p.useCallback(()=>l.refresh(),[l]);return{...n?l.snapshot():u.EMPTY_INVENTORY,refresh:d}}var Pa="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAA6lBMVEXc3NzX/v/1hRvZ2dnd3dzb29va7fpMaXHa1tPc3N35/v/c3Nzc3NzCrp/c3Nza2tp1PRbLsJzlr33uhSj0kTHcnWnUva7jdhuNX0B6Qhrsk0LOxMCFVDJ+RyGhfGTkeiGYVSHjdx3lij7khDPEsaPfoW/jgjLQuKXmgzB2PRb2hRvldhvjdRv4hhvpeRtwORb/ihryghvabhnsehrUaRjLXxXtfRt7PxXwexricRbRYhURFBeSTBe0XBrEZxmDRxiiVRrlgCbfzMAvLCmrWBgbMEh9UjBbOBe2pJi9byekk4nkgDHkgDJLNB7jlKArAAAAKXRSTlMzJv0TNSYsADUxKBwK/QUZ/URTx650/vqJ5YpMosxj3ezwkqa6/q3KrihQ98kAAAAJcEhZcwAACxMAAAsTAQCanBgAAATxSURBVHjapVeJcuI4EJXBdiRuw4JzDAFyzeIT22BsNgTIJNnM7Pz/90xLsmV5ChJm6SqqZOR+7teXWujsgLSqdU0jBCFCNK1ebR16D+39t1HXiKqqGDHBsCRavXEsQKutIVWln0aZ0BX8o7VbRwC06gS+LHQLIWAJqbc+A6iC+h7t3BCVVD8EaGgqOqSemaFqjcMA8PkP1RnEb0bIAPXD1peNqO8H0NQj1LkR2j6Ao/XLCOh/6JcQkOD/B/oUoV4GqGb6+HNdnCFUZYBG9nmsE/whBsZE5y9g0pAAcgcQQ1V0fAgDNnRFNQiW3cAA2lwfI3wxvunqyl4z4OOK3r0ZX2CUIbRzgFZOoHY9nW7NXt9QdFTGgCddMfq9cDudXteyLdLKAPII4NqXZcffzIPJQx8zDCFgev9hksw3fmf5pYalSCDJAGAw7Uz9zkuU2CNKRQiYPrIT76Xjwws5B/BjiwG0hQHAgIr/GHpeYvb+EtIzI88LH32+fy1MaDMAKOGCAU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Xi7JaaxYo9Oj4UQ0lrHCGdN25ceiEfNoZSfIomjhcKN26DarT0q4gaiyfe2C9u9hWNUBvRghbG+yd1AZNFFrjmu+ucXMF2j60OObE7f0m+mrv/5qQkimpO+IU8fKXQ9bDMe/5oPl81P3BsP183EeGu3GoLBw/WHnuLF20sXQ9X/ueL57PV99w+Z7P5Vvj8j3fXr7j9X/f/5Vsrv9/K3NM7mGXOq0AAAAASUVORK5CYII=",xs="data:image/svg+xml,%3csvg width='8' height='11' viewBox='57 6 8 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M62.7081 13.27C62.742 13.27 62.7642 13.3057 62.7491 13.3362V13.336L61.1229 16.6083C61.0892 16.6761 60.9926 16.6759 60.959 16.6083L59.3382 13.336C59.3232 13.3057 59.3453 13.27 59.3792 13.27H62.7081Z' fill='%23EA4B4B'/%3e %3cpath d='M61.0026 9.71913C61.0194 9.68524 61.0678 9.68524 61.0845 9.71913L62.747 13.0897C62.762 13.12 62.7399 13.1557 62.706 13.1557H59.3763C59.3424 13.1557 59.3203 13.12 59.3353 13.0897L61.0026 9.71913Z' fill='%23EA4B4B'/%3e %3cpath d='M60.8426 9.63827C60.8766 9.63827 60.8987 9.6741 60.8835 9.70444L59.2164 13.0594C59.1995 13.0932 59.1513 13.0932 59.1345 13.0594L57.5001 9.77047C57.47 9.70962 57.5142 9.63827 57.5821 9.63827H60.8426Z' fill='%23EA4B4B'/%3e %3cpath d='M64.5036 9.63617C64.5715 9.63618 64.6157 9.70753 64.5855 9.76838H64.5854L62.9512 13.0573C62.9344 13.0911 62.8862 13.0912 62.8692 13.0573L61.2021 9.70235C61.187 9.672 61.2091 9.63617 61.2431 9.63617H64.5036Z' fill='%23EA4B4B'/%3e %3cpath d='M62.8284 6.18281C62.862 6.11518 62.9586 6.11518 62.9922 6.18281L64.5855 9.38969C64.6157 9.45054 64.5715 9.52189 64.5036 9.52189H61.2431C61.2091 9.52189 61.187 9.48605 61.2021 9.45571L62.8283 6.18265L62.8284 6.18281Z' fill='%23EA4B4B'/%3e %3cpath d='M62.3131 6.13196C62.381 6.13196 62.4252 6.20331 62.3951 6.26416C62.154 6.74935 61.9128 7.23455 61.6718 7.71975H61.6716C61.4225 8.22125 61.1733 8.72259 60.9242 9.22409C60.9074 9.25799 60.859 9.25799 60.8422 9.22409L60.6305 8.79587C60.6275 8.78957 60.6259 8.78263 60.6259 8.77553V6.22349C60.6259 6.17297 60.6668 6.13196 60.7173 6.13196H62.3131Z' fill='%23EA4B4B'/%3e%3c/svg%3e";const ys=S.getChainMeta(1)?.logo??"",Jc=S.TOKENS.find(e=>e.symbol==="USDC")?.logo??"",Bn=Object.fromEntries([...S.getMainnetChains(),...S.getTestnetChains()].map(e=>[e.id,e.logo])),ws={metamask:Pa,metaMask:Pa,rabby:Yc,phantom:Xc},Ho=Object.fromEntries(S.TOKENS.map(e=>[e.symbol.toUpperCase(),e.logo])),$c={usdc:[8453,1,42161,5115,4114],usdt:[1],btc:[4114,42161,1,5115],wbtc:[1],weth:[8453,1],eth:[8453,1,42161,4663,84532,46630],ctusd:[5115,4114],wcbtc:[5115,4114]},_c={btc:["wcbtc","cbtc","wbtc"]};function to(e){return e.replace(/^test\s*/i,"").replace(/^spice/i,"").trim()}function In(e){return to(e).toLowerCase()}function Ma(e){return In(e??"").replace(/[^a-z0-9]/g,"")}function Vo(e){const t=In(e);return[t,..._c[t]??[]].filter(Boolean)}function ed(e){try{return BigInt(e.balanceAvailable||"0")}catch{return 0n}}function Ua(e){return Array.isArray(e.chainTokens)?e.chainTokens:Object.keys(e.chainTokens??{})}function Wa(e,t){const n=u.getChainConfig(e),s=t.toLowerCase();return s===S.ZERO_ADDRESS.toLowerCase()?n?.nativeCurrency.decimals??18:n?.supportedTokens?.find(o=>o.address.toLowerCase()===s)?.decimals??18}function td(e,t,n,s=[]){const o=Wa(t,n),r=e.filter(l=>La(l,t,n,s));if(r.length===0)return null;const a=r.reduce((l,c)=>Math.min(l,c.decimals??o),o);return{chainDecimals:o,receiptDecimals:a}}function La(e,t,n,s){if(Ua(e).some(r=>{const a=hn(r);return a&&gs(a.address,a.chainId,n,t)}))return!0;const o=new Set(s.map(Ma).filter(Boolean));return o.size===0?!1:o.has(Ma(e.tokenName||e.receiptToken))}function Qo(e,t,n,s=[]){const o=Wa(t,n);return e.reduce((r,a)=>La(a,t,n,s)?r+S.convertAmountBetweenDecimals(ed(a),a.decimals??o,o):r,0n)}function qa(e,t){const n=new Set([...Vo(t),...Vo(to(t))]);return[...e].sort((s,o)=>{const r=In(s.symbol),a=In(o.symbol),l=In(s.name),c=In(o.name),d=n.has(r)?0:n.has(l)?1:2,m=n.has(a)?0:n.has(c)?1:2;return d!==m?d-m:s.address.toLowerCase().localeCompare(o.address.toLowerCase())})[0]}function nd(e){const t=e&&e.length>0?e:Object.keys(u.CHAIN_CONFIGS).map(Number).filter(Number.isFinite),n=new Map;for(const s of t){const o=u.getChainConfig(s);if(!o)continue;const r=`${s}:${S.ZERO_ADDRESS.toLowerCase()}`;n.has(r)||n.set(r,{address:S.ZERO_ADDRESS,chainId:s,symbol:o.nativeCurrency.symbol,name:o.nativeCurrency.name,decimals:o.nativeCurrency.decimals,isNative:!0,logoURI:Ho[o.nativeCurrency.symbol.toUpperCase()]??o.logo});for(const a of o.supportedTokens??[]){const l=a.address.toLowerCase(),c=`${s}:${l}`;n.has(c)||n.set(c,{address:l,chainId:s,symbol:a.symbol,name:a.name,decimals:a.decimals,isNative:S.isNativeToken(l),logoURI:a.logo})}}return n}function sd(e,t){const n=nd(t),s=to(e.tokenName),o=In(e.tokenName),r=Vo(e.tokenName),a=Array.isArray(e.chainTokens)?e.chainTokens.map(g=>[g,void 0]):Object.entries(e.chainTokens??{}),l=a.map(([g])=>hn(g)).filter(g=>g!==null),c=new Map;for(const[g,y]of a){const x=hn(g);if(!x||!Number.isSafeInteger(x.chainId)||x.chainId<0||!/^evm:[0-9]+:(?:0x)?[0-9a-fA-F]{40}$/.test(g)){if(!Array.isArray(e.chainTokens))throw new Error("Invalid chain token metadata identity");continue}if(y!==void 0&&(!y||typeof y!="object"||Array.isArray(y)||y.name!==void 0&&typeof y.name!="string"||y.decimals!==void 0&&(!Number.isInteger(y.decimals)||y.decimals<0||y.decimals>255)))throw new Error("Invalid chain token metadata");const b=`${x.chainId}:${x.address.toLowerCase()}`;if(c.has(b)){const v=c.get(b);if(v?.name!==y?.name||v?.decimals!==y?.decimals)throw new Error("Conflicting chain token metadata")}c.set(b,y)}const d=(g,y)=>{const x=c.get(`${y.chainId}:${y.address.toLowerCase()}`);return{...g,name:typeof x?.name=="string"&&x.name.length>0?x.name:g.name,decimals:typeof x?.decimals=="number"?x.decimals:g.decimals}},m=l.map(g=>{const y=n.get(`${g.chainId}:${g.address.toLowerCase()}`);return y?d(y,g):void 0}).filter(g=>g!==void 0),f=$c[o]??[];if(f.length>0)for(const g of f){const y=m.filter(x=>x.chainId===g);if(y.length>0)return qa(y,e.tokenName)}if(m.length>0)return qa(m,e.tokenName);const h=Array.from(n.values()).filter(g=>r.includes(In(g.symbol))||r.includes(In(g.name)));if(f.length>0)for(const g of f){const y=h.find(x=>x.chainId===g);if(y)return y}if(h.length>0)return h[0];const w=l[0];if(w){const g=c.get(`${w.chainId}:${w.address.toLowerCase()}`);return{address:w.address,chainId:w.chainId,symbol:s||e.tokenName,name:typeof g?.name=="string"&&g.name.length>0?g.name:s||e.tokenName,decimals:typeof g?.decimals=="number"?g.decimals:e.decimals??18,isNative:S.isNativeToken(w.address),logoURI:void 0}}}function od(e,t){let n;try{n=BigInt(e.balanceAvailable||"0")}catch{return null}if(n<=0n)return null;if(t?.length){const g=Ua(e).map(hn).filter(y=>y!==null);if(g.length>0&&!g.some(y=>t.includes(y.chainId)))return null}let s;try{s=sd(e,t)}catch{return null}const o=s?.decimals??e.decimals??18,r=e.decimals??o,a=S.convertAmountBetweenDecimals(n,r,o),l=s?.address??S.ZERO_ADDRESS,c=s?.chainId??0,d=to(e.tokenName),m=s?.symbol??d,f=s?.name??d,h=parseFloat(T.formatUnits(a,o)),w=typeof e.balanceUsd=="number"?e.balanceUsd:typeof e.balanceUsd=="string"&&Number(e.balanceUsd)||0;return{address:l,symbol:m,name:f,decimals:o,chainId:c,balance:a,balanceFormatted:h,balanceUsd:w,isNative:s?.isNative??S.isNativeToken(l),logoURI:s?.logoURI,displaySymbol:d||m,displayName:d||f,displayChainName:"Spicenet",receiptTokenId:e.receiptToken,receiptTokenName:e.tokenName||f,receiptTokenDecimals:r,chainTokens:e.chainTokens&&!Array.isArray(e.chainTokens)?e.chainTokens:void 0,isUniversal:!0}}const Go=6e4,rd=3e5,za="https://api.g.alchemy.com/prices/v1",Zn=new Map;function Ko(e,t){try{const n=t??u.getClientForChain(e).transport.url;if(typeof n!="string")return null;const{hostname:s,pathname:o}=new URL(n);if(!s.endsWith(".g.alchemy.com"))return null;const r=o.split("/").filter(Boolean).pop();return r?{network:s.slice(0,-14),key:r}:null}catch{return null}}const bs=(e,t)=>`${e.network}:${e.key}:${t.toLowerCase()}`;function vs(e,t){const n=Zn.get(bs(e,t));if(!n?.price||n.updatedAt===void 0)return;const s=Date.now()-n.updatedAt;if(!(s>=rd))return{price:n.price,stale:s>=Go}}function Ha(e){const t=Number(e.prices?.find(n=>n.currency==="usd")?.value);return Number.isFinite(t)&&t>0?t:0}async function Va(e,t,n){const s=[],o=new Set,r=Date.now();for(const a of new Set(t.map(l=>l.toLowerCase()))){const l=Zn.get(bs(e,a));l?.pending?o.add(l.pending):(!l||r-l.attemptedAt>=Go&&(l.updatedAt===void 0||r-l.updatedAt>=Go))&&s.push(a)}for(let a=0;a<s.length;a+=25){const l=s.slice(a,a+25),c=Promise.resolve().then(async()=>{try{const d=await n(l);for(const m of l){const f=d.get(m);if(!f)continue;const h=Zn.get(bs(e,m));h.price=f,h.updatedAt=Date.now()}}catch{}finally{for(const d of l)Zn.get(bs(e,d)).pending=void 0}});for(const d of l){const m=bs(e,d);Zn.set(m,{...Zn.get(m),attemptedAt:r,pending:c})}o.add(c)}await Promise.all(o)}async function Zo(e,t){return await Va(e,t,async n=>{const s=await fetch(`${za}/${e.key}/tokens/by-address`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({addresses:n.map(a=>({network:e.network,address:a}))}),signal:AbortSignal.timeout(1e4)});if(!s.ok)throw new Error("Provider price request failed");const o=await s.json(),r=new Map;for(const a of o?.data??[]){if(a.network&&a.network!==e.network)continue;const l=String(a.address).toLowerCase();n.includes(l)&&r.set(l,Ha(a))}return r}),new Map(t.map(n=>[n.toLowerCase(),vs(e,n)?.price??0]))}async function Yo(e,t){const n=`native:${t}`;return await Va(e,[n],async()=>{const s=await fetch(`${za}/${e.key}/tokens/by-symbol?symbols=${encodeURIComponent(t)}`,{signal:AbortSignal.timeout(1e4)});if(!s.ok)throw new Error("Provider native price request failed");const o=(await s.json())?.data?.find(r=>r.symbol?.toUpperCase()===t.toUpperCase());return new Map([[n.toLowerCase(),o?Ha(o):0]])}),vs(e,n)?.price??0}async function ad(e,t){const n=t.supportedChains,s=e.map(o=>{if(Number.isFinite(o.balanceUsd)&&o.balanceUsd>0)return[];const r=Object.keys(o.chainTokens??{}).map(hn).filter(a=>!!a&&T.isAddress(a.address)&&!!n?.includes(a.chainId));return r.sort((a,l)=>{const c=d=>d===t.nativeChainId?-1:n.indexOf(d);return c(a.chainId)-c(l.chainId)||+!u.addressesEqual(a.address,o.address)-+!u.addressesEqual(l.address,o.address)}),r.flatMap(a=>{const l=t.rpcOverrides?.[a.chainId];if(!l)return[];const c=Ko(a.chainId,l);if(!c)return[];const d=S.isNativeToken(a.address)?u.getChainConfig(a.chainId)?.nativeCurrency.symbol:void 0,m=d?`native:${d}`:a.address;return[{rpc:c,token:m,address:a.address,nativeSymbol:d}]})});return(typeof document>"u"||!document.hidden)&&await Promise.all(s.map(async o=>{for(const r of o)if(r.nativeSymbol?await Yo(r.rpc,r.nativeSymbol).catch(()=>0):(await Zo(r.rpc,[r.address]).catch(()=>new Map)).get(r.address.toLowerCase()))break})),e.map((o,r)=>{if(Number.isFinite(o.balanceUsd)&&o.balanceUsd>0)return o;const a=s[r].map(l=>vs(l.rpc,l.token)).find(Boolean);return{...o,balanceUsd:a?o.balanceFormatted*a.price:0,priceStatus:a?a.stale?"stale":"fresh":"unavailable"}})}function id(e,t,n){const s=p.useContext(u.SpiceFlowProviderContext),[o,r]=p.useState(()=>typeof document>"u"||!document.hidden);p.useEffect(()=>{const m=()=>r(!document.hidden);return document.addEventListener("visibilitychange",m),()=>document.removeEventListener("visibilitychange",m)},[]);const a={supportedChains:n??s?.supportedChainIds,nativeChainId:s?.nativeChainId,rpcOverrides:s?.rpcOverrides},l=JSON.stringify([e,a],(m,f)=>typeof f=="bigint"?f.toString():f),c=p.useCallback(()=>ad(e,a),[l]),d=zo(`prices:${l}`,c,t&&o&&e.length>0,6e4);return d.updatedAt?d.assets:e}function ld(e){const t=e.chainTokens??e.chainTokenConfig;if(Array.isArray(t))return t.filter(n=>typeof n=="string");if(t&&typeof t=="object")return t}const Qa=({address:e,supportedChains:t,enabled:n=!0,refetchInterval:s,priceEnabled:o=!1})=>{const r=p.useContext(u.SpiceFlowProviderContext),a=r?.apiUrl||u.RELAYER_API_URL,l=eo(),c=r?.supportedChainIds??t,d=JSON.stringify([...c??[]].sort((A,E)=>A-E)),m=e?.toLowerCase(),f=p.useCallback(async()=>{const A=await u.relayerFetch(`${a}/wallets/${m}/balance`,{cache:"no-store"});if(!A.ok)throw new Error(`Failed to fetch balance: ${A.status}`);const E=await A.json();if(!Array.isArray(E.balances))throw new Error("Invalid balance response");return E.balances.map(D=>{const R=od({receiptToken:typeof D.receiptToken=="string"?D.receiptToken:void 0,tokenName:String(D.tokenName??""),balanceAvailable:String(D.balanceAvailable??"0"),chainTokens:ld(D),decimals:typeof D.decimals=="number"?D.decimals:void 0,balanceUsd:typeof D.balanceUsd=="number"||typeof D.balanceUsd=="string"?D.balanceUsd:null},c);return R?{...R,owner:m,location:"rollup",_source:"spice",positionId:`${m}:rollup:${R.receiptTokenId??R.address}`}:null}).filter(D=>D!==null)},[m,a,d,r?.nativeChainId,r?.rpcOverrides]),{assets:h,loading:w,refreshing:g,error:y,updatedAt:x}=zo(`rollup:${m}:${a}:${d}`,f,n&&!!m,s??0,l),b=JSON.stringify(t??[]),v=p.useMemo(()=>y?h.map(A=>({...A,balanceError:y,balanceStatus:"stale"})):h,[h,y]),C=id(v,n&&o,c),k=p.useMemo(()=>C.filter(A=>!t?.length||t.includes(A.chainId)||Object.keys(A.chainTokens??{}).some(E=>t.some(D=>E.startsWith(`evm:${D}:`)))),[C,b]),I=p.useCallback(A=>k.filter(E=>E.chainId===A),[k]);return{assets:k,loading:w,error:y,hasBalance:k.some(A=>A.balance>0n),refreshing:g,updatedAt:x,refetch:l.invalidate,getAssetsByChain:I}};async function cd(e,t,n){if(n)return{decimals:n.decimals,symbol:n.symbol,name:n.name,logoURI:n.logo};const[s,o,r]=await Promise.all([un.readContract(e,{address:t,abi:T.erc20Abi,functionName:"decimals"}),un.readContract(e,{address:t,abi:T.erc20Abi,functionName:"symbol"}).catch(()=>"TOKEN"),un.readContract(e,{address:t,abi:T.erc20Abi,functionName:"name"}).catch(()=>"TOKEN")]);if(!Number.isInteger(Number(s))||Number(s)<0||Number(s)>255)throw new Error("Invalid token decimals");return{decimals:Number(s),symbol:o,name:r,logoURI:void 0}}const Ga=async(e,t,n)=>{const s=u.getClientForChain(t,n),o=u.getChainConfig(t),r=await un.getBalance(s,{address:e}),a=o.nativeCurrency,l=o.supportedTokens?.find(c=>S.isNativeToken(c.address));return{address:S.ZERO_ADDRESS,name:a.name,symbol:a.symbol,decimals:a.decimals,balance:r,balanceFormatted:Number(T.formatUnits(r,a.decimals)),balanceUsd:0,logoURI:l?.logo||o.logo,isNative:!0,chainId:t}},dd=async(e,t,n,s,o,r,a)=>{try{if(!T.isAddress(n))return null;const l=T.getAddress(n),c=T.isAddress(e)?T.getAddress(e):e,d=u.getClientForChain(t,a),m=await un.readContract(d,{address:l,abi:T.erc20Abi,functionName:"balanceOf",args:[c]}),f=Number(T.formatUnits(m,r));return m>0n?{address:l,name:s,symbol:o,decimals:r,balance:m,balanceFormatted:f,balanceUsd:0,logoURI:void 0,isNative:!1,chainId:t}:null}catch(l){throw l}},Ka=(e,t)=>{const n=u.getChainConfig(t);if(!n)return e;const s=new Set(e.map(r=>r.address.toLowerCase())),o=e.some(r=>r.isNative);for(const r of n.supportedTokens||[])S.isNativeToken(r.address)&&o||s.has(r.address.toLowerCase())||e.push({address:r.address,name:r.name,symbol:r.symbol,decimals:r.decimals,balance:BigInt(0),balanceFormatted:0,balanceUsd:0,logoURI:r.logo,isNative:S.isNativeToken(r.address),chainId:t});if(!e.find(r=>r.isNative)){const r=n.supportedTokens?.find(a=>S.isNativeToken(a.address));e.push({address:S.ZERO_ADDRESS,name:n.nativeCurrency.name,symbol:n.nativeCurrency.symbol,decimals:n.nativeCurrency.decimals,balance:BigInt(0),balanceFormatted:0,balanceUsd:0,logoURI:r?.logo||n.logo,isNative:!0,chainId:t})}return e},ud=async(e,t,n)=>{const s=[],o=async l=>{for(const c of l){const d=await dd(e,t,c.address,c.name,c.symbol,c.decimals,n);d&&(d.logoURI=c.logo,s.push(d))}},r=await Ga(e,t,n);r.balance>0n&&s.push(r);const a=(u.getChainConfig(t)?.supportedTokens||[]).filter(l=>!S.isNativeToken(l.address));if(a.length>0)try{const l=u.getClientForChain(t,n),c=T.getAddress(e),d=a.filter(w=>T.isAddress(w.address)).map(w=>({address:T.getAddress(w.address),abi:T.erc20Abi,functionName:"balanceOf",args:[c]})),m=await l.multicall({contracts:d}),f=a.filter(w=>T.isAddress(w.address)),h=[];m.forEach((w,g)=>{if(w.status==="success"){const y=w.result;if(y&&y>0n){const x=f[g],b=Number(T.formatUnits(y,x.decimals));y>0n&&s.push({address:T.getAddress(x.address),name:x.name,symbol:x.symbol,decimals:x.decimals,balance:y,balanceFormatted:b,balanceUsd:0,logoURI:x.logo,isNative:!1,chainId:t})}}else h.push(f[g])}),await o(h)}catch{await o(a)}return{tokens:Ka(s,t),chainId:t}},pd=async(e,t,n)=>{const s=new Map,o=Ko(e,n?n[e]??"":void 0);if(!o)return s;const r=t.filter(d=>S.isNativeToken(d)),a=t.filter(d=>!S.isNativeToken(d)),[l,c]=await Promise.all([a.length?Zo(o,a).catch(()=>new Map):new Map,r.length?Yo(o,u.getChainConfig(e)?.nativeCurrency?.symbol??"ETH").catch(()=>0):0]);for(const[d,m]of l)m>0&&s.set(d,m);if(c>0)for(const d of r)s.set(d.toLowerCase(),c);return s},fd=async(e,t,n,s=!0,o)=>{const r=u.getClientForChain(t,o),a=T.getAddress(e),l=[];let c;do{const b=await r.request({method:"alchemy_getTokenBalances",params:[a,"erc20",c?{pageKey:c}:{}]});l.push(...b.tokenBalances),c=b.pageKey||void 0}while(c);const d=l.filter(b=>T.isAddress(b.contractAddress)&&!!b.tokenBalance&&BigInt(b.tokenBalance)>0n),m=u.getChainConfig(t)?.supportedTokens||[],f=b=>m.find(v=>v.address.toLowerCase()===b.toLowerCase()),h=[],w=await Ga(e,t,o),[g,y,x]=await Promise.all([Promise.all(d.map(async b=>{const v=f(b.contractAddress);return v?{name:v.name,symbol:v.symbol,decimals:v.decimals,logo:v.logo??null}:await r.request({method:"alchemy_getTokenMetadata",params:[b.contractAddress]})})),s?Zo(n,d.map(b=>b.contractAddress)):new Map(d.map(b=>[b.contractAddress.toLowerCase(),vs(n,b.contractAddress)?.price??0])),s&&w.balanceFormatted>0?Yo(n,w.symbol):vs(n,`native:${w.symbol}`)?.price??0]);return w.balance>0n&&h.push({...w,balanceUsd:x*w.balanceFormatted}),d.forEach((b,v)=>{const C=g[v];if(!Number.isInteger(C.decimals)||C.decimals===null||C.decimals<0||C.decimals>255)throw new Error(`Invalid token metadata on chain ${t}`);const k=BigInt(b.tokenBalance),I=Number(T.formatUnits(k,C.decimals));if(k<=0n)return;const A=y.get(b.contractAddress.toLowerCase()),E=A?A*I:0;h.push({address:T.getAddress(b.contractAddress),name:C.name||"Unknown",symbol:C.symbol||"UNKNOWN",decimals:C.decimals,balance:k,balanceFormatted:I,balanceUsd:E,isDiscovered:!f(b.contractAddress),logoURI:C.logo||void 0,isNative:!1,chainId:t})}),{tokens:Ka(h,t),chainId:t}},Za=new Set,md=async(e,t,n=!0,s)=>{try{const o=Ko(t,s?s[t]??"":void 0);if(o)try{return await fd(e,t,o,n&&(typeof document>"u"||!document.hidden),s)}catch(r){Za.has(t)||(Za.add(t),console.warn(`Token discovery unavailable on chain ${t}; listing configured tokens only.`,r))}return await ud(e,t,s)}catch(o){throw o}},Yn=async(e,t,n=[],s)=>{if(!e)throw new Error("Wallet address is required");const o=u.getChainsForAssets(s),r=t?.length?[...new Set(t)]:Object.keys(o).map(Number),a=await Promise.allSettled(r.map(c=>md(e,c,!0,s))),l={};return a.forEach((c,d)=>{const m=r[d];l[m]=c.status==="fulfilled"?c.value:{chainId:m,tokens:[],error:`Unable to refresh balances on chain ${m}`}}),(await Promise.allSettled(n.map(async c=>{const d=l[c.chainId];if(!d||d.error||d.tokens.some(y=>S.normalizeNativeTokenAddress(y.address).toLowerCase()===S.normalizeNativeTokenAddress(c.address).toLowerCase()))return;const m=u.getClientForChain(c.chainId,s),f=await cd(m,c.address,c.decimals!==void 0&&c.symbol?{decimals:c.decimals,symbol:c.symbol,name:c.name||c.symbol,logo:c.logoURI}:void 0),h=await un.readContract(m,{address:c.address,abi:T.erc20Abi,functionName:"balanceOf",args:[e]}),w=await pd(c.chainId,[c.address],s),g=Number(T.formatUnits(h,f.decimals));d.tokens.push({...f,...c,name:f.name,symbol:f.symbol,decimals:f.decimals,balance:h,balanceFormatted:g,balanceUsd:(w.get(c.address.toLowerCase())||0)*g,isNative:!1})}))).forEach((c,d)=>{if(c.status==="rejected"){const m=l[n[d].chainId];m&&(m.error=`Unable to refresh token balances on chain ${m.chainId}`)}}),l},Cs=({address:e,supportedChains:t,fetchBalances:n=Yn,additionalTokens:s=[],enabled:o=!0,refreshInterval:r=0,priceEnabled:a=!0})=>{const l=p.useContext(u.SpiceFlowProviderContext),c=eo(),d=e?.toLowerCase(),m=JSON.stringify([...l?.supportedChainIds??t??[]].sort((v,C)=>v-C)),f=JSON.stringify(s);p.useEffect(()=>c.registerTokens(s),[c,f]);const h=d&&d===l?.embeddedWalletAddress?.toLowerCase()?"embedded":"external",w=`wallet:${JSON.stringify([l?.network,l?.apiUrl,l?.rpcOverrides])}:${d}:${h}:${m}:${c.fetcherId(n)}`,g=p.useCallback(async()=>{let v;try{v=await n(d,JSON.parse(m),c.tokens(),l?.rpcOverrides)}catch(A){const E=A instanceof Error?A.message:"Unable to refresh balances";v=Object.fromEntries(JSON.parse(m).map(D=>[D,{chainId:D,tokens:[],error:E}]))}const C=c.entry(w).snapshot().assets,k=JSON.parse(m).map(A=>v[A]??{chainId:A,tokens:[],error:`Unable to refresh balances on chain ${A}`}),I=k.flatMap(A=>A.error?[A.error]:[]);return{assets:k.flatMap(A=>A.error?C.filter(E=>E.chainId===A.chainId).map(E=>({...E,balanceError:A.error,balanceStatus:"stale"})):A.tokens.map(E=>({...E,owner:d,location:h,_fundingWallet:h,_source:"wallet",positionId:`${d}:${h}:${A.chainId}:${S.normalizeNativeTokenAddress(E.address).toLowerCase()}`}))),error:I.length?I.join("; "):null}},[c,d,m,n,h,w]),y=zo(w,g,o&&!!d,r,c),x=JSON.stringify(t&&[...t].sort((v,C)=>v-C)),b=p.useMemo(()=>t?y.assets.filter(v=>t.includes(v.chainId)):y.assets,[y.assets,x]);return p.useEffect(()=>{a&&o&&d&&y.refresh()},[a]),{...y,assets:b,refreshAssets:c.invalidate,getAssetsByChain:p.useCallback(v=>b.filter(C=>C.chainId===v),[b]),getNativeAssets:p.useCallback(()=>b.filter(v=>v.isNative),[b])}};function Xn(e){const t=p.useContext(u.SpiceFlowProviderContext),n=eo(),s=e.owner??((t?.mode||"7702")!=="7702"?t?.externalWalletAddress:t?.embeddedWalletAddress),o=s?.toLowerCase()!==t?.embeddedWalletAddress?.toLowerCase(),r=e.sourceChains??t?.supportedChainIds??[],a=(e.enabled??!0)&&!t?.isWhitelistGateActive,l=p.useMemo(()=>{const h=[...t?.additionalSourceTokens??[],...e.additionalSourceTokens??[],...e.destination?[e.destination]:[]];for(const w of e.supportedSourceAssets??[])for(const g of r){const y=u.getChainConfig(g)?.supportedTokens?.find(x=>u.isAssetAllowed(x,[w]));y&&h.push({...y,address:y.address,chainId:g,logoURI:y.logo})}return h},[e.destination,JSON.stringify(t?.additionalSourceTokens),JSON.stringify(e.additionalSourceTokens),JSON.stringify(e.supportedSourceAssets),JSON.stringify(r)]),c=Cs({address:s,supportedChains:r,fetchBalances:Yn,additionalTokens:l,enabled:a&&e.includeWalletAssets!==!1,refreshInterval:3e4}),d=Qa({address:s,supportedChains:r,enabled:a&&e.includeRollupAssets!==!1&&!!s&&s.toLowerCase()===t?.embeddedWalletAddress?.toLowerCase(),priceEnabled:a,refetchInterval:3e4}),m=p.useMemo(()=>a?[...(e.includeWalletAssets===!1?[]:c.assets).map(h=>({...h,owner:h.owner??s,location:h.location??(o?"external":"embedded"),_source:"wallet"})),...(e.includeRollupAssets===!1||s?.toLowerCase()!==t?.embeddedWalletAddress?.toLowerCase()?[]:d.assets).map(h=>({...h,owner:h.owner??s,location:"rollup",_source:"spice"}))]:[],[a,c.assets,d.assets,e.includeWalletAssets,e.includeRollupAssets,s,o,t?.embeddedWalletAddress]),f=p.useMemo(()=>m.map(h=>({asset:h,...Tn(h,e.role??"holding",{allowedTokens:t?.allowedTokens,rpcOverrides:t?.rpcOverrides,liquidityVenues:t?.liquidityVenues,isWhitelistGateActive:!!t?.isWhitelistGateActive},e.destination,e.supportedSourceAssets,{requiresEscrow:e.requiresEscrow})})),[m,t?.allowedTokens,t?.rpcOverrides,t?.liquidityVenues,t?.isWhitelistGateActive,e.role,e.destination,e.supportedSourceAssets,e.requiresEscrow]);return{positions:f,assets:p.useMemo(()=>f.filter(h=>h.eligible&&h.asset.balance>0n).map(h=>h.asset),[f]),walletAssets:p.useMemo(()=>m.filter(h=>h._source==="wallet"),[m]),rollupAssets:p.useMemo(()=>m.filter(h=>h._source==="spice"),[m]),loading:c.loading||d.loading,refreshing:c.refreshing||d.refreshing,error:c.error||d.error,refresh:n.invalidate}}function Rn(e){const t=S.normalizeNativeTokenAddress(e.address);if(e.isNative||S.isNativeToken(t))return!1;const n=u.getChainConfig(e.chainId)?.supportedTokens?.some(o=>u.addressesEqual(o.address,t)),s=S.getTokenByAddress(t,e.chainId);return!!n&&!!s&&Js(s)}const Ya="spiceflow:pendingDeposit",no="spiceflow:pendingDepositChanged";function Xa(e,t,n){return`${Ya}:${e.toLowerCase()}:${t}:${n.toLowerCase()}`}function Xo(){try{const e="__spiceflow_storage_test__";return localStorage.setItem(e,"1"),localStorage.removeItem(e),!0}catch{return!1}}function hd(e){if(!Xo())return;const t=Xa(e.embeddedWalletAddress,e.chainId,e.tokenAddress);try{localStorage.setItem(t,JSON.stringify(e)),window.dispatchEvent(new Event(no))}catch(n){console.error("[pendingDeposit] Failed to save:",n)}}function gd(e){if(!Xo())return[];const t=`${Ya}:${e.toLowerCase()}:`,n=[],s=Date.now();for(let o=0;o<localStorage.length;o++){const r=localStorage.key(o);if(!(!r||!r.startsWith(t)))try{const a=localStorage.getItem(r);if(!a)continue;const l=JSON.parse(a);if(s-l.timestamp>6048e5){localStorage.removeItem(r);continue}n.push(l)}catch{localStorage.removeItem(r)}}return n}function Jo(e,t,n){if(!Xo())return;const s=Xa(e,t,n);localStorage.removeItem(s),window.dispatchEvent(new Event(no))}const xd=new Set(["USDC","SUSD","USD","NUSD","USDT","DAI","ENUSD","USDG"]),Ja={ETH:"ethereum",WETH:"ethereum",BTC:"bitcoin",WBTC:"bitcoin",WCBTC:"bitcoin",CBTC:"bitcoin",ECBTC:"bitcoin",ARB:"arbitrum",MATIC:"matic-network",POL:"matic-network"};let so=null;const yd=6e4;async function $a(e){const t={},n=new Set,s={};for(const r of e){const a=r.toUpperCase();if(xd.has(a))t[a]=1;else if(Ja[a]){const l=Ja[a];n.add(l),s[a]=l}else t[a]=0}if(n.size===0)return t;const o=Date.now();if(so&&o-so.timestamp<yd){for(const[r,a]of Object.entries(s))t[r]=so.prices[a]??0;return t}try{const r=Array.from(n).join(","),a=await fetch(`https://api.coingecko.com/api/v3/simple/price?ids=${r}&vs_currencies=usd`);if(!a.ok)throw new Error(`CoinGecko ${a.status}`);const l=await a.json(),c={};for(const d of n)c[d]=l[d]?.usd??0;so={prices:c,timestamp:o};for(const[d,m]of Object.entries(s))t[d]=c[m]??0}catch(r){console.warn("[fetchTokenPrices] CoinGecko fetch failed:",r);for(const a of Object.keys(s))t[a]=t[a]??0}return t}const wd=new Set(["cbtc","btc","wbtc","wcbtc","tbtc"]),bd=new Set(["usdc","usdt","dai","usdc.e","usdbc","usdg"]);async function vd(){const e=(await $a(["BTC"])).BTC;if(!e||e<=0)throw new Error("Failed to fetch BTC/USD price");return e}function Cd(e){return wd.has(e.toLowerCase())}function kd(e){return bd.has(e.toLowerCase())}function Sd(e,t,n,s){const o=10n**12n,r=BigInt(Math.round(s*Number(o))),a=t-n,l=10n**BigInt(Math.abs(a));let c=e*r/o;return a>0?c=c/l:a<0&&(c=c*l),c}const Id=.01,Ad=5*60*1e3;function Ed(e){const t=Number(T.formatUnits(e.verifiedBalance,e.tokenDecimals));return Number.isFinite(t)?t:0}async function Fd(e){const t=Td(e);let n;try{n=await $a(t.map(s=>s.tokenSymbol))}catch{return t}return t.filter(s=>{const o=Ed(s);if(o<=0)return!0;const r=n[s.tokenSymbol.toUpperCase()]??0;return!Number.isFinite(r)||r<=0?!0:o*r>=Id})}function Td(e){const t=new Map;for(const n of e){const s=`${n.chainId}:${n.tokenAddress.toLowerCase()}`;t.get(s)||t.set(s,{...n,amount:n.timestamp===0?T.formatUnits(n.verifiedBalance,n.tokenDecimals):n.amount,rawAmount:n.timestamp===0?n.verifiedBalance.toString():n.rawAmount,hasFullBalance:n.timestamp===0?!0:n.hasFullBalance})}return Array.from(t.values())}function _a(e,t){const[n,s]=p.useState([]),[o,r]=p.useState(!1),a=p.useRef(t);a.current=t;const l=!!t?.enabled,c=p.useRef(0),d=p.useRef(0),m=p.useCallback(async({forceDiscovery:f=!1}={})=>{if(!e){s([]),r(!1);return}const h=++d.current,w=()=>h!==d.current;r(!0);try{const g=[],y=gd(e);for(const C of y){if(w())return;if(Rn({address:C.tokenAddress,chainId:C.chainId,isNative:C.isNative}))try{const k=u.getClientForChain(C.chainId);let I;if(C.isNative||S.isNativeToken(C.tokenAddress)?I=await un.getBalance(k,{address:e}):I=await un.readContract(k,{address:T.getAddress(C.tokenAddress),abi:T.erc20Abi,functionName:"balanceOf",args:[e]}),w())return;I>0n?g.push({...C,verifiedBalance:I,hasFullBalance:I>=BigInt(C.rawAmount)}):Date.now()-C.timestamp>15*60*1e3&&Jo(e,C.chainId,C.tokenAddress)}catch(k){console.warn(`[usePendingDeposit] Failed to verify balance for ${C.tokenSymbol} on chain ${C.chainId}:`,k),g.push({...C,verifiedBalance:0n,hasFullBalance:!1})}}if(w())return;const x=a.current,b=Date.now(),v=(x?.discoverWalletBalances??!0)&&(f||b-c.current>=Ad);if(x?.network&&v){c.current=b;const C=x.chainIds??S.getChainIdsByNetwork(x.network),k=new Set(g.map(A=>`${A.chainId}:${A.tokenAddress.toLowerCase()}`)),I=[];for(const A of C){const E=u.getChainConfig(A);if(E?.supportedTokens)for(const D of E.supportedTokens){if(!Rn({address:D.address,chainId:A,isNative:!1}))continue;const R=`${A}:${D.address.toLowerCase()}`;k.has(R)||I.push((async()=>{try{const B=u.getClientForChain(A),W=await un.readContract(B,{address:T.getAddress(D.address),abi:T.erc20Abi,functionName:"balanceOf",args:[e]});return W>0n?{chainId:A,tokenAddress:D.address,tokenSymbol:D.symbol,tokenDecimals:D.decimals,amount:T.formatUnits(W,D.decimals),rawAmount:W.toString(),embeddedWalletAddress:e,externalWalletAddress:"",timestamp:0,isNative:!1,verifiedBalance:W,hasFullBalance:!0}:null}catch{return null}})())}}if(I.length>0){const A=await Promise.allSettled(I);if(w())return;for(const E of A)E.status==="fulfilled"&&E.value&&g.push(E.value)}}if(!w()){const C=await Fd(g);if(w())return;s(C)}}catch(g){console.error("[usePendingDeposit] Verification error:",g),w()||s([])}finally{w()||r(!1)}},[e]);return p.useEffect(()=>{if(!l){d.current++,s([]),r(!1);return}m({forceDiscovery:!0});const f=a.current?.pollIntervalMs??3e4;if(f<=0||!e)return()=>{d.current++};const h=setInterval(()=>{m({forceDiscovery:!1})},f),w=()=>m({forceDiscovery:!0});return window.addEventListener(no,w),()=>{d.current++,window.removeEventListener(no,w),clearInterval(h)}},[m,e,l]),{pendingDeposits:n,loading:o,refresh:()=>m({forceDiscovery:!0})}}function ei(e){const t=p.useContext(u.SpiceFlowProviderContext),n=t?.embeddedWalletAddress,s=e?.enabled===!1?void 0:n,o=t?.network?{network:t.network,pollIntervalMs:e?.pollIntervalMs,chainIds:e?.chainIds??t.supportedChainIds,discoverWalletBalances:e?.discoverWalletBalances}:void 0;return{..._a(s,o),embeddedWalletAddress:n}}var $o="data:image/svg+xml,%3csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5 4.99995V6.99995M5 3.31245V3.31189M9.5 5C9.5 7.48528 7.48528 9.5 5 9.5C2.51472 9.5 0.5 7.48528 0.5 5C0.5 2.51472 2.51472 0.5 5 0.5C7.48528 0.5 9.5 2.51472 9.5 5Z' stroke='black' stroke-opacity='0.4' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e";function _o(e){const t=p.useRef(0),n=p.useRef(null),s=p.useRef(e.run);s.current=e.run;const o=p.useRef(e.onSkip);o.current=e.onSkip;const r=p.useRef(e.onCleanup);r.current=e.onCleanup,p.useEffect(()=>{if(!e.shouldRun){t.current+=1,n.current?.abort(),o.current?.();return}let a=!1,l=!1;const c=async h=>{if(h&&l)return;n.current?.abort();const w=new AbortController;n.current=w;const g=++t.current;l=!0;try{await s.current({isBackground:h,isCurrent:()=>!a&&t.current===g,signal:w.signal})}finally{l=!1}},d=window.setTimeout(()=>void c(!1),e.delayMs??250),m=()=>{document.hidden||c(!0)},f=e.backgroundIntervalMs?window.setInterval(m,e.backgroundIntervalMs):void 0;return f!==void 0&&document.addEventListener("visibilitychange",m),()=>{a=!0,n.current?.abort(),clearTimeout(d),f!==void 0&&(window.clearInterval(f),document.removeEventListener("visibilitychange",m)),r.current?.()}},[e.shouldRun,e.delayMs,e.backgroundIntervalMs,...e.deps])}function ti(e,t){if(e.length!==t.length)return!1;const n=S.hashChainBatches(e),s=S.hashChainBatches(t);return n.every((o,r)=>o.hash===s[r]?.hash)}const pn=e=>new Promise(t=>setTimeout(t,e)),Bd="0xa9059cbb";function ni(e){const t=e.findIndex(o=>S.isSpicenetChainId(o.chainId));if(t<=0)return[];const n=new Map,s=(o,r,a)=>{if(a<=0n)return;const l=`${o}:${r.toLowerCase()}`,c=n.get(l);c?c.amount+=a:n.set(l,{chainId:o,token:r,amount:a})};for(const o of e.slice(0,t)){const r=S.getEscrowContract(o.chainId);if(!(!r||r===S.ZERO_ADDRESS)){for(const a of o.calls)if(a.value&&a.value>0n&&u.addressesEqual(a.to,r)&&s(o.chainId,S.ZERO_ADDRESS,a.value),!!a.data?.startsWith(Bd))try{const l=T.decodeFunctionData({abi:T.erc20Abi,data:a.data});if(l.functionName!=="transfer")continue;const[c,d]=l.args;u.addressesEqual(c,r)&&s(o.chainId,a.to,d)}catch{}}}return[...n.values()]}function si(e){const t=S.getTokenByAddress(e.token,e.chainId);return[t?.equivalenceGroup,t?.symbol,t?.name]}function oi(e,t){return Qo(e,t.chainId,t.token,si(t))}function Rd(e,t){const n=td(e,t.chainId,t.token,si(t));return!n||n.receiptDecimals>=n.chainDecimals?t.amount:S.convertAmountBetweenDecimals(S.convertAmountBetweenDecimals(t.amount,n.chainDecimals,n.receiptDecimals),n.receiptDecimals,n.chainDecimals)}async function ri(e){const{deposits:t,baseline:n,fetchEntries:s,timeoutMs:o=12e4,intervalMs:r,signal:a,wait:l=pn}=e;if(t.length===0)return!0;const c=new Map(t.map(f=>[f,oi(n,f)])),d=Date.now(),m=d+o;for(;!a?.aborted;){try{const g=await s();if(t.every(y=>oi(g,y)-c.get(y)>=Rd(g,y)))return!0}catch{}const f=Date.now();if(f>=m)return!1;const h=f-d,w=r??(h<5e3?250:h<15e3?1e3:3e3);await l(Math.min(w,m-f))}return!1}function ai(e,t){const n=S.hashChainBatches(e).map(s=>s.hash);return T.keccak256(T.encodeAbiParameters([{type:"string"},{type:"uint256"},{type:"uint256"},{type:"bytes32[]"}],["ecdsa",0n,t,n]))}async function ii(e,t,n,s,o){if(s?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");const r={raw:ai(t,n)},a=o?await e.signMessage(r,o):await e.signMessage(r);console.debug("[SpiceFlow:execution]",{phase:"signature-returned",at:Date.now()});const l=typeof a=="string"?a:a.signature;if(!l)throw new u.SpiceflowError("SIGNATURE_FAILED","Failed to sign intent authorization. The wallet returned an empty signature.");return l}function jd(e){return e.domain==="spicenet"||S.isSpicenetChainId(e.chainId)}async function li(e){const{chainBatches:t,signingAddress:n,actions:s,cache:o,signal:r,onSignatureRequested:a,beforeSign:l}=e;if(r?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");const c=[...new Set(t.filter(f=>!jd(f)).map(f=>f.chainId))].map(f=>({chainId:f,client:u.getClientForChain(f),delegateContract:u.getDelegateContractAddress(f)})),[d]=await Promise.all([Promise.all(c.map(async({chainId:f,client:h,delegateContract:w})=>{const g=Number(await S.getAccountNonce(n,h)),y=[n.toLowerCase(),f,w.toLowerCase(),g].join(":");return{chainId:f,delegateContract:w,nonce:g,cacheKey:y,cached:o?.get(y)}})),c.length?s.prepareSigning?.():void 0,l?.()]),m=[];for(const{chainId:f,delegateContract:h,nonce:w,cacheKey:g,cached:y}of d){if(y){m.push(y);continue}if(r?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");const x=await s.signAuthorization({contractAddress:h,chainId:f,nonce:w},a),b={r:x.r,s:x.s,yParity:x.yParity,address:x.address??h,chainId:Number(x.chainId??f),nonce:Number(x.nonce??w)};o?.set(g,b),m.push(b)}return m}const ci=15;function Dd(e){return e.now-e.lastProgressAt>=e.pollTimeoutMs}function di(e,t){return{intentId:e,steps:t.map(n=>({...n,status:"pending"})),overallStatus:"processing"}}function oo(e,t,n){const s=e.steps.map(l=>({...l})),o=s[t];if(!o)return e;n.status==="success"||n.status==="completed"?(s[t]={...o,status:"success",transactionHash:n.transactionHash},t+1<s.length&&s[t+1].status==="pending"&&(s[t+1]={...s[t+1],status:"processing"})):n.status==="reverted"||n.status==="error"?s[t]={...o,status:"failed",transactionHash:n.transactionHash,error:n.error}:s[t]={...o,status:"processing"};const r=s.some(l=>l.status==="failed"),a=s.every(l=>l.status==="success");return{...e,steps:s,overallStatus:r?"failed":a?"success":"processing"}}function Od({checkStepStatus:e,retryStep:t,maxRetries:n=3,pollingInterval:s=2500,pollTimeoutMs:o=3e5}){const[r,a]=p.useState(null),l=p.useRef(null),c=p.useRef(null),d=p.useRef(!1),m=p.useRef(!1),f=p.useRef(0),h=p.useRef({}),w=p.useRef(0),g=p.useCallback(k=>{l.current=k,a(k)},[]),y=p.useCallback(()=>{c.current&&(clearInterval(c.current),c.current=null)},[]),x=p.useCallback(()=>{f.current=0,h.current={},w.current=0,d.current=!0,y(),g(null)},[y,g]),b=p.useCallback((k,I)=>{y(),d.current=!1,g(di(k,I))},[y,g]),v=p.useCallback((k,I)=>{const A=l.current;A&&g(oo(A,k,I))},[g]),C=p.useCallback((k,I)=>{y(),d.current=!1,m.current=!1,f.current=0,h.current={},w.current=Date.now(),g(di(k,I));const A=async()=>{if(!(d.current||m.current||!e)){m.current=!0;try{if(Dd({now:Date.now(),lastProgressAt:w.current,pollTimeoutMs:o})){const R=l.current;R&&g({...R,steps:R.steps.map(B=>B.status==="success"?B:{...B,status:"failed",error:"Taking longer than expected. It may still complete - check the explorer, then refresh."}),overallStatus:"failed"}),d.current=!0,y();return}const E=l.current;if(!E)return;const D=E.steps.findIndex(R=>R.status!=="success");if(D===-1){d.current=!0,y();return}if(!(D===0||E.steps[D-1].status==="success"))return;try{const R=E.steps[D].stepId,{data:B}=await e(k,R);if(f.current=0,B.status==="success"&&(w.current=Date.now()),B.status==="reverted"){const O=h.current[R]||0;if(t&&O<n){h.current[R]=O+1;try{await t(k,R)}catch(M){console.error(`[intentStatus] retry failed for step ${R}:`,M)}g(oo(l.current,D,{status:"executing"}));return}}const W=oo(l.current,D,B);g(W),W.overallStatus!=="processing"&&(d.current=!0,y())}catch(R){f.current+=1,console.error(`[intentStatus] poll error (${f.current}/${ci}):`,R),f.current>=ci&&(g(oo(l.current,D,{status:"error"})),d.current=!0,y())}}finally{m.current=!1}}};A(),c.current=setInterval(A,s)},[e,t,n,s,o,y,g]);return p.useEffect(()=>()=>y(),[y]),{intentStatus:r,startStatusPolling:C,beginStatusTracking:b,applyStepUpdate:v,stopStatusPolling:y,clearStatus:x}}function Nd(e,t){return(t||"").trim()||`Transaction ${e}. The transaction was rejected on-chain. This may be due to insufficient balance, price changes, or health factor constraints. Please verify your positions and try again.`}const Pd=350,Md=2500;async function ui(e){const{actionId:t,intentIndex:n,intentId:s,stepIndex:o,maxPolls:r=48,maxExecuteAttempts:a=3,pollsBeforeRetry:l=5,maxConsecutiveStatusErrors:c=15,onStatusMessage:d,onStepUpdate:m,signal:f,chainId:h,startWithExecute:w=!0,observeOnly:g=!1,relayer:y=u.relayerService,completeOnExecution:x=!1}=e;if(f?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");let b="pending",v,C,k=0,I=0,A,E;const D=new Promise((B,W)=>{A=B,E=()=>W(new u.SpiceflowError("ABORT","Execution transaction aborted"))}),R=()=>{k++,y.executeStep(t,n,o,{action:"execute"}).then(B=>{B.transactionHash&&(v=B.transactionHash),B.status==="success"&&A({status:B.status,transactionHash:B.transactionHash})}).catch(B=>{const W=B instanceof Error?B.message:String(B);console.warn(`[execution] executeStep ${o} attempt ${k} error (will poll):`,W)})};f?.addEventListener("abort",E,{once:!0});try{w&&!g&&R();for(let B=0;B<r;B++){const W=B===0?Pd:Md;try{const M=await Promise.race([pn(W).then(()=>{}),D]);if(f?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");const U=M??await Promise.race([y.checkStepStatus(s,o,x).then(N=>N.data),D]);if(f?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");I=0,b=U.status,C=U.error;const F=U.transactionHash;F&&(v=F),x&&/^0x[0-9a-f]{64}$/i.test(F??"")&&(U.executionStatus==="success"||U.executionStatus==="reverted")&&(b=U.executionStatus,C=void 0),m?.({status:b,transactionHash:v,error:C})}catch(M){if(M instanceof Error&&(M.name==="AbortError"||M instanceof u.SpiceflowError&&M.code==="ABORT"))throw M;if(I++,I>=c){if(!g)throw M;d?.("Status is temporarily unavailable. The backend continues this action.",v)}continue}if(!g&&b==="created"&&B>=k*l&&k<a&&R(),b==="reverted"||b==="error")throw new u.SpiceflowError("ON_CHAIN_REVERT",Nd(b,C),{status:b,txHash:v,actionId:t,intentId:s,stepId:o,chainId:h});if(b==="success"||b==="completed")return v;let O="Waiting for solver...";b==="executing"?O="Transaction executing...":b==="submitted"?O="Transaction submitted...":b==="created"&&(O="Waiting for relayer..."),d?.(O,v)}throw new u.SpiceflowError("POLLING_EXHAUSTED",`Transaction is still processing (status: ${b}). This doesn't mean it failed \u2014 the solver may still complete it. Check your positions in a few minutes, or try refreshing the page.`,{actionId:t,intentId:s,stepId:o,lastStatus:b,pollAttempts:r,maxPolls:r,txHash:v})}finally{f?.removeEventListener("abort",E)}}async function Ud(e){const{actionId:t,intentIndex:n,intentId:s,totalSteps:o,observeOnly:r,delayBeforeSpicenetStepMs:a=5e3,isSpicenetStep:l,beforeStep:c,maxExecuteAttemptsForStep:d,maxPolls:m=48,onStatusMessage:f,onStepUpdate:h,signal:w}=e;let g;for(let y=0;y<o;y++){if(!r&&y>0&&l?.(y)&&a>0&&await pn(a),await c?.(y),w?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");const x=d?.(y)??3,b=await ui({actionId:t,intentIndex:n,intentId:s,stepIndex:y,observeOnly:r,relayer:e.relayer,maxPolls:m,maxExecuteAttempts:x,maxConsecutiveStatusErrors:x===6?5:15,onStatusMessage:f,onStepUpdate:h?v=>h(y,v):void 0,signal:w,completeOnExecution:y===o-1&&l?.(y)===!1});b&&(g=b)}return g}const Wd="0xa9059cbb",Ld=[S.SPICE_COMBINED_FEE_RECIPIENT,S.SPICE_GAS_FEE_RECIPIENT,S.SPICE_PLATFORM_FEE_RECIPIENT];function pi(e){return Ld.some(t=>u.addressesEqual(e,t))}function ro(e,t){return e.map(n=>{if(n.domain==="spicenet"||S.isSpicenetChainId(n.chainId)||n.calls.length===0)return n;const s=new Set((n.tokenTransfers??[]).filter(a=>(a.from==="escrow"||a.from==="solver")&&u.addressesEqual(a.to,t)).map(a=>a.token.toLowerCase()));if(s.size===0)return n;const o=[...s].some(S.isNativeToken);let r=0;for(const a of n.calls){if(o&&a.value>0n&&a.data==="0x"&&pi(a.to)){r+=1;continue}if(!a.data?.startsWith(Wd))break;try{const l=T.decodeFunctionData({abi:T.erc20Abi,data:a.data});if(l.functionName!=="transfer")break;const[c]=l.args;if(!pi(c)||!s.has(a.to.toLowerCase()))break;r+=1}catch{break}}return r===0?n:{...n,calls:n.calls.slice(r)}})}async function qd(e,t){if(!t||!/^0x[0-9a-f]{64}$/i.test(t))throw new Error("The destination receipt is not available yet; reconcile the existing action before retrying.");const n=await e.waitForTransactionReceipt({hash:t,timeout:12e4,pollingInterval:2e3,confirmations:1});if(n.transactionHash?.toLowerCase()!==t.toLowerCase()||n.status!=="success")throw new Error("The destination transaction has not been confirmed successfully. Reconcile the existing action before retrying.");return t}async function ao(e){let t=e.hash,n=!1;const s=Date.now()+12e4,o=a=>a.transactionHash&&a.transactionHash.toLowerCase()!==t.toLowerCase();let r=await e.client.waitForTransactionReceipt({hash:t,timeout:12e4,pollingInterval:2e3,confirmations:1,onReplaced:a=>{const l=a.transaction,c=a.replacedTransaction;if(!(a.reason==="repriced"&&c?.hash?.toLowerCase()===t.toLowerCase()&&c?.to?.toLowerCase()===e.call.to.toLowerCase()&&(c.input??"0x").toLowerCase()===e.call.data.toLowerCase()&&BigInt(c.value??0)===e.call.value&&c?.from&&c.nonce!==void 0&&/^0x[0-9a-f]{64}$/i.test(l?.hash??"")&&l?.to?.toLowerCase()===e.call.to.toLowerCase()&&(l.input??"0x").toLowerCase()===e.call.data.toLowerCase()&&BigInt(l.value??0)===e.call.value&&l.from?.toLowerCase()===c?.from?.toLowerCase()&&l.nonce===c?.nonce)){n=!0,e.onCancelled?.();return}t=l.hash,e.onRepriced?.(t)}});if(n)throw new Error("Transaction was cancelled or replaced with a different action; retry the unfinished action");if((e.confirmations??1)>1&&!o(r)&&r.status==="success"&&(r=await e.client.waitForTransactionReceipt({hash:t,timeout:Math.max(s-Date.now(),1),pollingInterval:2e3,confirmations:e.confirmations})),o(r))throw new Error("Unexpected transaction receipt; recover the submitted transaction before retrying");return{receipt:r,hash:t}}const zd=10n,Hd=10n,Vd=5;function er(e){return e.map(t=>({...t,calls:[...t.calls],tokenTransfers:t.tokenTransfers?[...t.tokenTransfers]:void 0}))}function io({token:e,recipient:t,amount:n}){return{to:e,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[t,n]})}}function Qd({chainBatches:e,token:t,amount:n}){const s=er(e),o=s[s.length-1];if(!o)return s;const r=S.getEscrowContractAddress(o.chainId);return o.calls=[...o.calls,io({token:t,recipient:r,amount:n})],s}function fi({chainBatches:e,user:t,token:n,grossAmount:s,gasFee:o}){const r=er(e),a=r[r.length-1];if(!a)throw new u.SpiceflowError("INVALID_PARAMS","Action-output escrow funding requires at least one chain batch.");const l=u.calculateBpsFee(s,Hd),c=o+l;if(c>=s)throw new u.SpiceflowError("INVALID_PARAMS","Borrow amount is too small after gas and Spicenet fees.",{grossAmount:s.toString(),gasFee:o.toString(),spicenetFee:l.toString()});const d=s-c,m=S.getEscrowContractAddress(a.chainId),f=[];return o>0n&&f.push(io({token:n,recipient:S.SPICE_GAS_FEE_RECIPIENT,amount:o})),l>0n&&f.push(io({token:n,recipient:S.SPICE_PLATFORM_FEE_RECIPIENT,amount:l})),a.calls=[...a.calls,...f,io({token:n,recipient:m,amount:d})],a.tokenTransfers=[...a.tokenTransfers??[],...o>0n?[{from:t,to:S.SPICE_GAS_FEE_RECIPIENT,token:n,amount:o}]:[],...l>0n?[{from:t,to:S.SPICE_PLATFORM_FEE_RECIPIENT,token:n,amount:l}]:[],{from:t,to:m,token:n,amount:d}],{chainBatches:r,gasFee:o,spicenetFee:l,netEscrowAmount:d,outputCredit:{chainId:a.chainId,token:n,amount:s}}}async function mi({chainBatches:e,user:t,token:n,grossAmount:s,chainAuthorizations:o}){let r=0n,a=fi({chainBatches:e,user:t,token:n,grossAmount:s,gasFee:r});for(let l=0;l<Vd;l+=1){const c=S.hashChainBatches(a.chainBatches),d=(await u.relayerService.estimateBatchGas({user:t,outputToken:n,chainBatches:a.chainBatches.map((m,f)=>({...m,hash:c[f].hash})),chainAuthorizations:o})).gasFee;if(d===r)return a;r=d,a=fi({chainBatches:e,user:t,token:n,grossAmount:s,gasFee:r})}throw new u.SpiceflowError("INVALID_PARAMS","Action-output fee estimate did not converge. Please retry.")}function An(e){return S.isSpicenetChainId(e.chainId)}const Gd="0xa9059cbb";function ks(e,t){return`${e}:${S.normalizeNativeTokenAddress(t).toLowerCase()}`}function hi(e,t){return t===S.ZERO_ADDRESS.toLowerCase()?{symbol:u.getChainName(e),decimals:18}:S.getTokenByAddress(t,e)??{symbol:"tokens",decimals:18}}function Kd(e,t){const n=S.getTokenByAddress(t,e);return[n?.equivalenceGroup,n?.symbol,n?.name]}async function tr(e){return u.getWalletBalanceEntries(e)}async function Zd(e,t,n){const s=new Map,o=n?.walletFundingRequirement,r=o&&ks(o.chainId,o.token);r&&s.set(r,0n);const a=new Map,l=new Map,c=new Map,d=new Map;for(const f of n?.actionOutputCredits??[]){const h=ks(f.chainId,f.token);d.set(h,(d.get(h)??0n)+f.amount)}for(const f of e){if(An(f))continue;for(const g of f.tokenTransfers??[]){if(g.from!=="escrow"&&g.from!=="solver"||!u.addressesEqual(g.to,t))continue;const y=BigInt(g.amount??0);if(y<=0n)continue;const x=ks(f.chainId,g.token);a.set(x,(a.get(x)??0n)+y),g.from==="escrow"&&l.set(x,(l.get(x)??0n)+y)}const h=S.getEscrowContract(f.chainId),w=g=>!!h&&h!==S.ZERO_ADDRESS&&u.addressesEqual(g,h);for(const g of f.calls){if(g.value&&g.value>0n){const y=ks(f.chainId,S.ZERO_ADDRESS);s.set(y,(s.get(y)??0n)+g.value),w(g.to)&&c.set(y,(c.get(y)??0n)+g.value)}if(g.data?.startsWith(Gd))try{const y=T.decodeFunctionData({abi:T.erc20Abi,data:g.data});if(y.functionName!=="transfer")continue;const[x,b]=y.args,v=g.to.toLowerCase(),C=ks(f.chainId,v);s.set(C,(s.get(C)??0n)+b),w(x)&&c.set(C,(c.get(C)??0n)+b)}catch{}}}let m=null;for(const[f,h]of l){const w=h-(c.get(f)??0n);if(w<=0n)continue;const[g,y]=f.split(":"),x=Number(g),b=hi(x,y);m??(m=await tr(t));const v=Qo(m,x,y,Kd(x,y));if(!(v>=w))throw new u.SpiceflowError("INVALID_PARAMS",`Insufficient Spice ${b.symbol}: needs ${T.formatUnits(w,b.decimals)}, has ${T.formatUnits(v,b.decimals)}.`,{chainId:x,token:y,userAddress:t,requiredAmount:w.toString(),balance:v.toString(),balanceSource:"spice"})}for(const[f,h]of s){const[w,g]=f.split(":"),y=Number(w);let x=h-(a.get(f)??0n)-(d.get(f)??0n);if(o&&f===r&&o.amount>x&&(x=o.amount),x<=0n)continue;const b=u.getClientForChain(y),v=g===S.ZERO_ADDRESS.toLowerCase()?await b.getBalance({address:t}):await b.readContract({address:g,abi:T.erc20Abi,functionName:"balanceOf",args:[t]});if(v>=x)continue;const C=hi(y,g);throw new u.SpiceflowError("INVALID_PARAMS",`Insufficient ${C.symbol} on ${u.getChainName(y)}: needs ${T.formatUnits(x,C.decimals)}, has ${T.formatUnits(v,C.decimals)}.`,{chainId:y,token:g,userAddress:t,requiredAmount:x.toString(),balance:v.toString(),balanceSource:"wallet"})}}function Yd({chainBatches:e,tokenAddress:t,tokenTransferAmount:n,useCustomTransfers:s}){if(!(e.some(An)||!(s?e.some(o=>An(o)?!1:(o.tokenTransfers??[]).some(r=>r.from==="escrow"&&BigInt(r.amount??0)>0n)):n>0n)))throw new u.SpiceflowError("INVALID_PARAMS","Payouts funded from Spice balance require a Spicenet funding batch before the destination chain batch. Deposits into Spice balance and gas-only actions do not need one.",{tokenAddress:t,tokenTransferAmount:n.toString(),useCustomTransfers:!!s})}function Xd(e,t,n,s){t.forEach((o,r)=>{if(!o.to||!o.from||!o.token||o.amount===void 0)throw new u.SpiceflowError("INVALID_TOKEN_TRANSFER",`tokenTransfers[${r}] on chain ${e} is missing required fields (to/from/token/amount). This usually means the embedded wallet wasn't ready when the intent was built \u2014 please retry.`,{chainId:e,transferIndex:r,transfer:{from:o.from,to:o.to,token:o.token,amount:o.amount?.toString()},signingAddress:n,useCustomTransfers:s})})}function lo({user:e,chainBatches:t,tokenAddress:n,tokenTransferAmount:s,exp:o,signature:r,chainAuthorizations:a,useCustomTransfers:l}){const c=t,d=S.hashChainBatches(c),m=c.filter(f=>!An(f)).length;if(Yd({chainBatches:c,tokenAddress:n,tokenTransferAmount:s,useCustomTransfers:l}),!l&&s>0n&&m>1)throw new u.SpiceflowError("INVALID_PARAMS","Multiple non-Spicenet batches require explicit tokenTransfers. Pass useCustomTransfers with per-batch transfers instead of relying on the default escrow payout injection.",{nonSpicenetBatchCount:m,tokenAddress:n,tokenTransferAmount:s.toString()});return{user:e,...a?{chainAuthorizations:a}:{},intents:[{mode:"7702",signatureType:"ecdsa",signature:r,nbf:0,exp:o,chainBatches:d.map((f,h)=>{const w=c[h],g=An(w)?[]:l?w.tokenTransfers??[]:s>0n?[{from:"escrow",to:e,token:n,amount:s}]:[];return Xd(Number(f.chainId),g,e,l),{hash:f.hash,chainId:Number(f.chainId),tokenTransfers:g,calls:f.calls}})}]}}function gi(e,t){const n=t?.depositToEscrow?.gasFundingSource==="action-output"?t.depositToEscrow:null,s=t?.depositToEscrow&&!n?Qd({chainBatches:e,token:t.depositToEscrow.token,amount:t.depositToEscrow.amount}):er(e);return{actionOutputDeposit:n,batches:s}}let nr=!1;function Ss(){const{address:e,isConnected:t,isAuthenticated:n,actions:s}=u.useWallet(),o=p.useRef(null),{intentStatus:r,startStatusPolling:a,beginStatusTracking:l,applyStepUpdate:c,clearStatus:d}=Od({checkStepStatus:(x,b)=>u.relayerService.checkStepStatus(x,b),retryStep:async(x,b)=>{const[v,C]=x.split("/"),k=parseInt(C||"0",10);await u.relayerService.executeStep(v,k,b,{action:"execute"})}}),m=p.useRef(s),f=p.useRef(new Map);m.current=s;const h=p.useCallback((x,b,v,C,k)=>li({chainBatches:x,signingAddress:b,actions:m.current,cache:f.current,signal:v,onSignatureRequested:C,beforeSign:k}),[]),w=p.useCallback((x,b,v,C)=>ii(m.current,x,b,v,C),[]),g=p.useCallback(async(x,b,v,C,k,I)=>{const A=(E,D,R)=>{C?.({step:E,message:D,...R})};if(nr)throw new u.SpiceflowError("CONCURRENT_EXECUTION","A execution transaction is already in progress. Please wait.");nr=!0;try{if(!e)throw new u.SpiceflowError("WALLET_DISCONNECTED","No wallet connected. Please log in first.");const E=I?.userOverride||e,D=u.relayerService.getBaseUrl(),R=await u.relayerService.supportsAutomaticContinuation(),{actionOutputDeposit:B,batches:W}=gi(x,I);let O=W,M=[],U=I?.useCustomTransfers,F=ni(O),N=null;const L=async()=>{for(let Z=0;F.length>0&&Z<3;Z++)try{N=await tr(E);break}catch(G){if(k?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");if(Z===2)throw new u.SpiceflowError("RELAYER_ERROR","Unable to read your Spice balance. Please try again before submitting the transaction.",{cause:G});await pn(1e3)}await I?.validateBeforeSubmit?.(O)};A("building","Preparing your wallet and transaction...");const q=await h(O,E,k,()=>A("signing-delegation","Confirm the authorization in your wallet..."),L);if(A("building","Checking transaction fees and balances..."),k?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");const oe=BigInt(Math.floor(Date.now()/1e3)+3600);if(B){const Z=await mi({chainBatches:x,user:E,token:B.token,grossAmount:B.amount,chainAuthorizations:q});O=Z.chainBatches,M=[Z.outputCredit],U=!0}if(!I?.skipPreSubmitFeeEstimate){let Z=!1;if(I?.feeExecutionMode==="user-transfer"&&I.adjustBatchesForEstimate&&u.relayerService.canValidateActionFees()){const G=await u.relayerService.validateActionFees(lo({user:E,chainBatches:O,tokenAddress:b,tokenTransferAmount:v,exp:Number(oe),signature:"0x00",chainAuthorizations:q,useCustomTransfers:U}),{signal:k});o.current=G;const ue=await I.adjustBatchesForEstimate({feeEstimate:G,chainBatches:O});Z=!ue||ti(O,ue),ue&&(O=ue)}for(let G=0;!Z&&G<10;G++){const ue=I?.feeExecutionMode==="user-transfer"?ro(O,E):O,me=lo({user:E,chainBatches:ue,tokenAddress:b,tokenTransferAmount:v,exp:Number(oe),signature:"0x00",chainAuthorizations:q,useCustomTransfers:U}),Se=await u.relayerService.estimateActionFees(me,{signal:k});o.current=Se;const J=await I?.adjustBatchesForEstimate?.({feeEstimate:Se,chainBatches:O}),P=!!J&&ti(O,J);if(!J||P){Z=!0;break}O=J}if(!Z)throw new u.SpiceflowError("INVALID_PARAMS","Fee estimate did not converge. Please retry.")}if(I?.prepareForSigning){const Z=await I.prepareForSigning(O);if(Z.length!==O.length||Z.some((G,ue)=>G.chainId!==O[ue].chainId||G.domain!==O[ue].domain))throw new Error("The funded route changed before signing");O=Z}I?.resolveActionOutputCredits&&(M=await I.resolveActionOutputCredits()),(!I?.skipUserFundingPreflight||I.walletFundingRequirement)&&await Zd(I?.skipUserFundingPreflight?[]:O,E,{actionOutputCredits:M,walletFundingRequirement:I?.walletFundingRequirement}),F=ni(O),F.length&&!N&&(N=await u.getWalletBalanceEntries(E)),await I?.validateBeforeSubmit?.(O),A("building","Preparing the signing request...");const pe=await w(O,oe,k,()=>A("signing-intent","Confirm the transaction in your wallet..."));if(k?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");A("submitting","Submitting to relayer...");const ae=lo({user:E,chainBatches:O,tokenAddress:b,tokenTransferAmount:v,exp:Number(oe),signature:pe,chainAuthorizations:q,useCustomTransfers:U}),Q=Date.now();if(await I?.validateBeforeSubmit?.(O),console.debug("[SpiceFlow:execution]",{phase:"submit-check-complete",at:Date.now(),durationMs:Date.now()-Q}),u.relayerService.getBaseUrl()!==D)throw new Error("The network changed before submission. Review your balances before trying again.");const $=await u.relayerService.createAction({...ae,...R?{autoContinue:!0}:{}}),[X,ee]=$.intentIds[0].split("/"),Y=parseInt(ee||"0",10),we=`${X}/${Y}`;A("executing","Executing on chain..."),A("executing","Executing on chain...",{actionId:X,intentId:we,intentIndex:Y,totalSteps:O.length,autoContinue:$.autoContinue===!0});const be=O.length,j=new u.RelayerService;j.setBaseUrl(D);const K=await Ud({actionId:X,intentIndex:Y,intentId:we,totalSteps:be,signal:k,observeOnly:$.autoContinue===!0,relayer:$.autoContinue?j:u.relayerService,...N?{delayBeforeSpicenetStepMs:0}:{},isSpicenetStep:Z=>An(O[Z]),beforeStep:async Z=>{if($.autoContinue===!0||!N||!An(O[Z]))return;const G=await ri({deposits:F,baseline:N,fetchEntries:()=>tr(E),signal:k});if(k?.aborted)throw new u.SpiceflowError("ABORT","Execution transaction aborted");if(!G)throw new u.SpiceflowError("POLLING_EXHAUSTED","Your deposit is still waiting for Spice credit. Check this transaction's status before trying again.",{actionId:X,intentId:we,stepId:Z})},maxExecuteAttemptsForStep:Z=>An(O[Z])?6:3,maxPolls:$.autoContinue?Number.POSITIVE_INFINITY:180,onStatusMessage:(Z,G)=>{A("executing",Z,{txHash:G,actionId:X,intentId:we,intentIndex:Y,totalSteps:be,autoContinue:$.autoContinue===!0})}});if(I?.requireDestinationReceipt){const Z=[...O].reverse().find(G=>!An(G));if(!Z)throw new Error("The action has no destination transaction to verify.");await qd(u.getClientForChain(Z.chainId),K)}return A("success","Transaction successful!",{txHash:K,actionId:X,intentId:we,intentIndex:Y,totalSteps:be,autoContinue:$.autoContinue===!0}),K||X}catch(E){throw console.error("[Execution] Error:",E),A("error",E.message||"Transaction failed",{error:E.message}),E}finally{nr=!1}},[e,n,h,w]),y=p.useCallback(async(x,b,v,C)=>{if(!e)throw new u.SpiceflowError("WALLET_DISCONNECTED","No wallet connected. Please log in first.");const k=C?.userOverride||e,I=C?.validateFeeCalls===!0&&C.feeExecutionMode==="user-transfer"&&u.relayerService.canValidateActionFees(),{actionOutputDeposit:A,batches:E}=gi(x,C);let D=E;const R=C?.feeExecutionMode==="user-transfer"&&!I?ro(D,k):D,B=C?.signAuthorizationsForEstimate?await h(R,k):void 0;let W=C?.useCustomTransfers;A&&(D=(await mi({chainBatches:x,user:k,token:A.token,grossAmount:A.amount,chainAuthorizations:B})).chainBatches,W=!0);const O=C?.feeExecutionMode==="user-transfer"&&!I?ro(D,k):D,M=lo({user:k,chainBatches:O,tokenAddress:b,tokenTransferAmount:v,exp:Math.floor(Date.now()/1e3)+3600,signature:"0x00",chainAuthorizations:B,useCustomTransfers:W}),U=await(I?u.relayerService.validateActionFees(M,{signal:C?.signal}):u.relayerService.estimateActionFees(M,{signal:C?.signal}));return o.current=U,U},[e,h]);return{execute:g,estimate:y,lastFeeEstimate:o.current,hasEmbeddedWallet:t&&n,intentStatus:r,startStatusPolling:a,beginStatusTracking:l,applyStepUpdate:c,clearStatus:d}}const sr=({color:e})=>i.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:[i.jsx("circle",{cx:"7",cy:"7",r:"6.5",stroke:e,strokeWidth:"1.2"}),i.jsx("path",{d:"M7 6v4",stroke:e,strokeWidth:"1.2",strokeLinecap:"round"}),i.jsx("circle",{cx:"7",cy:"4.5",r:"0.7",fill:e})]}),xi=({content:e,label:t="More info",textColor:n="#f9fafb",backgroundColor:s="#111827",borderColor:o="rgba(255,255,255,0.08)",accentColor:r="#9ca3af",children:a})=>{const l=p.useId(),[c,d]=p.useState(!1),m=p.useRef(null),[f,h]=p.useState(!1),[w,g]=p.useState(null);p.useEffect(()=>{h(!0)},[]),p.useLayoutEffect(()=>{if(!c||!m.current)return;const x=()=>{if(!m.current)return;const b=m.current.getBoundingClientRect(),v=Math.min(220,window.innerWidth-48),C=Math.min(Math.max(b.left+b.width/2,24+v/2),window.innerWidth-24-v/2),k=b.top>84;g({top:k?b.top-10:b.bottom+10,left:C,placement:k?"top":"bottom"})};return x(),window.addEventListener("scroll",x,!0),window.addEventListener("resize",x),()=>{window.removeEventListener("scroll",x,!0),window.removeEventListener("resize",x)}},[c]);const y=c&&f&&w?Gn.createPortal(i.jsxs("span",{id:l,role:"tooltip",style:{position:"fixed",left:w.left,top:w.top,transform:w.placement==="top"?"translate(-50%, -100%)":"translate(-50%, 0)",width:"220px",maxWidth:"min(220px, calc(100vw - 48px))",padding:"10px 12px",borderRadius:"10px",backgroundColor:s,color:n,border:`1px solid ${o}`,boxShadow:"0 18px 45px rgba(0,0,0,0.28)",fontSize:"11px",lineHeight:"1.45",fontWeight:500,textAlign:"left",zIndex:u.z.tooltip,pointerEvents:"none"},children:[e,i.jsx("span",{"aria-hidden":"true",style:{position:"absolute",left:"50%",width:"10px",height:"10px",transform:"translateX(-50%) rotate(45deg)",backgroundColor:s,...w.placement==="top"?{bottom:"-6px",borderRight:`1px solid ${o}`,borderBottom:`1px solid ${o}`}:{top:"-6px",borderTop:`1px solid ${o}`,borderLeft:`1px solid ${o}`}}})]}),document.body):null;return i.jsxs(i.Fragment,{children:[i.jsx("span",{ref:m,style:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1),children:i.jsx("button",{type:"button","aria-label":t,"aria-describedby":c?l:void 0,onFocus:()=>d(!0),onBlur:()=>d(!1),style:{width:"18px",height:"18px",borderRadius:"999px",display:"inline-flex",alignItems:"center",justifyContent:"center",border:`1px solid ${o}`,backgroundColor:"transparent",color:r,cursor:"help",padding:0,outline:"none",boxShadow:c?`0 0 0 2px ${r}26`:"none",transition:"border-color 120ms ease, box-shadow 120ms ease, color 120ms ease"},children:a||i.jsx(sr,{color:r})})}),y]})},Is=(e,t,n,s)=>({width:e,height:e,fill:"none",className:t,"aria-hidden":n??!0,style:s}),Jn=({size:e=16,color:t="currentColor",strokeWidth:n=2,direction:s="down",className:o,style:r,"aria-hidden":a})=>i.jsx("svg",{...Is(e,o,a,{transform:s==="up"?"rotate(180deg)":void 0,transition:"transform 0.3s ease",...r}),viewBox:"0 0 16 16",children:i.jsx("path",{d:"M4 6L8 10L12 6",stroke:t,strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round"})}),Jd=({size:e=24,color:t="currentColor",strokeWidth:n=2,className:s,style:o,"aria-hidden":r})=>i.jsxs("svg",{...Is(e,s,r,o),viewBox:"0 0 24 24",children:[i.jsx("circle",{cx:"11",cy:"11",r:"8",stroke:t,strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"m21 21-4.3-4.3",stroke:t,strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round"})]}),$d=({size:e=24,color:t="currentColor",strokeWidth:n=2,className:s,style:o,"aria-hidden":r})=>i.jsx("svg",{...Is(e,s,r,o),viewBox:"0 0 24 24",children:i.jsx("path",{d:"m6 9 6 6 6-6",stroke:t,strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round"})}),_d=({size:e=24,color:t="currentColor",strokeWidth:n=2,className:s,style:o,"aria-hidden":r})=>i.jsx("svg",{...Is(e,s,r,o),viewBox:"0 0 24 24",children:i.jsx("path",{d:"m9 18 6-6-6-6",stroke:t,strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round"})}),yi=({size:e=14,color:t="currentColor",strokeWidth:n=2,className:s,style:o,"aria-hidden":r})=>i.jsx("svg",{...Is(e,s,r,o),viewBox:"0 0 16 16",children:i.jsx("path",{d:"M3 8L6.5 11.5L13 5",stroke:t,strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round"})});function co(e,t){if(e===0n)return"0";const n=10n**BigInt(t),s=e/n,o=(e%n).toString().padStart(t,"0").replace(/0+$/,"");return o?`${s.toString()}.${o}`:s.toString()}function or(e,t,n){const s=`${co(e,t)} ${n}`;return e===0n?s:`-${s}`}const eu=({fontFamily:e,textPrimary:t,textSecondary:n,cardBg:s,cardBorder:o,resolvedDark:r,darkCardBorder:a,primaryColor:l,feePreview:c,feeOnlyAction:d=!1,asset:m,isLoading:f,errorText:h,directExecutionFeeNote:w=!1})=>{const g=u.useAssetDisplay(),y=m&&c&&[m.symbol,m.displaySymbol,m.receiptTokenName].includes(c.symbol)?g(m).symbol:c?.symbol,x=r?a??o:"#e5e7eb",b=r?"#111214":"#111827",v=r?"rgba(255,255,255,0.08)":"rgba(17,24,39,0.12)",C="#f87171",k=r?"#d1d5db":"#4b5563",I=r?"#f3f4f6":t,[A,E]=p.useState(!1),D=!!h,R=D?null:c,B=R?[...d?[]:[{label:"Total Required",help:"Total amount required to fund this action.",value:`${co(R.grossAmount,R.decimals)} ${y}`,tone:"default"}],{label:"Spicenet Fee",help:"Fees paid to Spicenet for intent processing and execution.",value:or(R.spicenetFee,R.decimals,y),tone:"fee"},{label:"Network Fee",help:"Network fee shown in the same token you are using for this action.",value:or(R.gasFee,R.decimals,y),tone:"fee"},...R.bridgeFee&&R.bridgeFee>0n?[{label:"Bridge Fee",help:"Estimated cost to rebalance liquidity for this action.",value:or(R.bridgeFee,R.decimals,y),tone:"fee"}]:[],...d?[]:[{label:"Used in TX",help:"Resulting amount of funds used in the transaction.",value:`${co(R.netAmount,R.decimals)} ${y}`,tone:"default"}]]:[],W=R?`${co(d?R.totalFee??R.gasFee+R.spicenetFee+(R.bridgeFee??0n):R.grossAmount,R.decimals)} ${y}`:null;return D?i.jsx("div",{style:{backgroundColor:s,border:`1px solid ${o}`,borderRadius:r?"8px":"7px",padding:"14px 16px 12px 16px",marginBottom:"16px",boxShadow:r?"inset 0 1px 0 rgba(255,255,255,0.03)":"none"},children:i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"10px"},children:[i.jsx("span",{style:{fontSize:"17px",fontWeight:500,color:k,fontFamily:e,lineHeight:"24px"},children:"Fee"}),i.jsx("div",{style:{color:C,fontSize:"12px",lineHeight:"1.55",fontFamily:e},children:h})]})}):i.jsxs("div",{style:{backgroundColor:s,border:`1px solid ${o}`,borderRadius:r?"8px":"7px",padding:"14px 16px 12px 16px",marginBottom:"16px",boxShadow:r?"inset 0 1px 0 rgba(255,255,255,0.03)":"none"},children:[i.jsxs("button",{type:"button",onClick:()=>E(O=>!O),style:{display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",gap:"12px",marginBottom:A?"14px":0,background:"none",border:"none",padding:0,cursor:"pointer",textAlign:"left"},children:[i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[i.jsx("span",{style:{fontSize:"17px",fontWeight:500,color:k,fontFamily:e,lineHeight:"24px"},children:"Fee"}),A&&i.jsx("span",{style:{fontSize:"12px",color:n,fontFamily:e,lineHeight:"1.45"},children:"What is funded, spent, and taken as fees"})]}),i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",flexShrink:0},children:[W&&i.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-end",gap:"2px",minWidth:0},children:[i.jsx("span",{style:{fontSize:"10px",fontWeight:700,color:n,fontFamily:e,letterSpacing:"0.08em",textTransform:"uppercase"},children:d?"Total fees":"Total required"}),i.jsx("span",{style:{fontSize:"14px",fontWeight:700,color:I,fontFamily:e,whiteSpace:"nowrap"},children:W})]}),f&&!w&&i.jsx("span",{style:{fontSize:"11px",fontWeight:600,color:l,fontFamily:e,padding:"6px 9px",borderRadius:"999px",backgroundColor:r?"rgba(255,255,255,0.04)":"rgba(0,0,0,0.035)",border:`1px solid ${r?x:"rgba(0,0,0,0.06)"}`,whiteSpace:"nowrap"},children:"Recalculating"}),i.jsx(Jn,{color:n,direction:A?"up":"down",style:{flexShrink:0}})]})]}),i.jsx("div",{style:{overflow:"hidden",maxHeight:A?"480px":"0px",opacity:A?1:0,transition:"max-height 0.24s ease, opacity 0.18s ease"},children:w?i.jsx("p",{style:{margin:0,color:n,fontSize:"12px",lineHeight:"1.55",fontFamily:e},children:"This path executes directly from the external wallet. Network gas is shown and paid in your wallet. No Spicenet fee is charged."}):B.length>0?i.jsxs(i.Fragment,{children:[i.jsx("div",{style:{display:"grid",gap:"10px"},children:B.map((O,M)=>i.jsxs("div",{style:{display:"grid",gridTemplateColumns:"minmax(0, 1fr) auto",alignItems:"center",gap:"12px",paddingTop:M===0?0:"10px",borderTop:M===0?"none":`1px solid ${x}`,opacity:f?.74:1,transition:"opacity 120ms ease"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",minWidth:0},children:[i.jsx("span",{style:{fontSize:"12px",color:n,fontFamily:e,fontWeight:500},children:O.label}),i.jsx(xi,{content:O.help,label:`${O.label} info`,textColor:"#f9fafb",backgroundColor:b,borderColor:v,accentColor:r?"#8f96a3":"#6b7280"})]}),i.jsx("span",{style:{fontSize:"12px",color:O.tone==="fee"?C:I,fontFamily:u.font.mono,textAlign:"right",fontWeight:O.label==="Used in TX"?600:500,letterSpacing:"-0.01em"},children:O.value})]},O.label))}),i.jsx("div",{style:{marginTop:"12px",paddingTop:"12px",borderTop:`1px solid ${x}`,fontSize:"11px",color:n,fontFamily:e,lineHeight:"1.45"},children:R?.gasQuoteSource==="estimated"?"Gas quote uses a live estimate.":R?.gasQuoteSource==="configured_fallback"?"Gas quote uses a configured fallback.":"Gas quote is currently zero."})]}):i.jsx("div",{style:{fontSize:"12px",color:h?C:n,fontFamily:e,opacity:h?1:.8,lineHeight:"1.5"},children:h||"Waiting for fee estimate..."})})]})},rr=p.memo(eu),As=({size:e=20,strokeWidth:t=2,color:n="currentColor",style:s})=>i.jsxs("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:t,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",style:s,children:[i.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),i.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]});var wi="data:image/svg+xml,%3csvg width='108' height='22' viewBox='0 0 108 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1.9916 11.9854V11.2041H3.98379C4.48835 11.2041 4.87897 11.0739 5.15566 10.8135C5.43236 10.5498 5.5707 10.1868 5.5707 9.72461V9.71484C5.5707 9.24935 5.43236 8.88639 5.15566 8.62598C4.87897 8.36556 4.48835 8.23535 3.98379 8.23535H1.9916V7.4541H4.2084C4.65111 7.4541 5.04173 7.5485 5.38027 7.7373C5.71882 7.92611 5.98411 8.18978 6.17617 8.52832C6.37148 8.86686 6.46914 9.25911 6.46914 9.70508V9.71484C6.46914 10.1608 6.37148 10.5547 6.17617 10.8965C5.98411 11.2383 5.71882 11.5052 5.38027 11.6973C5.04173 11.8893 4.65111 11.9854 4.2084 11.9854H1.9916ZM1.55215 14.5V7.4541H2.43106V14.5H1.55215ZM9.51875 14.5928C9.0207 14.5928 8.58939 14.4837 8.2248 14.2656C7.86348 14.0443 7.58353 13.7301 7.38496 13.3232C7.18965 12.9163 7.09199 12.4329 7.09199 11.873V11.8633C7.09199 11.3001 7.18965 10.8151 7.38496 10.4082C7.58353 10.0013 7.86348 9.6888 8.2248 9.4707C8.58939 9.2526 9.0207 9.14355 9.51875 9.14355C10.0201 9.14355 10.4514 9.2526 10.8127 9.4707C11.174 9.6888 11.4523 10.0013 11.6477 10.4082C11.8462 10.8151 11.9455 11.3001 11.9455 11.8633V11.873C11.9455 12.4329 11.8462 12.9163 11.6477 13.3232C11.4523 13.7301 11.174 14.0443 10.8127 14.2656C10.4514 14.4837 10.0201 14.5928 9.51875 14.5928ZM9.51875 13.8408C9.85078 13.8408 10.1324 13.7627 10.3635 13.6064C10.5946 13.4502 10.7704 13.2256 10.8908 12.9326C11.0145 12.6396 11.0764 12.2865 11.0764 11.873V11.8633C11.0764 11.4466 11.0145 11.0918 10.8908 10.7988C10.7704 10.5059 10.5946 10.2829 10.3635 10.1299C10.1324 9.97363 9.85078 9.89551 9.51875 9.89551C9.18672 9.89551 8.90514 9.97363 8.67402 10.1299C8.4429 10.2829 8.26549 10.5059 8.1418 10.7988C8.02135 11.0918 7.96113 11.4466 7.96113 11.8633V11.873C7.96113 12.2865 8.02135 12.6396 8.1418 12.9326C8.26549 13.2256 8.4429 13.4502 8.67402 13.6064C8.90514 13.7627 9.18672 13.8408 9.51875 13.8408ZM13.7842 14.5L12.3096 9.23633H13.1592L14.1943 13.4453H14.2725L15.4492 9.23633H16.2549L17.4316 13.4453H17.5098L18.5449 9.23633H19.3896L17.915 14.5H17.0605L15.8838 10.4277H15.8057L14.6338 14.5H13.7842ZM22.1658 14.5928C21.6645 14.5928 21.2332 14.4821 20.8719 14.2607C20.5138 14.0394 20.2371 13.7269 20.0418 13.3232C19.8497 12.9163 19.7537 12.4378 19.7537 11.8877V11.8828C19.7537 11.3392 19.8497 10.8623 20.0418 10.4521C20.2371 10.042 20.5122 9.72135 20.867 9.49023C21.2218 9.25911 21.6368 9.14355 22.1121 9.14355C22.5906 9.14355 23.0008 9.25423 23.3426 9.47559C23.6876 9.69694 23.9513 10.0062 24.1336 10.4033C24.3191 10.7972 24.4119 11.2562 24.4119 11.7803V12.1123H20.1932V11.4336H23.9773L23.5574 12.0537V11.7168C23.5574 11.3034 23.4956 10.9632 23.3719 10.6963C23.2482 10.4294 23.0773 10.2308 22.8592 10.1006C22.6411 9.96712 22.3904 9.90039 22.1072 9.90039C21.824 9.90039 21.5701 9.97038 21.3455 10.1104C21.1242 10.2471 20.9484 10.4505 20.8182 10.7207C20.688 10.9909 20.6229 11.3229 20.6229 11.7168V12.0537C20.6229 12.4281 20.6863 12.7487 20.8133 13.0156C20.9402 13.2793 21.1209 13.4827 21.3553 13.626C21.5896 13.766 21.8663 13.8359 22.1854 13.8359C22.423 13.8359 22.6297 13.8034 22.8055 13.7383C22.9813 13.6732 23.1261 13.5902 23.24 13.4893C23.354 13.3883 23.4337 13.2858 23.4793 13.1816L23.4988 13.1377H24.3484L24.3387 13.1768C24.2931 13.3558 24.2117 13.5299 24.0945 13.6992C23.9806 13.8652 23.8325 14.0166 23.6502 14.1533C23.4679 14.2868 23.2514 14.3942 23.0008 14.4756C22.7534 14.5537 22.4751 14.5928 22.1658 14.5928ZM25.4303 14.5V9.23633H26.2799V10.0176H26.358C26.4589 9.74089 26.6298 9.52604 26.8707 9.37305C27.1116 9.22005 27.4094 9.14355 27.7643 9.14355C27.8456 9.14355 27.9254 9.14844 28.0035 9.1582C28.0849 9.16471 28.1467 9.17122 28.1891 9.17773V10.0029C28.1012 9.98665 28.0149 9.97526 27.9303 9.96875C27.8489 9.95898 27.761 9.9541 27.6666 9.9541C27.3964 9.9541 27.1572 10.0078 26.9488 10.1152C26.7405 10.2227 26.5761 10.3724 26.4557 10.5645C26.3385 10.7565 26.2799 10.9811 26.2799 11.2383V14.5H25.4303ZM30.9408 14.5928C30.4395 14.5928 30.0082 14.4821 29.6469 14.2607C29.2888 14.0394 29.0121 13.7269 28.8168 13.3232C28.6247 12.9163 28.5287 12.4378 28.5287 11.8877V11.8828C28.5287 11.3392 28.6247 10.8623 28.8168 10.4521C29.0121 10.042 29.2872 9.72135 29.642 9.49023C29.9968 9.25911 30.4118 9.14355 30.8871 9.14355C31.3656 9.14355 31.7758 9.25423 32.1176 9.47559C32.4626 9.69694 32.7263 10.0062 32.9086 10.4033C33.0941 10.7972 33.1869 11.2562 33.1869 11.7803V12.1123H28.9682V11.4336H32.7523L32.3324 12.0537V11.7168C32.3324 11.3034 32.2706 10.9632 32.1469 10.6963C32.0232 10.4294 31.8523 10.2308 31.6342 10.1006C31.4161 9.96712 31.1654 9.90039 30.8822 9.90039C30.599 9.90039 30.3451 9.97038 30.1205 10.1104C29.8992 10.2471 29.7234 10.4505 29.5932 10.7207C29.463 10.9909 29.3979 11.3229 29.3979 11.7168V12.0537C29.3979 12.4281 29.4613 12.7487 29.5883 13.0156C29.7152 13.2793 29.8959 13.4827 30.1303 13.626C30.3646 13.766 30.6413 13.8359 30.9604 13.8359C31.198 13.8359 31.4047 13.8034 31.5805 13.7383C31.7563 13.6732 31.9011 13.5902 32.015 13.4893C32.129 13.3883 32.2087 13.2858 32.2543 13.1816L32.2738 13.1377H33.1234L33.1137 13.1768C33.0681 13.3558 32.9867 13.5299 32.8695 13.6992C32.7556 13.8652 32.6075 14.0166 32.4252 14.1533C32.2429 14.2868 32.0264 14.3942 31.7758 14.4756C31.5284 14.5537 31.2501 14.5928 30.9408 14.5928ZM36.1486 14.5928C35.7059 14.5928 35.3186 14.4805 34.9865 14.2559C34.6545 14.0312 34.3973 13.7155 34.215 13.3086C34.0328 12.8984 33.9416 12.4199 33.9416 11.873V11.8633C33.9416 11.3132 34.0328 10.8346 34.215 10.4277C34.3973 10.0208 34.6529 9.70508 34.9816 9.48047C35.3137 9.25586 35.7027 9.14355 36.1486 9.14355C36.3895 9.14355 36.6158 9.18262 36.8273 9.26074C37.0422 9.33561 37.2326 9.44141 37.3986 9.57812C37.5647 9.71484 37.6949 9.8776 37.7893 10.0664H37.8674V7.14648H38.717V14.5H37.8674V13.6602H37.7893C37.6818 13.8555 37.5467 14.0231 37.384 14.1631C37.2212 14.2998 37.0357 14.4056 36.8273 14.4805C36.619 14.5553 36.3928 14.5928 36.1486 14.5928ZM36.3439 13.8408C36.663 13.8408 36.938 13.7611 37.1691 13.6016C37.4003 13.4421 37.5777 13.2158 37.7014 12.9229C37.8251 12.6266 37.8869 12.2767 37.8869 11.873V11.8633C37.8869 11.4564 37.8251 11.1064 37.7014 10.8135C37.5777 10.5205 37.4003 10.2943 37.1691 10.1348C36.938 9.97526 36.663 9.89551 36.3439 9.89551C36.0249 9.89551 35.7499 9.97526 35.5188 10.1348C35.2909 10.291 35.1151 10.5156 34.9914 10.8086C34.871 11.1016 34.8107 11.4531 34.8107 11.8633V11.873C34.8107 12.2799 34.871 12.6315 34.9914 12.9277C35.1151 13.2207 35.2909 13.4469 35.5188 13.6064C35.7499 13.7627 36.0249 13.8408 36.3439 13.8408ZM45.1775 14.5928C44.9334 14.5928 44.7072 14.5553 44.4988 14.4805C44.2905 14.4056 44.1049 14.2998 43.9422 14.1631C43.7794 14.0231 43.6443 13.8555 43.5369 13.6602H43.4588V14.5H42.6092V7.14648H43.4588V10.0664H43.5369C43.6346 9.8776 43.7648 9.71484 43.9275 9.57812C44.0936 9.44141 44.2824 9.33561 44.4939 9.26074C44.7088 9.18262 44.9367 9.14355 45.1775 9.14355C45.6235 9.14355 46.0109 9.25586 46.3396 9.48047C46.6717 9.70508 46.9288 10.0208 47.1111 10.4277C47.2934 10.8346 47.3846 11.3132 47.3846 11.8633V11.873C47.3846 12.4199 47.2934 12.8984 47.1111 13.3086C46.9288 13.7155 46.6717 14.0312 46.3396 14.2559C46.0109 14.4805 45.6235 14.5928 45.1775 14.5928ZM44.9822 13.8408C45.3045 13.8408 45.5796 13.7627 45.8074 13.6064C46.0353 13.4469 46.2094 13.2207 46.3299 12.9277C46.4536 12.6315 46.5154 12.2799 46.5154 11.873V11.8633C46.5154 11.4531 46.4536 11.1016 46.3299 10.8086C46.2094 10.5156 46.0353 10.291 45.8074 10.1348C45.5796 9.97526 45.3045 9.89551 44.9822 9.89551C44.6632 9.89551 44.3881 9.97526 44.157 10.1348C43.9259 10.2943 43.7485 10.5205 43.6248 10.8135C43.5011 11.1064 43.4393 11.4564 43.4393 11.8633V11.873C43.4393 12.2767 43.5011 12.6266 43.6248 12.9229C43.7485 13.2158 43.9259 13.4421 44.157 13.6016C44.3881 13.7611 44.6632 13.8408 44.9822 13.8408ZM48.6568 16.3457C48.6015 16.3457 48.5396 16.3424 48.4713 16.3359C48.4029 16.3327 48.3395 16.3262 48.2809 16.3164V15.6182C48.3329 15.6279 48.3899 15.6344 48.4518 15.6377C48.5136 15.641 48.5738 15.6426 48.6324 15.6426C48.8733 15.6426 49.0702 15.5807 49.2232 15.457C49.3795 15.3333 49.5048 15.1201 49.5992 14.8174L49.6969 14.5049L47.7486 9.23633H48.6568L50.2779 14.0996L49.941 13.5674H50.3414L50.0045 14.0996L51.6207 9.23633H52.5143L50.4586 14.8223C50.3154 15.2161 50.164 15.5238 50.0045 15.7451C49.845 15.9665 49.6578 16.1211 49.443 16.209C49.2314 16.3001 48.9693 16.3457 48.6568 16.3457Z' fill='%230E0D0B'/%3e%3cpath d='M62.7081 13.27C62.742 13.27 62.7642 13.3057 62.7491 13.3362V13.336L61.1229 16.6083C61.0892 16.6761 60.9926 16.6759 60.959 16.6083L59.3382 13.336C59.3232 13.3057 59.3453 13.27 59.3792 13.27H62.7081Z' fill='%23EA4B4B'/%3e%3cpath d='M61.0026 9.71913C61.0194 9.68524 61.0678 9.68524 61.0845 9.71913L62.747 13.0897C62.762 13.12 62.7399 13.1557 62.706 13.1557H59.3763C59.3424 13.1557 59.3203 13.12 59.3353 13.0897L61.0026 9.71913Z' fill='%23EA4B4B'/%3e%3cpath d='M60.8426 9.63827C60.8766 9.63827 60.8987 9.6741 60.8835 9.70444L59.2164 13.0594C59.1995 13.0932 59.1513 13.0932 59.1345 13.0594L57.5001 9.77047C57.47 9.70962 57.5142 9.63827 57.5821 9.63827H60.8426Z' fill='%23EA4B4B'/%3e%3cpath d='M64.5036 9.63617C64.5715 9.63618 64.6157 9.70753 64.5855 9.76838H64.5854L62.9512 13.0573C62.9344 13.0911 62.8862 13.0912 62.8692 13.0573L61.2021 9.70235C61.187 9.672 61.2091 9.63617 61.2431 9.63617H64.5036Z' fill='%23EA4B4B'/%3e%3cpath d='M62.8284 6.18281C62.862 6.11518 62.9586 6.11518 62.9922 6.18281L64.5855 9.38969C64.6157 9.45054 64.5715 9.52189 64.5036 9.52189H61.2431C61.2091 9.52189 61.187 9.48605 61.2021 9.45571L62.8283 6.18265L62.8284 6.18281Z' fill='%23EA4B4B'/%3e%3cpath d='M62.3131 6.13196C62.381 6.13196 62.4252 6.20331 62.3951 6.26416C62.154 6.74935 61.9128 7.23455 61.6718 7.71975H61.6716C61.4225 8.22125 61.1733 8.72259 60.9242 9.22409C60.9074 9.25799 60.859 9.25799 60.8422 9.22409L60.6305 8.79587C60.6275 8.78957 60.6259 8.78263 60.6259 8.77553V6.22349C60.6259 6.17297 60.6668 6.13196 60.7173 6.13196H62.3131Z' fill='%23EA4B4B'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M74.8537 10.0096C75.2721 10.0096 75.654 10.1125 75.9993 10.3184C76.3513 10.5177 76.6303 10.8032 76.8361 11.1751C77.0487 11.547 77.1549 11.9953 77.1549 12.52V12.6495C77.1549 13.1675 77.052 13.6158 76.8461 13.9943C76.6402 14.3729 76.3613 14.6618 76.0093 14.861C75.664 15.0603 75.2788 15.1599 74.8537 15.1599C74.515 15.1599 74.2261 15.1134 73.9871 15.0204C73.7546 14.9341 73.5653 14.8212 73.4192 14.6817C73.2731 14.5423 73.1602 14.3995 73.0805 14.2534H72.941V16.9659L72.1541 16.0013V10.1491H72.9211V10.956H73.0352C73.2729 10.6733 73.3893 10.4911 73.6683 10.2985C73.9538 10.1059 74.349 10.0096 74.8537 10.0096ZM74.6445 10.7069C74.1464 10.7069 73.7347 10.8696 73.4092 11.195C73.0905 11.5138 72.9311 11.9621 72.9311 12.5399V12.6296C72.9311 13.2074 73.0905 13.659 73.4092 13.9844C73.7347 14.3032 74.1464 14.4626 74.6445 14.4626C75.1492 14.4626 75.5577 14.3032 75.8698 13.9844C76.1886 13.659 76.348 13.2074 76.348 12.6296V12.5399C76.348 11.9621 76.1886 11.5138 75.8698 11.195C75.5577 10.8696 75.1492 10.7069 74.6445 10.7069Z' fill='%230E0D0B'/%3e%3cpath d='M78.5848 11.9583L78.5555 15.4596L77.7681 14.4846V10.9583L78.5848 11.9583Z' fill='%230E0D0B'/%3e%3cpath d='M101.588 10.2986H102.444L103 10.986H101.588V10.9867H100.802L101.588 11.9623V14.1937C101.588 14.3929 101.685 14.4926 101.877 14.4926H102.379L102.928 15.17H101.668C101.389 15.17 101.173 15.0936 101.021 14.9409C100.874 14.7881 100.801 14.5789 100.801 14.3133V10.986H99.8799L99.3217 10.2986H100.801V9.13501H101.588V10.2986Z' fill='%230E0D0B'/%3e%3cpath d='M69.0133 7.90764C69.4848 7.90764 69.9065 7.99068 70.2784 8.15671C70.6569 8.3161 70.9525 8.55517 71.165 8.87395C71.3842 9.18609 71.4938 9.58126 71.4938 10.0594V10.4778H70.667V10.0594C70.667 9.72072 70.5939 9.44842 70.4477 9.24254C70.3083 9.03666 70.1124 8.88392 69.86 8.7843C69.6143 8.68469 69.332 8.63487 69.0133 8.63487C68.555 8.63487 68.1864 8.7378 67.9075 8.94367C67.6286 9.14291 67.4891 9.4285 67.4891 9.80041C67.4891 10.0461 67.5488 10.2453 67.6684 10.3981C67.7879 10.5508 67.9573 10.677 68.1764 10.7767C68.3956 10.8696 68.658 10.9527 68.9635 11.0257L69.4815 11.1552C69.8866 11.2416 70.2485 11.3611 70.5673 11.5138C70.8927 11.6599 71.1517 11.8625 71.3443 12.1215C71.5369 12.3739 71.6332 12.706 71.6332 13.1177C71.6332 13.5295 71.5303 13.8881 71.3244 14.1936C71.1185 14.4991 70.8263 14.7382 70.4477 14.9109C70.0758 15.0769 69.6375 15.1599 69.1328 15.1599C68.6281 15.1599 68.1765 15.0702 67.778 14.8909C67.3795 14.7116 67.0641 14.4426 66.8316 14.084C66.6058 13.7187 66.4929 13.2638 66.4929 12.7192V12.51H67.3197V12.7192C67.3197 13.297 67.4891 13.7287 67.8278 14.0143C68.1665 14.2932 68.6015 14.4327 69.1328 14.4327C69.6774 14.4327 70.0924 14.3098 70.378 14.0641C70.6636 13.8183 70.8064 13.5095 70.8064 13.1376C70.8064 12.8786 70.74 12.6727 70.6072 12.52C70.481 12.3673 70.3017 12.2444 70.0692 12.1514C69.8368 12.0518 69.5645 11.9655 69.2523 11.8924L68.7343 11.7629C68.3292 11.6566 67.9706 11.5271 67.6584 11.3744C67.3463 11.2216 67.1006 11.0224 66.9213 10.7767C66.7486 10.5243 66.6623 10.2022 66.6623 9.81035C66.6623 9.41852 66.7585 9.07981 66.9511 8.79424C67.1504 8.50866 67.426 8.28953 67.778 8.13678C68.1366 7.98404 68.5484 7.90764 69.0133 7.90764Z' fill='%230E0D0B'/%3e%3cpath d='M81.6544 10.0096C82.1193 10.0096 82.5145 10.0959 82.8399 10.2686C83.1719 10.4412 83.431 10.6704 83.6169 10.956C83.8095 11.2415 83.9324 11.5471 83.9855 11.8725L83.2185 12.0318C83.1853 11.7928 83.1056 11.5736 82.9794 11.3744C82.8598 11.1752 82.6905 11.0158 82.4713 10.8962C82.2521 10.7767 81.9832 10.7169 81.6644 10.7169C81.339 10.7169 81.0468 10.7899 80.7877 10.936C80.5354 11.0821 80.3328 11.2914 80.1801 11.5637C80.034 11.836 79.9609 12.1614 79.9609 12.5399V12.6296C79.9609 13.0081 80.034 13.3335 80.1801 13.6058C80.3328 13.8781 80.5354 14.0873 80.7877 14.2334C81.0468 14.3795 81.339 14.4526 81.6644 14.4526C82.1492 14.4526 82.5178 14.3264 82.7702 14.0741C83.0292 13.8217 83.1886 13.5095 83.2483 13.1376L84.0254 13.307C83.9523 13.6257 83.8195 13.9279 83.6269 14.2135C83.4343 14.4991 83.172 14.7282 82.8399 14.9009C82.5145 15.0735 82.1193 15.1599 81.6544 15.1599C81.1829 15.1599 80.7579 15.0603 80.3793 14.861C80.0074 14.6551 79.7119 14.363 79.4927 13.9844C79.2802 13.6059 79.1739 13.1575 79.1739 12.6395V12.5299C79.1739 12.0053 79.2802 11.557 79.4927 11.1851C79.7119 10.8066 80.0074 10.5177 80.3793 10.3184C80.7579 10.1126 81.1829 10.0096 81.6544 10.0096Z' fill='%230E0D0B'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M86.7515 10.0096C87.2097 10.0096 87.6149 10.1092 87.9668 10.3084C88.3188 10.501 88.5944 10.78 88.7937 11.1452C88.9929 11.5105 89.0925 11.9389 89.0925 12.4304V12.7889H85.1177C85.1377 13.3136 85.3071 13.7254 85.6258 14.0243C85.9446 14.3165 86.3431 14.4626 86.8212 14.4626C87.2396 14.4626 87.5617 14.3663 87.7875 14.1737C88.0133 13.9811 88.186 13.752 88.3056 13.4863L88.983 13.815C88.8833 14.0209 88.7439 14.2268 88.5646 14.4327C88.3919 14.6386 88.1628 14.8113 87.8772 14.9507C87.5983 15.0902 87.2396 15.1599 86.8013 15.1599C86.3099 15.1599 85.8782 15.057 85.5063 14.8511C85.1344 14.6386 84.8455 14.343 84.6396 13.9645C84.4337 13.5859 84.3307 13.1476 84.3307 12.6495V12.5299C84.3307 12.0252 84.4337 11.5836 84.6396 11.205C84.8455 10.8265 85.1311 10.5342 85.4963 10.3284C85.8616 10.1159 86.28 10.0096 86.7515 10.0096ZM86.7515 10.7069C86.3066 10.7069 85.9413 10.8331 85.6557 11.0855C85.3701 11.3378 85.1941 11.6898 85.1277 12.1414H88.2956C88.269 11.6898 88.113 11.3378 87.8274 11.0855C87.5485 10.8331 87.1898 10.7069 86.7515 10.7069Z' fill='%230E0D0B'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M97.1624 10.0096C97.6207 10.0096 98.0258 10.1092 98.3778 10.3084C98.7298 10.501 99.0054 10.78 99.2046 11.1452C99.4039 11.5105 99.5035 11.9389 99.5035 12.4304V12.7889H95.5287C95.5487 13.3136 95.718 13.7254 96.0368 14.0243C96.3555 14.3165 96.754 14.4626 97.2322 14.4626C97.6505 14.4626 97.9727 14.3663 98.1985 14.1737C98.4243 13.9811 98.5969 13.752 98.7165 13.4863L99.3939 13.815C99.2943 14.0209 99.1548 14.2268 98.9755 14.4327C98.8028 14.6386 98.5737 14.8113 98.2881 14.9507C98.0092 15.0902 97.6506 15.1599 97.2123 15.1599C96.7208 15.1599 96.2892 15.057 95.9172 14.8511C95.5453 14.6386 95.2564 14.343 95.0505 13.9645C94.8446 13.5859 94.7417 13.1476 94.7417 12.6495V12.5299C94.7417 12.0252 94.8446 11.5836 95.0505 11.205C95.2564 10.8265 95.542 10.5342 95.9073 10.3284C96.2725 10.1158 96.6909 10.0096 97.1624 10.0096ZM97.1624 10.7069C96.7175 10.7069 96.3522 10.8331 96.0666 11.0855C95.7811 11.3378 95.6051 11.6898 95.5387 12.1414H98.7066C98.68 11.6898 98.5239 11.3378 98.2383 11.0855C97.9594 10.8331 97.6008 10.7069 97.1624 10.7069Z' fill='%230E0D0B'/%3e%3cpath d='M92.2484 10.0594C92.6137 10.0594 92.9391 10.1358 93.2247 10.2885C93.5169 10.4413 93.7494 10.6671 93.9221 10.966C94.0947 11.2648 94.1811 11.6334 94.1811 12.0717V15.1458H93.394V12.1315C93.394 11.6467 93.2712 11.2947 93.0255 11.0755C92.7864 10.8564 92.461 10.7468 92.0492 10.7468C91.5777 10.7468 91.1925 10.8995 90.8936 11.205C90.6014 11.5105 90.4553 11.9655 90.4553 12.5698V15.1458H89.6683V10.1491H90.4354V10.9582H90.5361C90.7355 10.7018 90.8604 10.5342 91.1128 10.3483C91.3718 10.1557 91.7503 10.0594 92.2484 10.0594Z' fill='%230E0D0B'/%3e%3cpath d='M78.5932 10.9581H77.7681V10.1514H78.6L78.5932 10.9581Z' fill='%230E0D0B'/%3e%3c/svg%3e";const bi=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(","),fn=({isOpen:e,onClose:t,title:n,subtitle:s,children:o,overlayContent:r,overlayDimmed:a=!0,styles:l,theme:c,maxWidth:d="522px",dark:m,footerLinkText:f,bannerSrc:h,bannerAlt:w,closeOnBackdropClick:g=!1})=>{const{theme:y,dark:x,dk:b,palette:v}=u.useSpiceBrand(l,m),C=m??x,k=c||y,I=l?.fontFamily||k.typography.fontFamily||u.font.ui,A=l?.primaryColor||k.colors.primary,E=p.useRef(null),D=p.useRef(null),R=p.useRef(null),B=p.useId(),[W,O]=p.useState(!1),[M,U]=p.useState(!1),F=p.useRef(t);if(p.useEffect(()=>{F.current=t},[t]),p.useEffect(()=>{if(!e){U(!1);return}D.current=document.activeElement;const q=document.body.style.overflow;document.body.style.overflow="hidden";const oe=requestAnimationFrame(()=>{const $=requestAnimationFrame(()=>U(!0));R.current=$}),pe=()=>{const $=E.current;$&&($.querySelectorAll(bi)[0]??$).focus({preventScroll:!0})},ae=$=>{if($.key==="Escape"){$.stopPropagation(),F.current();return}if($.key!=="Tab")return;const X=E.current;if(!X)return;const ee=Array.from(X.querySelectorAll(bi)).filter(j=>!j.hasAttribute("aria-hidden"));if(ee.length===0){$.preventDefault(),X.focus();return}const Y=ee[0],we=ee[ee.length-1],be=document.activeElement;$.shiftKey&&be===Y?($.preventDefault(),we.focus()):!$.shiftKey&&be===we&&($.preventDefault(),Y.focus())},Q=requestAnimationFrame(pe);return document.addEventListener("keydown",ae),()=>{cancelAnimationFrame(Q),cancelAnimationFrame(oe),R.current&&cancelAnimationFrame(R.current),document.removeEventListener("keydown",ae),document.body.style.overflow=q;const $=D.current;$&&typeof $.focus=="function"&&$.focus({preventScroll:!0})}},[e]),!e)return null;const N=!!h&&!W,L=w??"";return i.jsx("div",{onMouseDown:q=>{g&&q.target===q.currentTarget&&F.current()},style:{position:"fixed",inset:0,backgroundColor:C?"rgba(0,0,0,0.72)":"rgba(0,0,0,0.5)",display:"flex",alignItems:"center",justifyContent:"center",padding:"clamp(16px, 4vw, 48px)",zIndex:u.z.modal,opacity:M?1:0,transition:`opacity ${u.duration.normal} ${u.easing.out}`},children:i.jsx("div",{ref:E,role:"dialog","aria-modal":"true","aria-labelledby":B,tabIndex:-1,style:{backgroundColor:v.shellBorder,borderRadius:"12px",padding:"5px",width:"100%",maxWidth:d,boxSizing:"border-box",boxShadow:"0 16px 48px rgba(0, 0, 0, 0.4)",outline:"none",transform:M?"scale(1)":"scale(0.96)",transition:`transform ${u.duration.slow} ${u.easing.out}`,display:"flex",flexDirection:"column",maxHeight:"100%"},children:i.jsxs("div",{style:{backgroundColor:v.shell,border:`1px solid ${v.shellInnerBorder}`,borderRadius:"9px",width:"100%",padding:"0",display:"flex",flexDirection:"column",position:"relative",flex:"0 1 auto",minHeight:0,overflowY:"auto",overflowX:"hidden"},children:[r&&a&&i.jsx("div",{style:{position:"absolute",inset:0,backgroundColor:"rgba(0, 0, 0, 0.4)",zIndex:5,pointerEvents:"none",borderRadius:"12px"},"aria-hidden":"true"}),N&&i.jsxs("div",{style:{position:"relative",width:"100%"},children:[i.jsx("img",{src:h,style:{width:"100%",height:"auto",display:"block",borderRadius:"6px 6px 0 0"},alt:L,"aria-hidden":L===""?"true":void 0,onError:()=>O(!0)}),i.jsx("button",{type:"button",onClick:t,"aria-label":"Close dialog",style:{position:"absolute",top:"8px",right:"8px",minWidth:"44px",minHeight:"44px",color:v.textPrimary,padding:"8px",backgroundColor:"transparent",borderRadius:"9999px",border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",zIndex:1},children:i.jsx(As,{size:28,strokeWidth:2.5})})]}),i.jsxs("div",{style:{padding:"28px 28px 0 28px",position:"relative"},children:[!N&&i.jsx("button",{type:"button",onClick:t,"aria-label":"Close dialog",style:{position:"absolute",top:"10px",right:"10px",minWidth:"44px",minHeight:"44px",color:v.textSecondary,padding:"10px",backgroundColor:"transparent",borderRadius:"50%",border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",transition:"background-color 0.2s",fontSize:"18px",fontWeight:"600"},onMouseEnter:q=>{q.currentTarget.style.backgroundColor=C?`${A}1a`:"#f3f4f6"},onMouseLeave:q=>{q.currentTarget.style.backgroundColor="transparent"},children:i.jsx(As,{size:24,strokeWidth:2.4})}),i.jsx("h2",{id:B,style:{fontSize:"22px",fontWeight:"700",color:v.textPrimary,margin:"0",fontFamily:I,lineHeight:"1.12"},children:n})]}),s&&i.jsx("div",{style:{padding:"11px 28px 13px 28px",fontSize:"12px",color:v.textSecondary,margin:"0",lineHeight:"1.35",fontFamily:I,borderBottom:C?`1px solid ${b.cardBorder}`:"1px solid #cdcfd1"},children:s}),o,i.jsxs("div",{style:{padding:"12px 28px",display:"flex",justifyContent:"space-between",alignItems:"center"},children:[i.jsx("img",{src:wi,alt:"","aria-hidden":"true",width:108,height:22,decoding:"async",style:{width:"108px",height:"22px",opacity:C?.85:1,filter:C?"brightness(0) invert(1)":"none",margin:0,display:"block"}}),i.jsx("a",{href:"https://spiceflow-docs.spicenet.io",target:"_blank",rel:"noopener noreferrer",style:{fontSize:"10px",color:v.textSecondary,textDecoration:"none",display:"flex",alignItems:"center",gap:"4px",fontFamily:I,lineHeight:"1"},children:i.jsx("span",{style:{color:A,textDecoration:"underline",fontWeight:"500"},children:f??"Learn more \u2192"})})]}),r]})})})},vi=({dk:e,dark:t,message:n,buttonLabel:s,onAction:o,disabled:r=!1})=>i.jsxs("div",{style:{padding:"12px",backgroundColor:e.warningBg,borderRadius:"8px",border:`1px solid ${e.warningBorder}`},children:[i.jsx("p",{style:{margin:"0 0 10px 0",color:e.warningText,fontSize:"14px"},children:n}),i.jsx("button",{onClick:o,disabled:r,style:{width:"100%",padding:"8px 12px",borderRadius:"6px",border:`1px solid ${t?e.warningBorder:"#fbbf24"}`,backgroundColor:t?e.cardBg:"white",cursor:r?"not-allowed":"pointer",fontWeight:600,fontSize:"13px",color:e.warningText,opacity:r?.6:1},children:s})]}),Ci=({dk:e,dark:t,borderRadius:n,children:s})=>i.jsx("div",{style:{padding:"8px 12px",marginBottom:"8px",backgroundColor:t?e.warningBg:"#fffbeb",border:`1px solid ${e.warningBorder}`,borderRadius:n,fontSize:"12px",color:e.warningText,lineHeight:"1.4"},children:s});async function ki(e,t,n){let s=null;try{const o=await e.request({method:"eth_chainId"});s=parseInt(o,16)}catch{s=null}s!==t&&(n?.(),await u.ensureWalletOnChain(e,t))}function Si(e){let t=e;const n=new Set;for(;t&&typeof t=="object"&&!n.has(t);){if(n.add(t),t.code===4001)return!0;t=t.cause}return!1}async function ar(e){const t=e.provider??await e.wallet?.getEthereumProvider();if(!t)throw new Error("External wallet provider not available");await ki(t,e.chainId,e.onSwitch);const n=await t.request({method:"eth_accounts"});if(!Array.isArray(n)||!n.some(o=>typeof o=="string"&&o.toLowerCase()===e.account.toLowerCase()))throw new Error("The connected source wallet changed. Reconnect the selected account before funding.");const s=u.getChainConfig(e.chainId)?.viemChain;return{extWc:T.createWalletClient({account:e.account,chain:s,transport:T.custom(t)}),viemChain:s}}async function Ii(e,t,n){const s=Date.now()+1e4;for(;Date.now()<s;){let o;try{o=await Promise.all([t.getBlockNumber({cacheTime:0}),e.request({method:"eth_blockNumber"}).then(BigInt)])}catch{return}if(o.every(r=>r>=n))return;await new Promise(r=>setTimeout(r,250))}}async function tu(e){let t;for(const[n,s]of e.calls.entries()){await e.observer?.onSending?.(n);let o;try{o=await e.extWc.sendTransaction({to:s.to,data:s.data,value:s.value,chain:e.viemChain})}catch(l){throw Si(l)&&e.observer?.onRejected?.(n),l}e.observer?.onSubmitted?.(n,o);const r=await ao({client:e.client,hash:o,call:s,onRepriced:l=>e.observer?.onSubmitted?.(n,l),onCancelled:()=>e.observer?.onReverted?.(n,o)});o=r.hash;const a=r.receipt;if(a.status!=="success")throw e.observer?.onReverted?.(n,o),new Error(e.errorMessage);await Ii(e.extWc,e.client,a.blockNumber),e.observer?.onConfirmed?.(n,o),t=o}return t}async function Ai(e){const t=await e.client.estimateFeesPerGas(),n=t.maxFeePerGas??t.gasPrice;if(typeof n!="bigint"||n<=0n)throw new Error("Network gas could not be priced.");let s=0n;for(const o of e.calls){const r=await e.client.estimateGas({account:e.account,...o});s+=(r*n*120n+99n)/100n}return s}function uo(e,t,n,s){return n?{to:e,value:s,data:"0x"}:{to:t,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[e,s]})}}async function Ei(e){const t=uo(e.recipient,e.token,e.isNative,e.amount),[n,s]=await Promise.all([e.client.estimateGas({account:e.account,...t}),e.client.estimateFeesPerGas()]),o=s.maxFeePerGas??s.gasPrice;if(typeof o!="bigint"||o<=0n)throw new Error("Source transaction gas could not be priced.");return(n*o*120n+99n)/100n}function ir(e,t){return t.isNative?e.sendTransaction({to:t.recipient,value:t.amount,chain:t.viemChain}):e.sendTransaction({to:t.tokenAddr,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[t.recipient,t.amount]}),chain:t.viemChain})}async function nu(e){const{extWc:t,sourceClient:n,recipient:s,tokenAddr:o,isNative:r,amount:a}=e;if(a<=0n)return;await e.observer?.onSending?.(0);let l;try{l=await ir(t,{recipient:s,tokenAddr:o,isNative:r,amount:a,viemChain:e.viemChain})}catch(m){throw Si(m)&&e.observer?.onRejected?.(0),m}e.observer?.onSubmitted?.(0,l);const c=await ao({client:n,hash:l,call:uo(s,o,r,a),onRepriced:m=>e.observer?.onSubmitted?.(0,m),onCancelled:()=>e.observer?.onReverted?.(0,l)});l=c.hash;const d=c.receipt;if(d.status!=="success")throw e.observer?.onReverted?.(0,l),new Error("Embedded wallet funding failed");await Ii(t,n,d.blockNumber),e.observer?.onConfirmed?.(0,l)}function Fi({escrowAddress:e,tokenAddress:t,isNative:n,amount:s,gasFeeAmount:o}){const r=(a,l)=>n?{to:a,value:l,data:"0x"}:{to:t,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[a,l]})};return[r(e,s),...o>0n?[r(S.SPICE_GAS_FEE_RECIPIENT,o)]:[]]}function su({sourceChainId:e,selectedAsset:t,destinationChainId:n,destinationTokenAddress:s,isCrossDenomination:o,convertedUsdAmount:r}){const a=S.normalizeNativeTokenAddress(t.asset.address),l=s;let c,d;if(l&&n)if(c=u.CHAIN_CONFIGS[n]?.supportedTokens?.find(m=>u.addressesEqual(m.address,l))?.decimals??t.asset.decimals,o){if(!r)throw new Error("Destination amount is still being calculated. Please retry in a moment.");d=r}else{const m=T.parseUnits(t.amount,t.asset.decimals);d=S.convertAmountBetweenDecimals(m,t.asset.decimals,c)}return{sourceChainId:e,depositTokenAddress:a,depositAmount:t.amount,depositTokenDecimals:t.asset.decimals,destinationChainId:n,destinationTokenAddress:l,destinationAmount:d,destinationTokenDecimals:c}}async function ou(e,t){if(!e)return[];if(Array.isArray(e))return e;const n=e;return e.length>=2?n(t.depositAmount,t.depositTokenAddress):n(t)}function Ti(e,t){return!!e&&e.quotedAmount===t.amount&&e.chainId===t.chainId&&u.addressesEqual(e.token,t.token)}async function po(e,t){const n=await ir(e,{recipient:t.recipient,tokenAddr:t.tokenAddr,isNative:t.isNative,amount:t.amount});t.afterSend?.(n);const s=u.getClientForChain(t.chainId),{receipt:o,hash:r}=await ao({client:s,hash:n,call:uo(t.recipient,t.tokenAddr,t.isNative,t.amount),confirmations:2});if(o.status!=="success")throw new Error(t.failureMessage);return t.settle&&await s.getBlockNumber()-o.blockNumber<2n&&await pn(3e3),r}async function ru(e){const t=e.selectedDepositAssets.filter(o=>o.asset&&o.amount&&parseFloat(o.amount)>0);if(t.length===0){console.error("[DepositModal] No valid assets for deposit"),e.setError("Please select an asset and enter an amount");return}const n=t[0];if(!e.escrowOnly&&!e.sourceAddress){e.setError("External wallet not connected. Please connect your wallet in the previous step.");return}if(!e.isNon7702){if(!e.address||!e.embeddedWalletAddress){e.setError("Couldn't find your account wallet. Try reconnecting.");return}if(!e.isReady||!e.isAuthenticated){e.setError("Sign in to continue.");return}}if(e.zeroCreditError){e.setError(e.zeroCreditError);return}if(e.depositBalanceError){e.setError(e.depositBalanceError);return}if(e.isNon7702&&e.sponsorGas&&e.nativeChainId&&n.asset.chainId!==e.nativeChainId&&e.destinationTokenAddress){e.setError("Gas sponsorship is not supported for this deposit route. Disable sponsorGas to continue.");return}e.setIsExecuting(!0),e.setError(null);let s=!1;try{const o=n.asset.chainId,r=S.getEscrowContractAddress(o),a=T.parseUnits(n.amount,n.asset.decimals),l=t.length===1&&Ti(e.effectiveDepositFee,{amount:a,token:S.normalizeNativeTokenAddress(n.asset.address),chainId:o}),c=!e.isNon7702&&!e.escrowOnly&&!Rn(n.asset);if(!e.isNon7702&&t.length===1&&!c&&!l)throw new Error("Fee quote is out of date. Please wait for it to refresh.");let d=e.externalWalletClient;if(!e.escrowOnly){if(!d)throw new Error("External wallet not connected");if(e.externalProvider){const m=await ar({provider:e.externalProvider,account:e.sourceAddress,chainId:o});m.viemChain&&(d=m.extWc)}}if(e.isNon7702){if(!d)throw new Error("External wallet not connected");if(!e.sourceAddress)throw new Error("External wallet address not available");if(e.nativeChainId&&o===e.nativeChainId){const m=u.getChainConfig(o),f=t.map(w=>`${w.amount} ${w.asset.symbol}`).join(", ");e.setConfirmationData({network:m?.displayName||`Chain ${o}`,amount:f,symbol:"",chainId:o}),e.setShowConfirmation(!0);let h=null;e.setDirectDepositStatus("processing"),e.setDirectDepositChainId(o);for(const w of t){const g=T.parseUnits(w.amount,w.asset.decimals),y=S.normalizeNativeTokenAddress(w.asset.address),x=w.asset.isNative||S.isNativeToken(y),b=await po(d,{chainId:o,recipient:r,tokenAddr:y,isNative:x,amount:g,failureMessage:`Escrow deposit failed for ${w.asset.symbol}`});h=b,e.setDirectDepositTxHash(b)}if(t[0]?.amount){const w=t[0].amount;if(e.onDepositExecute){e.setPostDepositStatus("executing");try{await e.onDepositExecute(w),e.setPostDepositStatus("success")}catch(y){console.error("ctx.onDepositExecute failed:",y),e.setPostDepositStatus("error"),e.setPostDepositError(y?.message||"Post-deposit instruction failed")}}else e.setPostDepositStatus("success");e.setDirectDepositStatus("success"),e.setPostDepositAmount(w),e.setPostDepositSuccess(!0);const g={type:"deposit",status:"success",amount:w,asset:t[0].asset.symbol,sourceChain:m?.displayName||`Chain ${o}`,txHash:h??void 0};window.dispatchEvent(new CustomEvent("spiceflow:action",{detail:g})),e.onDepositSuccess?.(g)}e.refreshAssets(),e.onDepositSelect&&e.onDepositSelect(t[0].asset)}else{const m=e.destinationChainId||e.nativeChainId;if(!m)throw new Error("Destination chain ID is required for non-7702 mode. Either pass ctx.destinationChainId to <SpiceDeposit> or set ctx.nativeChainId on <SpiceFlowProvider>.");const f=u.getDelegateContractAddress(o),h=r,w=[];let g=null;for(const y of t){const x=T.parseUnits(y.amount,y.asset.decimals),b=S.normalizeNativeTokenAddress(y.asset.address),v=y.asset.isNative||S.isNativeToken(b),C=await po(d,{chainId:o,recipient:h,tokenAddr:b,isNative:v,amount:x,failureMessage:`Transfer failed for ${y.asset.symbol}`,settle:!0});g||(g=C),e.depositDataRef.current||(e.depositDataRef.current=[]),e.depositDataRef.current.push({txHash:C,sender:e.sourceAddress,tokenAddress:b,chainId:o,amount:x.toString(),user:e.spiceBalanceUser}),w.push({tokenAddress:b,tokenAmount:x.toString(),sender:e.sourceAddress,receiver:h})}if(!g)throw new Error("No transaction hash generated");if(!e.destinationTokenAddress){const y={type:"deposit",status:"success",amount:t[0]?.amount,asset:t[0]?.asset?.symbol,sourceChain:u.getChainName(o),txHash:g};window.dispatchEvent(new CustomEvent("spiceflow:action",{detail:y})),e.onDepositSuccess?.(y),e.depositDataRef.current=null,e.bridgedAmountRef.current=t[0]?.amount||null,e.refreshAssets(),e.onDepositSelect&&e.onDepositSelect(t[0].asset),e.setShowConfirmation(!1);return}if(e.mode==="ondemand"){const y={to:f,value:BigInt(0),data:"0x"},x=await u.getTokenDecimals(m,e.destinationTokenAddress);let b=BigInt(0);for(const B of w){const W=BigInt(B.tokenAmount),O=S.normalizeNativeTokenAddress(B.tokenAddress),M=t.find(F=>{const N=S.normalizeNativeTokenAddress(F.asset.address);return u.addressesEqual(N,O)}),U=M?M.asset.decimals:await u.getTokenDecimals(o,S.ZERO_ADDRESS);b+=S.convertAmountBetweenDecimals(W,U,x)}e.isCrossDenomination&&e.convertedUsdAmount&&(b=e.convertedUsdAmount);const v={chainId:o,tokenTransfers:w.map(B=>({from:B.sender,to:B.receiver,token:B.tokenAddress,amount:BigInt(B.tokenAmount)})),call:y},C=e.isCrossDenomination&&e.convertedUsdAmount?[{from:e.sourceAddress,to:r,token:S.normalizeNativeTokenAddress(t[0].asset.address),amount:T.parseUnits(t[0].amount,t[0].asset.decimals)}]:[],k={chainId:m,tokenTransfers:[...C,{from:"escrow",to:e.sourceAddress,token:e.destinationTokenAddress,amount:b}],call:{to:e.destinationTokenAddress,value:BigInt(0),data:"0x"}},I={mode:"non-7702:on-demand",chainBatches:[v,k]},A={user:e.sourceAddress,intents:[I]},E=await u.relayerService.createAction(A),D=E.actionId,R=E.intentIds[0];if(!g)throw new Error("No transaction hash available");e.startStatusPolling(R,u.createInitialSteps([{chainId:o,calls:[y]},{chainId:m,calls:[k.call]}],B=>u.getChainName(B))),await u.relayerService.executeStep(D,0,0,{action:"execute",hash:g}),t[0]?.amount&&(e.bridgedAmountRef.current=t[0].amount),e.refreshAssets(),e.onDepositSelect&&e.onDepositSelect(t[0].asset),e.setShowConfirmation(!1)}else throw new Error("Presign mode not yet fully supported for cross-chain deposits")}}else{const m=[];let f=0,h;const w=l&&e.effectiveDepositFee?T.formatUnits(e.effectiveDepositFee.net,n.asset.decimals):n?.amount;for(const B of t){const W=T.parseUnits(B.amount,B.asset.decimals),O=l&&B===n,M=O?e.effectiveDepositFee.fee:0n,U=O?e.effectiveDepositFee.net:W,F=e.escrowOnly?W:W+M,N=S.normalizeNativeTokenAddress(B.asset.address),L=B.asset.isNative||S.isNativeToken(N);if(!e.escrowOnly&&!Rn(B.asset)){e.setDirectDepositStatus("processing"),e.setDirectDepositChainId(o);const q=await po(d,{chainId:o,recipient:e.address,tokenAddr:N,isNative:L,amount:W,failureMessage:`Transfer to embedded wallet failed for ${B.asset.symbol}`});f+=1,B===n&&(h=q);continue}e.escrowOnly||await po(d,{chainId:o,recipient:e.address,tokenAddr:N,isNative:L,amount:F,failureMessage:`Transfer to embedded wallet failed for ${B.asset.symbol}`,afterSend:()=>hd({chainId:o,tokenAddress:S.normalizeNativeTokenAddress(B.asset.address),tokenSymbol:B.asset.symbol,tokenDecimals:B.asset.decimals,amount:B.amount,rawAmount:W.toString(),embeddedWalletAddress:e.address,externalWalletAddress:e.sourceAddress,timestamp:Date.now(),isNative:L}),settle:!0}),m.push(...Fi({escrowAddress:r,tokenAddress:N,isNative:L,amount:U,gasFeeAmount:M}))}if(m.length===0){e.setDirectDepositTxHash(h??null),e.setDirectDepositStatus("success");const B={type:"deposit",status:"success",amount:n.amount,asset:n.asset.symbol,sourceChain:u.getChainName(o),txHash:h};window.dispatchEvent(new CustomEvent("spiceflow:action",{detail:B})),e.onDepositSuccess?.(B),e.refreshAssets(),e.onDepositSelect&&e.onDepositSelect(n.asset);return}f>0&&e.setDirectDepositStatus("idle");const g=t.find(B=>e.escrowOnly||Rn(B.asset))??n,y=await u.getClientForChain(o).getBlockNumber(),x=m.map(B=>({...B,to:T.getAddress(B.to)})),b={chainId:o,recentBlock:y,calls:x,tokenTransfers:[]},v=su({sourceChainId:o,selectedAsset:g===n&&w?{...n,amount:w}:g,destinationChainId:e.destinationChainId,destinationTokenAddress:e.destinationTokenAddress,isCrossDenomination:e.isCrossDenomination,convertedUsdAmount:e.convertedUsdAmount}),C=await ou(e.depositBatches,v),k=[b,...C];if(!e.address)throw new Error("Address not available");const I=[];if(e.isCrossDenomination&&e.convertedUsdAmount&&e.destinationTokenAddress){const B=e.selectedDepositAssets[0]?.asset;if(B){const W=T.parseUnits(e.selectedDepositAssets[0].amount,B.decimals);I.push({from:e.address,to:r,token:S.normalizeNativeTokenAddress(B.address),amount:W}),I.push({from:"escrow",to:e.address,token:e.destinationTokenAddress,amount:e.convertedUsdAmount})}}I.length>0&&k[1]&&(k[1].tokenTransfers=I);const A=u.createInitialSteps(k,B=>u.getChainName(B));let E=!1;const D=await e.execution.execute(k,S.ZERO_ADDRESS,0n,B=>{if(B.intentId&&!E){E=!0;for(const W of t)Jo(e.address,o,S.normalizeNativeTokenAddress(W.asset.address));e.startStatusPolling(B.intentId,A)}},void 0,{userOverride:e.address,useCustomTransfers:!0,skipPreSubmitFeeEstimate:!0,skipUserFundingPreflight:!0});if(e.refreshAssets(),e.onDepositExecute&&g.amount)try{e.setPostDepositStatus("executing"),await e.onDepositExecute(w||g.amount),e.setPostDepositStatus("success"),e.setPostDepositAmount(w||g.amount),e.setPostDepositSuccess(!0)}catch(B){console.error("ctx.onDepositExecute failed (7702):",B),e.setPostDepositStatus("error"),e.setPostDepositError(B?.message||"Post-deposit instruction failed");return}const R={type:"deposit",status:"success",amount:g===n&&w||g.amount,asset:g.asset.symbol,sourceChain:u.getChainName(o),txHash:/^0x[0-9a-f]{64}$/i.test(D??"")?D:void 0};window.dispatchEvent(new CustomEvent("spiceflow:action",{detail:R})),e.onDepositSuccess?.(R),e.onDepositSelect&&e.onDepositSelect(g.asset)}}catch(o){s=!0,console.error("[DepositModal] executeDeposit CAUGHT ERROR:",o),console.error("[DepositModal] Error details:",{message:o?.message,code:o?.code,name:o?.name,stack:o?.stack?.slice(0,500)}),e.setError(u.sanitizeError(o,"Deposit failed")),e.clearStatus()}finally{e.setIsExecuting(!1),s&&e.setDirectDepositStatus("idle"),s||!e.getCurrentIntentStatus()&&e.getCurrentPostDepositStatus()!=="idle"||e.setShowConfirmation(!1)}}async function au(e){const{asset:t,assetIndex:n,selectedAssetCount:s,address:o,escrowOnly:r,isNon7702:a}=e;if(n!==0||a||s>1||!o||t.balance<=0n)return null;if(!r&&!Rn(t))return u.formatRawTokenInput(t.balance,t.decimals);const l=await lr({address:o,depositQuote:{asset:t,amount:t.balance,token:S.normalizeNativeTokenAddress(t.address),chainId:t.chainId},escrowOnly:r}),c=r?t.balance:t.balance>l.fee?t.balance-l.fee:0n;return u.formatRawTokenInput(c,t.decimals)}async function lr(e){const{address:t,depositQuote:n,escrowOnly:s}=e,{asset:o,amount:r,token:a,chainId:l}=n,c=S.getEscrowContractAddress(l),d=o.isNative||S.isNativeToken(a),m=r>1n?1n:0n,f=[d?{to:c,value:r,data:"0x"}:{to:a,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[c,r]})}];m>0n&&f.push(d?{to:S.SPICE_GAS_FEE_RECIPIENT,value:m,data:"0x"}:{to:a,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[S.SPICE_GAS_FEE_RECIPIENT,m]})});const h={chainId:l,tokenTransfers:[],calls:f},w=(await u.relayerService.estimateBatchGas({user:t,outputToken:a,chainBatches:[{...h,hash:S.hashChainBatches([h])[0].hash}],signal:e.signal})).gasFee,g=s&&w<r?r-w:r;return{fee:w,net:g,quotedAmount:r,token:a,chainId:l}}function iu(e,t=40,n=18){const s=e.length,o=[{maxLength:7,shrink:0},{maxLength:10,shrink:6},{maxLength:13,shrink:12},{maxLength:16,shrink:16},{maxLength:20,shrink:19}].find(r=>s<=r.maxLength);return Math.max(n,t-(o?.shrink??22))}const Un=({value:e,element:t="span",placeholder:n,ariaLabel:s,ariaInvalid:o,disabled:r,onChange:a,inputMode:l="decimal",autoComplete:c="off",dataSpiceflowFocus:d,fontFamily:m,fontWeight:f=700,color:h,textAlign:w,lineHeight:g=1,maxFontSize:y=40,minFontSize:x=18,overflow:b="ellipsis",title:v,style:C})=>{const k=iu(e||n||"",y,x),I=b==="wrap"?{overflowWrap:"anywhere",wordBreak:"break-word",whiteSpace:"normal"}:b==="ellipsis"?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:{},A={fontFamily:m,fontSize:`${k}px`,fontWeight:f,color:h,lineHeight:g,letterSpacing:0,textAlign:w,minWidth:0,maxWidth:"100%",...I,...C};return t==="input"?i.jsx("input",{type:"text",inputMode:l,autoComplete:c,"aria-label":s,"aria-invalid":o||void 0,"data-spiceflow-focus":d||void 0,value:e,onChange:a,placeholder:n,disabled:r,title:v,style:{backgroundColor:"transparent",border:"none",outline:"none",padding:0,width:"100%",...A}}):i.jsx(t,{title:v,style:A,children:e})},cr=({pct:e,isMax:t,primaryColor:n,dark:s,fillColor:o})=>{const r=e/100;return i.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 14 14",children:[i.jsx("circle",{cx:"7",cy:"7",r:"6.84375",fill:t?n:"none",stroke:t?n:s?"#4a5568":"#3C3E42",strokeWidth:"0.3125"}),!t&&r>0&&i.jsx("path",{d:`M 7 7 L 7 0.15625 A 6.84375 6.84375 0 ${r>.5?1:0} 1 ${7+6.84375*Math.sin(r*2*Math.PI)} ${7-6.84375*Math.cos(r*2*Math.PI)} Z`,fill:o})]})},Bi=({chainId:e,name:t,size:n=16})=>{const s=e&&(Bn[e]||S.getChainMeta(e)?.logo)||"";return s?i.jsx("img",{src:s,alt:t||`Chain ${e}`,loading:"lazy",decoding:"async",width:n,height:n,style:{width:`${n}px`,height:`${n}px`,borderRadius:"50%",objectFit:"cover",flexShrink:0}}):null},lu={1:"ethereum",56:"binance-smart-chain",137:"polygon-pos",143:"monad",4114:"citrea",4663:"robinhood",8453:"base",42161:"arbitrum-one"},cu=6e4,Es=new Map;function Ri(e,t){return Es.get(e)?.logos?.get(t.toLowerCase())}function du(e,t){const n=lu[e];if(!n||S.isNativeToken(t))return;const s=Es.get(e);if(s?.logos||s?.pending)return s.pending;if(s?.failedAt!==void 0&&Date.now()-s.failedAt<cu)return;const o=Promise.resolve().then(async()=>{try{const r=await fetch(`https://tokens.coingecko.com/${n}/all.json`,{signal:AbortSignal.timeout(1e4)});if(!r.ok)throw new Error("Token list request failed");const a=await r.json(),l=new Map;for(const c of a?.tokens??[])c?.address&&c?.logoURI&&l.set(String(c.address).toLowerCase(),c.logoURI);Es.set(e,{logos:l})}catch(r){console.warn(`[tokenLogos] Token list unavailable for chain ${e}`,r),Es.set(e,{failedAt:Date.now()})}});return Es.set(e,{...s,pending:o}),o}function dr(e,t,n){const[s,o]=p.useState(),r=e||e===null||t===void 0||!n?void 0:`${t}:${n.toLowerCase()}`,a=r?Ri(t,n):void 0;return p.useEffect(()=>{if(!r||a||t===void 0||!n)return;let l=!0;const c=()=>{const m=Ri(t,n);l&&m&&o({token:r,logo:m})},d=du(t,n);return d?d.then(c):c(),()=>{l=!1}},[r,a,t,n]),e||a||(s&&s.token===r?s.logo:void 0)}const fo=({symbol:e,label:t,logoURI:n,chainId:s,address:o,size:r=20,theme:a})=>{const{theme:l}=u.useSpiceBrand(),c=a||l,[d,m]=p.useState(),f={width:`${r}px`,height:`${r}px`,borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",fontSize:`${r*.4}px`,fontWeight:c.typography.fontWeight.bold,flexShrink:0,overflow:"hidden",backgroundColor:"#ffffff"},h=dr(n===null?null:n||Ho[e.toUpperCase()],s,o);if(n===null)return null;if(h&&h!==d)return i.jsx("img",{src:h,alt:t??e,loading:"lazy",decoding:"async",style:{...f,objectFit:"cover"},onError:()=>m(h)});const w=uu(e);return i.jsx("div",{style:{...f,...w.style},children:w.icon})},uu=e=>{const t=e.toUpperCase(),n={ETH:{bg:"#627EEA",text:"#FFFFFF",icon:"\u039E"},BTC:{bg:"#F7931A",text:"#FFFFFF",icon:"\u20BF"},USDC:{bg:"#2775CA",text:"#FFFFFF"},USDT:{bg:"#26A17B",text:"#FFFFFF"},DAI:{bg:"#F5AC37",text:"#FFFFFF"},WETH:{bg:"#627EEA",text:"#FFFFFF",icon:"\u039E"},WBTC:{bg:"#F09242",text:"#FFFFFF",icon:"\u20BF"},CBTC:{bg:"#F7931A",text:"#FFFFFF",icon:"\u20BF"},USD:{bg:"#26A17B",text:"#FFFFFF",icon:"$"},MATIC:{bg:"#8247E5",text:"#FFFFFF"},AVAX:{bg:"#E84142",text:"#FFFFFF"},SOL:{bg:"#9945FF",text:"#FFFFFF"},DOT:{bg:"#E6007A",text:"#FFFFFF"},ADA:{bg:"#0033AD",text:"#FFFFFF"},LINK:{bg:"#375BD2",text:"#FFFFFF"},UNI:{bg:"#FF007A",text:"#FFFFFF"},AAVE:{bg:"#B6509E",text:"#FFFFFF"},CRV:{bg:"#40E0D0",text:"#000000"}}[t];if(n)return{style:{backgroundColor:n.bg,color:n.text},icon:n.icon||t.charAt(0)};const s=t.split("").reduce((l,c)=>c.charCodeAt(0)+((l<<5)-l),0),o=Math.abs(s)%360,r=`hsl(${o}, 60%, 50%)`,a=o>180?"#FFFFFF":"#000000";return{style:{backgroundColor:r,color:a},icon:t.charAt(0)}},pu=({selectedAsset:e,assets:t,onAssetSelect:n,showDropdown:s,onToggleDropdown:o,disabled:r=!1,theme:a,onViewAllAssets:l,getAvailableBalance:c})=>{const d=u.useAssetDisplay(),m=F=>{const N=c?c(F):F.balance;return N===void 0?"...":u.formatAssetBalance({balance:N,decimals:F.decimals})},{theme:f}=u.useSpiceBrand(),h=a||f,w=p.useRef(null),g=p.useRef(null),y=p.useRef(null),[x,b]=p.useState(null);p.useEffect(()=>{if(s&&g.current){const F=()=>{if(g.current){const N=g.current.getBoundingClientRect();b({top:N.bottom+6,right:window.innerWidth-N.right})}};return F(),window.addEventListener("scroll",F,!0),window.addEventListener("resize",F),()=>{window.removeEventListener("scroll",F,!0),window.removeEventListener("resize",F)}}else b(null)},[s]),p.useEffect(()=>{const F=N=>{w.current&&!w.current.contains(N.target)&&y.current&&!y.current.contains(N.target)&&s&&o()};return s&&document.addEventListener("mousedown",F),()=>{document.removeEventListener("mousedown",F)}},[s,o]);const[v,C]=p.useState(!1),k=h.mode==="light",I={backgroundColor:"transparent",border:`1px solid ${k?"#aaaaaa":h.colors.border}`,borderRadius:"6px",color:h.colors.text,cursor:r?"not-allowed":"pointer",padding:"8px 14px 8px 10px",width:"100%",display:"flex",flexDirection:"column",gap:"4px",opacity:r?.6:1,transition:u.transition.interactive,transform:v?"scale(0.98)":"scale(1)"},A={display:"flex",justifyContent:"space-between",alignItems:"center",gap:"10px",minWidth:0},E={display:"flex",alignItems:"center",gap:"4px",paddingTop:"4px",borderTop:`1px solid ${h.colors.border}`},D=()=>x?{position:"fixed",top:`${x.top}px`,right:`${x.right}px`,backgroundColor:h.colors.secondary,border:`1px solid ${h.colors.border}`,borderRadius:h.borderRadius.md,boxShadow:h.shadows.lg,zIndex:u.z.dropdown,width:"200px",maxHeight:"300px",overflow:"auto"}:{},R={backgroundColor:"transparent",border:"none",color:h.colors.text,cursor:"pointer",padding:h.spacing.sm,width:"100%",display:"flex",alignItems:"center",gap:h.spacing.sm,transition:`background-color ${h.animation.normal}`,":hover":{backgroundColor:h.colors.surfaceHover}},B={display:"flex",flexDirection:"column",alignItems:"flex-start",flex:1},W={fontSize:h.typography.fontSize.sm,fontWeight:h.typography.fontWeight.medium},O={fontSize:h.typography.fontSize.xs,color:h.colors.textMuted},M={backgroundColor:"transparent",border:"none",borderTop:`1px solid ${h.colors.border}`,color:h.colors.primary,cursor:"pointer",padding:"10px 12px",width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"8px",fontFamily:h.typography.fontFamily,fontSize:h.typography.fontSize.xs,fontWeight:h.typography.fontWeight.medium,textDecoration:"underline",textUnderlineOffset:"2px"},U={transition:`transform ${h.animation.normal}`,transform:s?"rotate(180deg)":"rotate(0deg)",flexShrink:0};return i.jsxs(i.Fragment,{children:[i.jsx("div",{style:{position:"relative"},ref:w,children:i.jsxs("div",{ref:g,style:I,onClick:r?void 0:o,onMouseLeave:()=>{C(!1)},onMouseDown:()=>C(!0),onMouseUp:()=>C(!1),children:[i.jsxs("div",{style:A,children:[i.jsx("div",{style:{display:"flex",alignItems:"center",gap:"8px",flex:1,minWidth:0},children:e?.asset?i.jsxs(i.Fragment,{children:[i.jsx(fo,{symbol:e.asset.symbol,label:d(e.asset).symbol,logoURI:d(e.asset).logoURI,chainId:e.asset.chainId,address:e.asset.address,theme:h,size:24}),i.jsx("span",{style:{fontSize:"15px",fontWeight:500,color:h.colors.text,lineHeight:"1.5",flex:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:d(e.asset).symbol})]}):i.jsx("span",{style:{fontSize:"14px",color:h.colors.textMuted},children:"Select"})}),i.jsx("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:k?h.colors.textMuted:"#c7ccd4",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:U,children:i.jsx("path",{d:"M6 9l6 6 6-6"})})]}),e?.asset&&i.jsxs("div",{style:E,children:[!e.asset.displayChainName&&i.jsx(Bi,{chainId:e.asset.chainId,theme:h}),i.jsx("span",{style:{fontSize:"11px",color:h.colors.textMuted},children:u.getAssetDisplayChainName(e.asset)})]})]})}),s&&x&&Gn.createPortal(i.jsxs("div",{ref:y,style:D(),children:[t.length===0&&i.jsx("div",{style:{padding:"10px 12px",color:h.colors.textMuted,fontSize:h.typography.fontSize.xs},children:"No assets available"}),t.map(F=>i.jsxs("button",{style:R,onClick:()=>{n(F),o()},children:[i.jsx(fo,{symbol:F.symbol,label:d(F).symbol,logoURI:d(F).logoURI,chainId:F.chainId,address:F.address,theme:h},xe(F)),i.jsxs("div",{style:B,children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:h.spacing.xs},children:[i.jsx("span",{style:W,children:d(F).symbol}),!F.displayChainName&&i.jsx(Bi,{chainId:F.chainId,theme:h})]}),i.jsxs("span",{style:O,children:[m(F)," \u2022 ",u.getAssetDisplayChainName(F)]})]})]},xe(F))),l&&i.jsxs("button",{type:"button",style:M,onClick:()=>{o(),l()},children:[i.jsx("span",{children:"View all assets"}),i.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[i.jsx("path",{d:"M5 12h14"}),i.jsx("path",{d:"M13 5l7 7-7 7"})]})]})]}),document.body)]})},fu=({assets:e,selectedAsset:t,onAssetSelect:n,onAmountChange:s,disabled:o=!1,loading:r=!1,label:a="Select Asset",showBalance:l=!0,showMaxButton:c=!0,placeholder:d="0.0",theme:m,styles:f,maxAmount:h,resolveMaxAmount:w,getAvailableBalance:g,hideAmountInput:y=!1,displayAmount:x,dark:b,onViewAllAssets:v})=>{const C=u.useAssetDisplay(),{theme:k,primaryColor:I,dark:A,dk:E}=u.useSpiceBrand(f,b),D=m||k,R=b??A,[B,W]=p.useState(!1),[O,M]=p.useState(null),[U,F]=p.useState(null),[N,L]=p.useState(!1),[q,oe]=p.useState(null),[pe,ae]=p.useState(t?.amount||""),Q=p.useRef(w),$=t?.asset?xe(t.asset):"",X=t?.asset?g?g(t.asset):t.asset.balance:void 0,ee=p.useRef($);ee.current=$;const Y=!!w,we=q??h;p.useEffect(()=>{Q.current=w},[w]),p.useEffect(()=>{ae(t?.amount||"")},[$,t?.amount]),p.useEffect(()=>{oe(null),L(!1)},[$,Y,X]);const be=()=>{const P=t?.asset;if(!P||X===void 0)return;if(!we)return X;const _=T.parseUnits(we,P.decimals);return _<X?_:X},j=P=>{ae(P),s?.(P)},K=P=>{const _=t?.asset,le=u.parseNumericInput(P.startsWith(".")?`0${P}`:P,_?.decimals);if(!_||!le)return j(le);const te=T.parseUnits(le,_.decimals),ne=be();j(ne!==void 0&&te>ne?T.formatUnits(ne,_.decimals):le)},Z=async()=>{const P=t?.asset;if(!P||o||X===void 0)return;const _=$,le=Q.current;if(q)return j(q);if(le){L(!0);try{const ne=await le(P);if(ee.current!==_)return;if(ne!==null){const Ie=u.parseNumericInput(ne,P.decimals);oe(Ie),j(Ie);return}return}catch(ne){console.warn("[AssetSelector] Failed to resolve max amount:",ne);return}finally{ee.current===_&&L(!1)}}const te=be();ee.current===_&&te!==void 0&&j(T.formatUnits(te,P.decimals))},G=async P=>{if(!t||o||X===void 0)return;if(P===100)return Z();const _=be();_!==void 0&&j(T.formatUnits(_*BigInt(P)/100n,t.asset.decimals))},ue=t&&X!==void 0?Number(T.formatUnits(X,t.asset.decimals)):0,me=parseFloat(pe)||0,Se=ue>0?me/ue*100:0,J={backgroundColor:f?.assetSelector?.backgroundColor||f?.secondaryBackground||(R?E.cardBg:"#e9e9e9"),border:R?`0.5px solid ${E.cardBorder}`:"0.5px solid #A8A8A7",borderRadius:f?.assetSelector?.borderRadius||"6px",padding:f?.assetSelector?.padding||"16px",height:"auto",minHeight:y?void 0:"144px",display:"flex",flexDirection:"column",gap:"8px",position:"relative",opacity:o?.6:1};return r?i.jsx("div",{style:J,children:i.jsxs("div",{style:{flex:1,display:"flex",alignItems:"center",justifyContent:"space-between"},children:[i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:[i.jsx("div",{style:{backgroundColor:R?E.hoverBg:"#d1d5db",borderRadius:"4px",height:"16px",width:"60px"}}),i.jsx("div",{style:{backgroundColor:R?E.hoverBg:"#d1d5db",borderRadius:"4px",height:"40px",width:"150px"}})]}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-end",gap:"8px"},children:[i.jsx("div",{style:{backgroundColor:R?E.hoverBg:"#d1d5db",borderRadius:"4px",height:"12px",width:"80px"}}),i.jsx("div",{style:{backgroundColor:R?E.hoverBg:"#d1d5db",borderRadius:"6px",height:"46px",width:"128px"}})]})]})}):i.jsxs("div",{style:J,children:[i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[i.jsx("span",{style:{fontFamily:f?.fontFamily||D.typography.fontFamily,fontSize:"16px",fontWeight:500,color:R?E.textSecondary:"#7d7c7b",lineHeight:"24px"},children:a}),l&&t?.asset&&i.jsxs("span",{style:{fontFamily:f?.fontFamily||D.typography.fontFamily,fontSize:"12px",fontWeight:500,color:R?E.textSecondary:"#71757a",lineHeight:"16px"},children:["Balance:"," ",X===void 0?"...":u.formatAssetBalance({balance:X,decimals:t.asset.decimals})]})]}),i.jsxs("div",{style:{display:"flex",justifyContent:y&&!x?"flex-start":"space-between",alignItems:"center",flex:1},children:[!y&&i.jsx(Un,{element:"input",ariaLabel:t?.asset?`${C(t.asset).symbol} amount`:"Amount",dataSpiceflowFocus:!0,value:pe,onChange:P=>K(P.target.value),placeholder:d,disabled:o||!t?.asset,fontFamily:f?.fontFamily||D.typography.fontFamily,color:o?R?"rgba(255, 255, 255, 0.16)":"rgba(14, 13, 11, 0.16)":pe?R?"#ffffff":"#0e0d0b":R?"#4a5568":"#d1d5db",lineHeight:"1.08",maxFontSize:40,minFontSize:22,style:{width:"100%",maxWidth:"200px"}}),i.jsx("div",{style:{width:"176px",position:"relative",flexShrink:0},children:i.jsx(pu,{selectedAsset:t,assets:e,onAssetSelect:n,showDropdown:B,onToggleDropdown:()=>W(!B),disabled:o,theme:D,onViewAllAssets:v,getAvailableBalance:g})}),y&&x&&i.jsx(Un,{element:"span",value:x,title:x,fontFamily:f?.fontFamily||D.typography.fontFamily,color:R?"#ffffff":"#0e0d0b",lineHeight:"1.08",textAlign:"right",maxFontSize:40,minFontSize:22,style:{flex:1}})]}),!y&&i.jsx("div",{style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"10px",height:"14px"},children:[0,25,50,75,100].filter(P=>c||P!==100).map((P,_)=>{const le=Math.abs(Se-P)<1,te=_===4,ne=O===P,Ie=U===P;return i.jsx("button",{onClick:()=>G(P),onMouseEnter:()=>M(P),onMouseLeave:()=>{M(null),F(null)},onMouseDown:()=>F(P),onMouseUp:()=>F(null),disabled:o||!t?.asset||X===void 0||P===100&&N,title:`${P}%`,style:{width:"14px",height:"14px",padding:0,border:"none",backgroundColor:"transparent",cursor:o||!t?.asset||X===void 0||P===100&&N?"not-allowed":"pointer",opacity:le?1:ne?.8:.5,transform:Ie?"scale(0.85)":ne?"scale(1.15)":"scale(1)",transition:u.transition.interactive},children:i.jsx(cr,{pct:P,isMax:te,primaryColor:I,dark:R,fillColor:R?E.textSecondary:"#3C3E42"})},P)})})]})},$n=p.memo(fu),mu=({selectedDepositAssets:e,depositAssets:t,secondAssetOptions:n,loadingAssets:s,allowSecondAsset:o,theme:r,styles:a,dark:l,dk:c,onSelect:d,onAmountChange:m,onAdd:f,onRemove:h,resolveMaxAmount:w,onViewAllAssets:g})=>i.jsxs(i.Fragment,{children:[e.map((y,x)=>{const b=e.length===1?"Deposit":`Asset ${x+1}`;return i.jsxs("div",{style:{marginBottom:r.spacing.md,position:"relative"},children:[i.jsx($n,{assets:x===0?t:n,selectedAsset:y||void 0,onAssetSelect:v=>d(v,x),onAmountChange:v=>m(v,x),loading:s,label:b,showBalance:!0,theme:r,styles:a,allowSecondAsset:o&&x===0,onAddAsset:f,canAddAsset:e.length===1&&!!e[0]?.asset,resolveMaxAmount:w?v=>w(v,x):void 0,onViewAllAssets:x===0?g:void 0}),x===1&&i.jsx("button",{onClick:()=>h(x),style:{position:"absolute",top:"-2px",right:"-2px",background:l?`${c.cardBg}ee`:"rgba(255, 255, 255, 0.9)",border:`1px solid ${c.cardBorder}`,borderRadius:"50%",cursor:"pointer",color:r.colors.textMuted,fontSize:"16px",padding:"2px",width:"22px",height:"22px",display:"flex",alignItems:"center",justifyContent:"center",transition:u.transition.interactive,boxShadow:"0 1px 3px rgba(0, 0, 0, 0.1)"},onMouseEnter:v=>{v.currentTarget.style.color=l?c.errorText:"#ef4444",v.currentTarget.style.background=l?c.cardBg:"#fff",v.currentTarget.style.borderColor=l?c.errorBorder:"#fecaca"},onMouseLeave:v=>{v.currentTarget.style.color=r.colors.textMuted,v.currentTarget.style.background=l?`${c.cardBg}ee`:"rgba(255, 255, 255, 0.9)",v.currentTarget.style.borderColor=l?c.cardBorder:"#e5e7eb"},title:"Remove asset",children:"\xD7"})]},`asset-${x}`)}),e.length===0&&i.jsx("div",{style:{marginBottom:r.spacing.md},children:i.jsx($n,{assets:t,selectedAsset:void 0,onAssetSelect:y=>d(y,0),onAmountChange:y=>m(y,0),loading:s,label:"Deposit",showBalance:!0,theme:r,styles:a,allowSecondAsset:o,onAddAsset:f,canAddAsset:!1,resolveMaxAmount:w?y=>w(y,0):void 0},"initial-selector")})]}),hu=p.memo(mu);function gu(e,t){switch(e){case"success":return{bg:t.successBg,border:t.successBorder,text:t.successText};case"warning":return{bg:t.warningBg,border:t.warningBorder,text:t.warningText};case"error":return{bg:t.errorBg,border:t.errorBorder,text:t.errorText};case"info":return{bg:t.infoBg,border:t.infoBorder,text:t.infoText}}}const Jt=({variant:e,palette:t,children:n,icon:s,style:o,fontFamily:r,size:a="default"})=>{const l=gu(e,t),c=a==="compact";return i.jsxs("div",{role:e==="error"?"alert":"status",style:{backgroundColor:l.bg,border:`1px solid ${l.border}`,borderRadius:c?"7px":"8px",padding:c?"8px 10px":"12px 16px",color:l.text,fontSize:c?"12px":"13px",lineHeight:c?1.4:1.5,display:"flex",alignItems:"flex-start",gap:c?"6px":"8px",fontFamily:r,...o},children:[s&&i.jsx("span",{style:{flexShrink:0,display:"flex",alignItems:"center"},children:s}),i.jsx("span",{style:{minWidth:0,overflowWrap:"anywhere"},children:n})]})},ji=u.font.mono,an=({label:e,value:t,palette:n,valueColor:s,labelColor:o,style:r})=>i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"12px",...r},children:[i.jsx("span",{style:{fontSize:"12px",color:o??n.textSecondary,fontFamily:ji,fontWeight:500,letterSpacing:"0.03em",flexShrink:0,whiteSpace:"nowrap"},children:e}),i.jsx("span",{style:{fontSize:"13px",color:s??n.textPrimary,fontWeight:500,fontFamily:ji,minWidth:0,textAlign:"right",overflowWrap:"anywhere"},children:t})]}),ur=({onClick:e,label:t="Add Funds",color:n,fontFamily:s,style:o})=>{const[r,a]=p.useState(!1);return i.jsxs("button",{type:"button",onClick:e,"data-spiceflow-focus":!0,onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),style:{background:"none",border:"none",cursor:"pointer",padding:0,display:"inline-flex",alignItems:"center",gap:"4px",color:n,fontSize:"12px",fontWeight:500,fontFamily:s,textDecoration:"underline",textUnderlineOffset:"2px",whiteSpace:"nowrap",opacity:r?.75:1,transition:"opacity 150ms ease",...o},children:[t,i.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:"1.8","aria-hidden":"true",children:[i.jsx("circle",{cx:"6",cy:"6",r:"5"}),i.jsx("path",{d:"M6 4v4M4 6h4",strokeLinecap:"round"})]})]})},pr=({value:e,onChange:t,ariaLabel:n,placeholder:s,endAdornment:o,size:r="lg",dark:a,styles:l,inputRef:c,autoFocus:d})=>{const{dark:m,dk:f}=u.useSpiceBrand(l,a),h=a??m,w=r==="lg",g=w?"15px":"14px",y=w?"7px":"10px",x=w?u.radius.input:u.radius.sm,b=l?.fontFamily||u.font.ui,v=h?f.inputBg:"#FAFAFA",C=h?f.inputBorder:"#e5e7eb",k=h?f.textPrimary:"#374151",I=h?f.textSecondary:"#9ca3af";return i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",backgroundColor:v,borderRadius:x,boxShadow:h?"0 2px 4px rgba(0, 0, 0, 0.3)":"0 2px 4px rgba(0, 0, 0, 0.1)",padding:`${y} 5px`,border:`1px solid ${C}`},children:[i.jsx(Jd,{style:{color:I},size:24}),i.jsx("input",{ref:c,type:"text",role:"searchbox","aria-label":n,autoComplete:"off",spellCheck:!1,autoFocus:d,"data-spiceflow-focus":!0,placeholder:s,value:e,onChange:A=>t(A.target.value),style:{flex:1,backgroundColor:v,outline:"none",border:"none",color:k,fontSize:g,fontWeight:400,fontFamily:b}}),o]})},xu="This deposit didn't confirm in time. It may still have gone through, so check the explorer and refresh your balance before retrying.";function yu(e){return e?.overallStatus!=="failed"?{isFailed:!1,failureMessage:null}:{isFailed:!0,failureMessage:e.steps?.find(t=>t.status==="failed"&&!!t.error)?.error||xu}}const mo=i.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",style:{flexShrink:0},children:[i.jsx("circle",{cx:"10",cy:"10",r:"10",fill:"#10b981"}),i.jsx("path",{d:"M6 10l3 3 5-6",stroke:"#ffffff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),wu=({isOpen:e,onClose:t,onConfirm:n,data:s,isExecuting:o=!1,error:r=null,theme:a,styles:l,intentStatus:c,postDepositStatus:d="idle",hasPostDepositInstruction:m=!1})=>{const{dark:f,dk:h,theme:w}=u.useSpiceBrand(l),[g,y]=p.useState(!1),[x,b]=p.useState(!0);p.useEffect(()=>{e||y(!1)},[e]);const v=()=>{y(!0),setTimeout(()=>{t()},300)},C=()=>{b(!x)};if(!e||!s)return null;const k=c?.overallStatus==="processing",I=c?.overallStatus==="success",A=!!c,{isFailed:E,failureMessage:D}=yu(c),R=!A&&m,B=R&&d==="executing",W=R&&d==="success",O=I&&m&&(d==="idle"||d==="executing")||B,M=I&&(!m||d==="success"||d==="error")||W||R&&d==="error",U=f?h.cardBg:"#ffffff",F=f?"0 -4px 20px rgba(0, 0, 0, 0.4)":"0 -4px 20px rgba(0, 0, 0, 0.15)",N=h.textSecondary,L=f?h.textPrimary:"#1f2937",q=f?h.textPrimary:"#1f2937",oe=Q=>i.jsx("div",{style:{marginBottom:a.spacing.md,padding:a.spacing.md,backgroundColor:l?.errorMessage?.backgroundColor||(a.mode==="light"?"#fef2f2":`${a.colors.error}20`),border:`1px solid ${l?.errorMessage?.borderColor||(a.mode==="light"?"#fecaca":a.colors.error)}`,borderRadius:l?.errorMessage?.borderRadius||a.borderRadius.md},children:i.jsx("p",{style:{color:l?.errorMessage?.color||a.colors.error,fontSize:l?.errorMessage?.fontSize||a.typography.fontSize.sm,margin:0,fontFamily:l?.errorMessage?.fontFamily||l?.fontFamily||a.typography.fontFamily},children:Q})}),pe={fontSize:a.typography.fontSize.sm,fontWeight:500,color:N,fontFamily:u.font.mono,letterSpacing:"0.5px"},ae=(Q,$,X=L)=>i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[i.jsx("span",{style:pe,children:Q}),i.jsx("span",{style:{fontSize:a.typography.fontSize.sm,fontWeight:500,color:X,fontFamily:u.font.mono},children:$})]});return i.jsxs("div",{style:{position:"absolute",bottom:0,left:0,right:0,zIndex:10,animation:g?"slideDown 0.3s ease-in":"slideUp 0.3s ease-out",pointerEvents:"auto"},children:[i.jsxs("div",{style:{backgroundColor:U,borderRadius:"0",width:"100%",maxWidth:"522px",margin:"0 auto",padding:"18px 24px",boxShadow:F},children:[!I&&!W&&i.jsxs(i.Fragment,{children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:a.spacing.md},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",cursor:"pointer"},onClick:C,children:[i.jsx("span",{style:{fontSize:"13px",fontWeight:a.typography.fontWeight.medium,color:N,fontFamily:l?.fontFamily||a.typography.fontFamily},children:"Transaction Details"}),i.jsx(Jn,{color:N,direction:x?"up":"down"})]}),i.jsx("button",{onClick:Q=>{Q.stopPropagation(),t()},style:{background:"none",border:"none",cursor:"pointer",padding:"4px",display:"flex",alignItems:"center",justifyContent:"center",color:N,transition:"color 0.2s ease"},onMouseEnter:Q=>{Q.currentTarget.style.color=q},onMouseLeave:Q=>{Q.currentTarget.style.color=N},children:i.jsx(As,{size:16})})]}),i.jsxs("div",{style:{marginBottom:a.spacing.lg,display:"flex",flexDirection:"column",gap:a.spacing.md,overflow:"hidden",maxHeight:x?"200px":"0px",opacity:x?1:0,transition:"max-height 0.3s ease, opacity 0.3s ease"},children:[ae("NETWORK",s.network),ae("DEPOSITED AMOUNT",s.amount,a.colors.success),s.creditedAmount&&ae("CREDITED AMOUNT",s.creditedAmount),s.spicenetFee&&ae("SPICENET FEE",s.spicenetFee),s.networkFee&&ae("EST. NETWORK FEE",s.networkFee)]})]}),r&&!A&&oe(r),E&&D&&oe(D),i.jsx(u.Button,{onClick:M||E?v:n,variant:"outline",fullWidth:!0,disabled:o||k||O||B,styles:l,theme:w,children:o||k||B||O?"PROCESSING...":M?"CONTINUE \u2192":E?"CLOSE":"CONFIRM DEPOSIT"}),M&&i.jsx("p",{style:{marginTop:a.spacing.md,marginBottom:0,fontSize:"14px",color:N,textAlign:"center",fontFamily:l?.fontFamily||a.typography.fontFamily},children:"Your funds are now available in your Account"}),i.jsx("div",{style:{marginTop:a.spacing.md,display:"flex",justifyContent:"center",alignItems:"center"},children:i.jsx("img",{src:wi,alt:"Powered by SpiceNet",style:{height:"auto",width:"130px",opacity:1,filter:f?"brightness(0) invert(1) opacity(0.7)":"none"}})})]}),i.jsx("style",{children:`
|
|
4
4
|
@keyframes slideUp {
|
|
5
5
|
from {
|
|
6
6
|
transform: translateY(100%);
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
transform: translateY(100%);
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
`})]})},bu=({intentStatus:e,postDepositSuccess:t=!1,postDepositAmount:n=null,postDepositStatus:s="idle",depositActionLabel:o="Post-Deposit Instruction",sourceChainName:r="Source Chain",directDepositStatus:a="idle",directDepositTxHash:l=null,directDepositChainId:c=null,styles:d})=>{const{dark:m,dk:f}=u.useSpiceBrand(d),[h,w]=p.useState([]),g=p.useRef(null),y=m?f.cardBg:"#ffffff",x=m?f.textPrimary:"#374151",b=m?`${f.cardBorder}`:"rgba(255, 255, 255, 0.2)",v=f.textSecondary,C=m?f.successBg||"#064e3b":"#d1fae5",k=m?f.successText||"#6ee7b7":"#065f46",
|
|
20
|
+
`})]})},bu=({intentStatus:e,postDepositSuccess:t=!1,postDepositAmount:n=null,postDepositStatus:s="idle",depositActionLabel:o="Post-Deposit Instruction",sourceChainName:r="Source Chain",directDepositStatus:a="idle",directDepositTxHash:l=null,directDepositChainId:c=null,styles:d})=>{const{dark:m,dk:f}=u.useSpiceBrand(d),[h,w]=p.useState([]),g=p.useRef(null),y=m?f.cardBg:"#ffffff",x=m?f.textPrimary:"#374151",b=m?`${f.cardBorder}`:"rgba(255, 255, 255, 0.2)",v=f.textSecondary,C=m?f.successBg||"#064e3b":"#d1fae5",k=m?f.successText||"#6ee7b7":"#065f46",I=m?f.successBorder||"#065f4633":"#75FFD036",A=m?f.errorBg||"#7f1d1d":"#fecaca",E=m?f.errorText||"#fca5a5":"#991b1b",D=m?f.errorBorder||"#991b1b33":"#FCA5A536",R=e?.overallStatus==="processing",B=e?.overallStatus==="success",W=B&&s!=="idle",O=o;return p.useEffect(()=>((a==="success"&&!R&&!B||t&&!R)&&(g.current=setTimeout(()=>{w([])},6e3)),()=>{g.current&&clearTimeout(g.current)}),[a,t,R,B]),p.useEffect(()=>{const M=[];if(a==="processing"&&M.push({id:"direct-processing",type:"direct-processing",content:"PROCESSING DEPOSIT...",borderColor:b,backgroundColor:y,textColor:x,icon:i.jsx(u.Spinner,{size:20,borderWidth:3,color:v})}),a==="success"){const U=l&&c?u.getExplorerUrl(c,l):void 0;M.push({id:"direct-success",type:"direct-success",content:"DEPOSIT CONFIRMED",borderColor:I,backgroundColor:C,textColor:k,explorerUrl:U!=="#"?U:void 0,icon:mo})}if(R&&M.push({id:"processing",type:"processing",content:"VERIFYING TRANSACTION SIGNATURE",borderColor:b,backgroundColor:y,textColor:x,icon:i.jsx(u.Spinner,{size:20,borderWidth:3,color:v})}),B&&(M.push({id:"submitted",type:"submitted",content:"SUBMITTED TRANSACTION TO BLOCKCHAIN",borderColor:I,backgroundColor:C,textColor:k,icon:mo}),M.push({id:"deposit-success",type:"deposit-success",content:`DEPOSIT TO ${r.toUpperCase()} SUCCESSFUL`,borderColor:I,backgroundColor:C,textColor:k,icon:mo})),W){const U=s==="success"?I:s==="error"?D:b,F=s==="success"?C:s==="error"?A:y,N=s==="success"?k:s==="error"?E:x;let L="";s==="executing"?L=`EXECUTING ${O.toUpperCase()}...`:s==="success"?L=`${O.toUpperCase()} CONFIRMED`:s==="error"&&(L=`${O.toUpperCase()} FAILED`);let q;s==="executing"?q=i.jsx(u.Spinner,{size:20,borderWidth:3,color:v}):s==="success"?q=i.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",style:{flexShrink:0},children:[i.jsx("circle",{cx:"10",cy:"10",r:"10",fill:"#10b981"}),i.jsx("path",{d:"M6 10l3 3 5-6",stroke:"#ffffff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}):s==="error"&&(q=i.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",style:{flexShrink:0},children:[i.jsx("circle",{cx:"10",cy:"10",r:"10",fill:"#ef4444"}),i.jsx("path",{d:"M6 6l8 8M14 6l-8 8",stroke:"#ffffff",strokeWidth:"2",strokeLinecap:"round"})]})),M.push({id:"post-deposit",type:"post-deposit",content:L,status:s,borderColor:U,backgroundColor:F,textColor:N,icon:q})}t&&n&&M.push({id:"post-deposit-success",type:"post-deposit-success",content:`SUCCESSFULLY DEPOSITED ${n}`,borderColor:I,backgroundColor:C,textColor:k,icon:mo}),w(U=>{const F=new Set(M.map(q=>q.id)),N=[],L=new Set;for(const q of U)if(F.has(q.id)){const oe=M.find(pe=>pe.id===q.id);N.push(oe),L.add(q.id)}for(const q of M)L.has(q.id)||N.push(q);if(N.length>3){const q=[],oe=[];for(const Q of N)Q.type==="processing"||Q.type==="post-deposit"&&Q.status==="executing"?q.push(Q):oe.push(Q);const pe=[...q],ae=3-pe.length;return ae>0&&oe.length>0&&pe.push(...oe.slice(-ae)),pe}return N})},[R,B,W,s,t,n,O,r,a,l,c,m]),h.length===0?null:i.jsxs("div",{style:{position:"absolute",top:"56px",left:"24px",right:"24px",zIndex:100,display:"flex",flexDirection:"column",gap:"8px",pointerEvents:"none"},children:[h.map(M=>i.jsx("div",{style:{borderRadius:"12px",border:`4px solid ${M.borderColor}`,background:"transparent",animation:"fadeInSlide 0.4s ease-out"},children:i.jsxs("div",{style:{backgroundColor:M.backgroundColor,borderRadius:"8px",padding:"14px 16px",display:"flex",alignItems:"center",gap:"12px"},children:[M.icon,i.jsx("span",{style:{fontSize:"13px",fontWeight:"600",color:M.textColor,letterSpacing:"0.3px",fontFamily:u.font.ui,flex:1},children:M.content}),M.explorerUrl&&i.jsx("a",{href:M.explorerUrl,target:"_blank",rel:"noopener noreferrer",style:{fontSize:"12px",fontWeight:"600",color:M.textColor,textDecoration:"underline",whiteSpace:"nowrap",pointerEvents:"auto",opacity:.8},children:"View tx"})]})},M.id)),i.jsx("style",{children:`
|
|
21
21
|
@keyframes fadeInSlide {
|
|
22
22
|
from {
|
|
23
23
|
opacity: 0;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
transform: translateY(0);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
`})]})},Di=p.memo(({isOpen:e,onClose:t,closeOnBackdropClick:n=!1,onDepositSelect:s,depositBatches:o,supportedChains:r,title:a,styles:l,onDepositAssetChange:c,assetInputHook:d,externalWalletAddress:m,onDepositAmountChange:f,allowSecondAsset:h=!1,destinationChainId:w,destinationTokenAddress:g,onDepositExecute:y,depositActionLabel:x,nativeChainId:b,sponsorGas:v=!1,preSelectedAsset:C,escrowOnly:k=!1,escrowTokenAddress:A,escrowAmount:I,escrowTokenDecimals:E,escrowTokenSymbol:N,onSubmit:R,onDepositSuccess:B,onDepositError:U,embeddedWalletAddress:O,onViewAllAssets:W})=>{const D=p.useContext(u.SpiceFlowProviderContext),F=D?.mode||"7702",P=D?.allowedTokens,q=!!D?.isWhitelistGateActive,L=!k&&!!D?.isWhitelistConfigured&&D?.isUserWhitelisted!==!0,ne=d?.assetAmount||"",{theme:pe,dark:ce,appName:X,primaryColor:z,dk:V}=u.useSpiceBrand(l),fe=u.useWallet(),{isReady:Y,isAuthenticated:Ce}=fe,{externalWallet:be}=u.useProviderWallets(),j=D?.embeddedWalletAddress||O,Z=F!="7702",$=Z?!!m:Y&&Ce&&!!j,H=j,me=m,ge=H??me,je=u.useAssetDisplay(),{data:K}=yn.useWalletClient(),[M,J]=p.useState(K),ae=p.useRef(null),oe=p.useRef(be);oe.current=be;const ee=be?.address;p.useEffect(()=>{const Q=oe.current;if(!Q||!me){ae.current=null,J(K);return}if(Q.address?.toLowerCase()!==me?.toLowerCase()){ae.current=null,J(K);return}Q.getEthereumProvider().then(async xe=>{ae.current=xe;const we=await xe.request({method:"eth_chainId"}),ke=parseInt(we,16),wt=u.getChainConfig(ke),ut=await Q.getWalletClient(ke);J(wt?T.createWalletClient({account:me,chain:wt.viemChain,transport:T.custom(xe)}):ut)}).catch(()=>{ae.current=null,J(K)})},[ee,me,K]);const Ae=p.useRef(null),[te,Re]=p.useState([]),{assets:We,loading:ot,error:ve,refreshAssets:Ge}=Cs({address:k?H:me||H,supportedChains:r,fetchBalances:Yn,enabled:e,refreshInterval:e?5e3:0}),De=p.useMemo(()=>We.filter(Q=>Q.balance>0n&&En(Q,"deposit-source",{allowedTokens:P,rpcOverrides:D?.rpcOverrides,liquidityVenues:D?.liquidityVenues,isWhitelistGateActive:q},void 0,void 0,{requiresEscrow:Z||k}).eligible).sort((Q,xe)=>xe.balanceUsd-Q.balanceUsd),[We,P,D?.rpcOverrides,q,Z,k]),at=p.useMemo(()=>{if(!te[0]?.asset)return[];const Q=te[0].asset.chainId;return De.filter(xe=>xe.chainId===Q)},[De,te]),[Pe,it]=p.useState(!1),[nt,xt]=p.useState(null),Ke=p.useRef(U);Ke.current=U;const lt=p.useCallback(Q=>{xt(Q),typeof Q=="string"&&Q&&Ke.current?.(Q,u.getRelayerErrorDetail(Q))},[]),[Ee,st]=p.useState("idle"),Je=p.useCallback(Q=>{typeof Q=="string"&&Q&&Ke.current?.(Q,u.getRelayerErrorDetail(Q))},[]),[ft,yt]=p.useState(!1),[Xe,ct]=p.useState(null),[Ue,rt]=p.useState("idle"),[Le,ie]=p.useState(null),[ue,Te]=p.useState(null),[Be,de]=p.useState(null),[Oe,le]=p.useState(null),[se,Qe]=p.useState(null),{intentStatus:Ne,startStatusPolling:pt,clearStatus:jt,execute:It}=Ss(),Ie=p.useCallback((Q,xe)=>{const we=u.CHAIN_CONFIGS[xe];return we?we.supportedTokens?.find(ke=>u.addressesEqual(ke.address,Q))?.symbol??null:null},[]),_e=p.useMemo(()=>{const Q=te[0]?.asset;if(!Q||!g||!w)return!1;const xe=Ie(g,w);return Cd(Q.symbol)&&!!xe&&kd(xe)},[te,g,w,Ie]);p.useEffect(()=>{te.length>0&&ne!==te[0]?.amount&&Re(Q=>{if(Q.length===0)return Q;const xe=[...Q];return xe[0]={...xe[0],amount:ne||""},xe})},[ne]),p.useEffect(()=>{te.length!==0&&Re(Q=>{let xe=!1;const we=Q.map(ke=>{if(!ke.asset)return ke;const wt=De.find(ut=>ut.chainId===ke.asset.chainId&&u.addressesEqual(ut.address,ke.asset.address));return wt?wt===ke.asset||wt.balance===ke.asset.balance?ke:(xe=!0,{...ke,asset:wt,amount:ke.amount}):ke});return xe?we:Q})},[De,te.length]),p.useEffect(()=>{if(!C||te.length>0||De.length===0)return;const Q=De.find(xe=>xe.chainId===C.chainId&&u.addressesEqual(xe.address,C.address));Q&&(Re([{asset:Q,amount:""}]),c?.(Q))},[C,De,te.length]);const vt=p.useRef(null);p.useEffect(()=>{if(Z&&Ne?.overallStatus==="success"&&y&&Ee==="idle"){const Q=vt.current,xe=Ae.current;Q&&(async()=>{try{st("executing"),await y(Q),st("success"),ct(Q),yt(!0);const we=Array.isArray(xe)?xe[0]:void 0,ke={type:"deposit",status:"success",amount:Q,asset:we?.tokenAddress,sourceChain:we?String(we.chainId):void 0,txHash:we?.txHash};window.dispatchEvent(new CustomEvent("spiceflow:action",{detail:ke})),B?.(ke)}catch(we){console.error("onDepositExecute failed:",we),st("error"),Je(u.sanitizeError(we,"Post-deposit instruction failed"))}finally{vt.current=null,Ae.current=null}})()}},[Ne?.overallStatus,Z,Ee]);const Et=p.useCallback(()=>{lt(null)},[]);p.useEffect(()=>{e||(yt(!1),ct(null),rt("idle"),ie(null),Te(null))},[e]);const dt=p.useCallback((Q,xe)=>{Re(we=>{const ke=[...we];return ke[xe]={asset:Q,amount:ke[xe]?.amount||""},ke}),xe===0&&c?.(Q),Et()},[c,Et]),Dt=p.useCallback(async(Q,xe)=>{if(Re(we=>{const ke=[...we];return ke[xe]&&(ke[xe]={...ke[xe],amount:Q}),ke}),Et(),xe===0)if(d?.setAssetAmount(Q),_e&&Q&&parseFloat(Q)>0)try{const we=Be??await vd();Be||de(we);const ke=te[0]?.asset;if(!ke)return;const wt=T.parseUnits(Q,ke.decimals),ut=g?Ie(g,w):null,mn=u.CHAIN_CONFIGS[w]?.supportedTokens?.find(On=>u.addressesEqual(On.address,g))?.decimals??6,qn=Sd(wt,ke.decimals,mn,we);le(qn);const zn=T.formatUnits(qn,mn),ln=we.toLocaleString("en-US",{maximumFractionDigits:0});Qe(`${Q} ${ke.symbol} \u2248 $${parseFloat(zn).toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})} ${ut??"USD"} (rate: $${ln}/BTC)`),f?.(zn)}catch(we){console.error("Failed to fetch BTC/USD price:",we),Qe(null),le(null),f?.(Q)}else Qe(null),le(null),f?.(Q)},[Et,d,f,_e,Be,te,g,w,Ie]),Dn=p.useCallback(()=>{te.length<2&&Re(Q=>[...Q,{asset:null,amount:""}])},[te.length]),mt=p.useCallback(Q=>{Re(xe=>xe.filter((we,ke)=>ke!==Q)),Et()},[Et]),rn=p.useRef(!1),Ft=p.useRef(!1);p.useEffect(()=>{e||(rn.current=!1,Ft.current=!1,Gt(null),Fe(null))},[e]);const[Lt,Ct]=p.useState(!1),[Qt,Pt]=p.useState(null),[Mt,Gt]=p.useState(null),[ht,Fe]=p.useState(null),[kt,qt]=p.useState(!1),[Kt,Ot]=p.useState(null),Me=p.useMemo(()=>{const Q=te[0];if(te.length!==1||!Q?.asset||!Q.amount||parseFloat(Q.amount)<=0)return null;try{return{asset:Q.asset,amount:T.parseUnits(Q.amount,Q.asset.decimals),token:S.normalizeNativeTokenAddress(Q.asset.address),chainId:Q.asset.chainId}}catch{return null}},[te]),Jt=!Z&&!k&&!!Me&&!Tn(Me.asset),zt=p.useMemo(()=>Me?[Me.chainId,Me.token.toLowerCase(),Me.amount.toString(),k?"escrow":"normal"].join("|"):null,[Me,k]),Nt=p.useCallback(async(Q,xe)=>H?ir({address:H,depositQuote:Q,escrowOnly:k,signal:xe}):null,[H,k]),$t=p.useCallback(async Q=>Me?Nt(Me,Q):null,[Me,Nt]),an=p.useRef($t);an.current=$t,$o({shouldRun:e&&!Z&&!Jt&&!!zt&&!Lt&&!Pe,deps:[e,Z,Jt,zt,Lt,Pe],delayMs:500,backgroundIntervalMs:3e4,onSkip:()=>{Gt(null),Ot(null),qt(!1)},onCleanup:()=>qt(!1),run:async({isBackground:Q,isCurrent:xe,signal:we})=>{Q||(Ot(null),qt(!0));try{const ke=await an.current(we);xe()&&Gt(ke)}catch(ke){if(!xe())return;Gt(null),Ot(ke instanceof Error?ke.message:"Failed to estimate gas fee")}finally{xe()&&qt(!1)}}}),p.useEffect(()=>{Lt||Pe||Fe(null)},[Lt,Pe,zt]);const Sn=async()=>{if(te.length===0||!te[0]?.asset)return;const Q=te.filter(ut=>ut.asset&&ut.amount&&parseFloat(ut.amount)>0);if(Q.length===0)return;const xe=Q[0],we=u.getChainConfig(xe.asset.chainId),ke=Q.map(ut=>{const mn=parseFloat(ut.amount);return`${isNaN(mn)?ut.amount:mn.toPrecision(6).replace(/\.?0+$/,"")} ${ut.asset.symbol}`}).join(", "),wt={network:we?.displayName||`Chain ${xe.asset.chainId}`,amount:ke,symbol:"",chainId:xe.asset.chainId};if(!Z&&Q.length===1&&Mt){Fe(Mt);const ut=Q[0];wt.creditedAmount=`${T.formatUnits(Mt.net,ut.asset.decimals)} ${Tn(ut.asset)?je({...ut.asset,location:"rollup",_source:"spice",receiptTokenName:"spiceUSDC"}).symbol:ut.asset.symbol}`,wt.networkFee=`${T.formatUnits(Mt.fee,ut.asset.decimals)} ${ut.asset.symbol}`}Pt(wt),Ct(!0)},In=p.useRef(Ne);In.current=Ne;const fn=p.useRef(Ee);fn.current=Ee;const Ht=async()=>{await ru({selectedDepositAssets:te,escrowOnly:k,sourceAddress:me,isNon7702:Z,address:H,embeddedWalletAddress:j,isReady:Y,isAuthenticated:Ce,zeroCreditError:Tt,depositBalanceError:Ze,externalWalletClient:M,externalProvider:ae.current,effectiveDepositFee:_,depositBatches:o,destinationChainId:w,destinationTokenAddress:g,isCrossDenomination:_e,convertedUsdAmount:Oe,mode:F,sponsorGas:v,nativeChainId:b,spiceBalanceUser:ge,depositDataRef:Ae,bridgedAmountRef:vt,setIsExecuting:it,setError:lt,setConfirmationData:Pt,setShowConfirmation:Ct,setDirectDepositStatus:rt,setDirectDepositChainId:Te,setDirectDepositTxHash:ie,setPostDepositStatus:st,setPostDepositError:Je,setPostDepositAmount:ct,setPostDepositSuccess:yt,startStatusPolling:pt,clearStatus:jt,refreshAssets:Ge,onDepositExecute:y,onDepositSelect:s,onDepositSuccess:B,execution:{execute:It},getCurrentIntentStatus:()=>In.current,getCurrentPostDepositStatus:()=>fn.current})},Tt=p.useMemo(()=>{for(const Q of te)if(!(!Q?.asset||!Q.amount||parseFloat(Q.amount)<=0))try{const xe=Q.asset.decimals,we=T.parseUnits(Q.amount,xe);if(we<=0n)continue;const ke=S.normalizeNativeTokenAddress(Q.asset.address),wt=S.isNativeToken(ke)?S.getTokenByAddress(ke,Q.asset.chainId)?.equivalenceGroup:S.getEquivalenceGroup(ke),ut=Q.asset.receiptTokenDecimals??(wt==="ETH"||wt==="ARB"?18:wt==="USDC"||wt==="SUSD"||wt==="WBTC"||wt==="CBTC"?6:void 0);if(ut===void 0||xe<=ut||S.convertAmountBetweenDecimals(we,xe,ut)>0n)continue;return`Amount too small. Minimum deposit for this asset is ${T.formatUnits(10n**BigInt(xe-ut),xe)} ${Q.asset.symbol}.`}catch{continue}return null},[te]),re=!Z&&!!Me&&!Jt,_=ht??Mt,Se=!!Me&&Ti(_,Me),Ze=p.useMemo(()=>{if(!Me)return null;if(Jt)return Me.asset.balance>=Me.amount?null:`Insufficient ${Me.asset.symbol}. Need ${T.formatUnits(Me.amount,Me.asset.decimals)} ${Me.asset.symbol}.`;if(!re||!Se)return null;const Q=k?Me.amount:Me.amount+_.fee;return Me.asset.balance>=Q?null:`Insufficient ${Me.asset.symbol}. Need ${T.formatUnits(Q,Me.asset.decimals)} ${Me.asset.symbol} including gas.`},[re,Jt,Me,Se,_,k]),[et,Ye]=p.useState(!1),qe=te[0]?.asset?.chainId,Ut=We.find(Q=>Q.isNative&&Q.chainId===qe)?.balance??0n;p.useEffect(()=>{if(!e||!qe){Ye(!1);return}let Q=!1;return(async()=>{try{const xe=await u.getClientForChain(qe).getGasPrice()*150000n;Q||Ye(Ut<xe)}catch{Q||Ye(!1)}})(),()=>{Q=!0}},[e,qe,Ut]);const Bt=!re||Se&&!kt&&!Kt&&!Ze,Zt=p.useCallback((Q,xe)=>au({asset:Q,assetIndex:xe,selectedAssetCount:te.length,address:H,escrowOnly:k,isNon7702:Z}),[Z,te.length,H,k]),tn=p.useMemo(()=>{if(!Me||!_||!Se)return null;const Q=k?Me.amount:Me.amount+_.fee;return{symbol:Me.asset.symbol,decimals:Me.asset.decimals,grossAmount:Q,netAmount:_.net,totalFee:_.fee,gasFee:_.fee,spicenetFee:0n,bridgeFee:0n,gasQuoteSource:"estimated"}},[Me,_,Se,k]),At=parseFloat(te[0]?.amount||"")||0,An=te.length>0&&te[0]?.asset&&te[0]?.amount&&At>0&&$&&!Pe&&!Tt&&!Ze&&Bt&&!L;p.useEffect(()=>{if(!k||!A||!I||rn.current||!$)return;const Q=r[0];if(!Q)return;const xe=u.getAllAssetsForChain(Q,[]).find(ke=>u.addressesEqual(ke.address,A));let we;if(xe)we=xe;else if(E!==void 0&&N)we={address:A,symbol:N,name:N,decimals:E,chainId:Q,balance:BigInt(0),balanceFormatted:0,balanceUsd:0,isNative:S.isNativeToken(A)};else{console.warn("[DepositModal] escrowOnly: no matching asset and missing escrowTokenDecimals/escrowTokenSymbol for",A);return}rn.current=!0,Re([{asset:we,amount:I}])},[k,A,I,E,N,$,r]),p.useEffect(()=>{!k||!An||Ft.current||Pe||(Ft.current=!0,Ht())},[k,An,Pe]);const Wt=ve||nt||Tt||Ze,Ln=()=>{if(Pe)return"Executing Deposit...";if(!$)return"Wallet Not Connected";if(F==="7702"){if(!Y)return"Loading...";if(!Ce)return"Authentication Required"}return te[0]?.asset?te[0]?.amount?Tt?"AMOUNT TOO SMALL":Ze?"INSUFFICIENT BALANCE":re&&!Bt?Kt?"GAS UNAVAILABLE":"ESTIMATING GAS":"DEPOSIT":"ENTER AMOUNT":"SELECT TOKEN"};return e?i.jsx(pn,{isOpen:e,onClose:t,closeOnBackdropClick:n,title:a||`Deposit to your ${X} account`,subtitle:i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"5px"},children:[i.jsx("img",{src:Jo,alt:"","aria-hidden":"true",style:{width:"13px",height:"13px",flexShrink:0,...ce?{filter:"invert(0.6)"}:{}}}),i.jsx("p",{style:{fontSize:"12px",color:V.textSecondary,margin:"0",lineHeight:"1.4",fontFamily:u.font.ui},children:`Deposit collateral to your ${X} Account from any supported network.`})]}),dark:ce,overlayContent:Lt||Ne||Ee!=="idle"&&y?i.jsx("div",{}):void 0,styles:l,theme:pe,children:i.jsxs("div",{style:{padding:"24px 24px 5px 24px"},children:[i.jsx(hu,{selectedDepositAssets:te,depositAssets:De,secondAssetOptions:at,loadingAssets:ot,allowSecondAsset:h,theme:pe,styles:l,dark:ce,dk:V,onSelect:dt,onAmountChange:Dt,onAdd:Dn,onRemove:mt,resolveMaxAmount:Zt,onViewAllAssets:W}),re&&Me&&i.jsx(or,{fontFamily:l?.fontFamily||pe.typography.fontFamily,textPrimary:V.textPrimary,textSecondary:V.textSecondary,cardBg:ce?V.inputBg:"#ffffff",cardBorder:V.cardBorder,resolvedDark:ce,darkCardBorder:V.cardBorder,primaryColor:z,feePreview:tn,isLoading:kt||re&&!Se,errorText:Kt}),i.jsx(bu,{intentStatus:Ne,postDepositSuccess:ft,postDepositAmount:Xe,postDepositStatus:Ee,depositActionLabel:x,sourceChainName:te[0]?.asset?.chainId?u.getChainName(te[0].asset.chainId):"Destination Chain",directDepositStatus:Ue,directDepositTxHash:Le,directDepositChainId:ue,styles:l}),i.jsx(wu,{isOpen:Lt||!!Ne||Ee!=="idle"&&!!y,onClose:()=>{Ct(!1),Ne&&jt();const Q=Ee==="success"&&!Ne,xe=Ne?.overallStatus==="success"&&(y?Ee==="success":!0);(Q||xe)&&t()},onConfirm:()=>{if(!Pe)return R?.(),Ht()},data:Qt,isExecuting:Pe,error:nt,theme:pe,styles:l,intentStatus:Ne,postDepositStatus:Ee,hasPostDepositInstruction:!!y}),se&&i.jsxs(Ci,{dk:V,dark:ce,borderRadius:pe.borderRadius.md,children:["\u26A1 ",se]}),et&&i.jsx(Ci,{dk:V,dark:ce,borderRadius:pe.borderRadius.md,children:"Low native balance in the external wallet. The deposit to spicenet account might fail."}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:0,marginBottom:0,margin:0,padding:0},children:[Wt?i.jsx("div",{style:{marginBottom:"10px",fontSize:"12px",lineHeight:"1.45",color:V.errorText,fontFamily:l?.fontFamily||pe.typography.fontFamily},children:Wt}):null,i.jsx(u.Button,{variant:"outline",fullWidth:!0,onClick:Sn,disabled:!An||!$||Pe,theme:pe,dark:ce,styles:l,children:Ln()})]})]})}):null});function pr(e,t=!0){const n=u.relayerService.getBaseUrl(),s=`${n}:${e?.toLowerCase()??""}`,[o,r]=p.useState({scope:s,actions:[],error:null}),[a,l]=p.useState(0),c=p.useCallback(()=>l(d=>d+1),[]);return p.useEffect(()=>{if(!t||!e)return;const d=new AbortController,m=new u.RelayerService;m.setBaseUrl(n);let f;const h=async()=>{try{const w=await m.getWalletActions(e,d.signal);d.signal.aborted||r({scope:s,actions:w,error:null})}catch(w){if(d.signal.aborted)return;if(w instanceof u.SpiceflowError&&w.context.httpStatus===404){r({scope:s,actions:[],error:null});return}r(g=>({scope:s,actions:g.scope===s?g.actions:[],error:"Activity is temporarily unavailable. Refresh to check again."}))}d.signal.aborted||(f=setTimeout(h,5e3))};return h(),window.addEventListener("online",c),()=>{d.abort(),clearTimeout(f),window.removeEventListener("online",c)}},[n,e,t,s,a,c]),{actions:t&&o.scope===s?o.actions:[],error:o.scope===s?o.error:null,refresh:c}}function en(e,t,n,s){if(t===n)return e;if(t<n)return e*10n**BigInt(n-t);const o=10n**BigInt(t-n);return s==="ceil"?(e+o-1n)/o:e/o}function Vt(e,t){if(!Number.isInteger(t)||t<0||t>255)throw new Error("Invalid token decimals");if(!/^\d+(?:\.\d*)?$/.test(e))throw new Error("Enter a valid amount.");if((e.split(".")[1]?.replace(/0+$/,"")??"").length>t)throw new Error(`Use at most ${t} decimal places for this source.`);return T.parseUnits(e,t)}function _n(e,t,n){const s=en(e,t,n,"floor");if(en(s,n,t,"floor")!==e)throw new Error(`Use at most ${n} decimal places for this delivered token.`);return s}function vu(e){return`0x77${e.slice(4)}`}function Fs({userAddress:e,destinationChainId:t,deliveryToken:n,deliveryAmount:s,withdrawalAmount:o,deliveryRecipient:r,deliveryTransfers:a,requestTimestampMs:l,expiresAt:c,metadata:d,requestNonce:m}){if(c!==void 0&&(!Number.isSafeInteger(c)||c<=0))throw new Error("Withdrawal expiry must be a positive Unix timestamp in seconds");const f=a?.length?a:[{token:n,recipient:r,amount:o??s}],h=f.reduce((b,v)=>b+v.amount,0n);if(h<=0n)return null;const w=l??Date.now(),g=BigInt(Math.floor(w/1e3)),y=e??r,x=vu(T.keccak256(T.encodeAbiParameters([{type:"address"},{type:"address"},{type:"address"},{type:"uint256"},{type:"uint256"},{type:"uint256"},...m?[{type:"bytes32"}]:[]],[y,n,r,h,BigInt(t),BigInt(w),...m?[m]:[]])));return{chainId:S.SPICENET_NATIVE_CHAIN_ID,domain:"spicenet",tokenTransfers:[],calls:[{to:S.ZERO_ADDRESS,value:0n,data:T.encodeFunctionData({abi:S.spicenetAbi,functionName:"createWithdrawalRequest",args:[{chainId:`evm:${t}`,idempotenceKey:x,nbf:0n,exp:c===void 0?g+3600n:BigInt(c),metadata:d??"{}",transfers:f.map(b=>({token:T.getAddress(b.token).toLowerCase(),to:T.getAddress(b.recipient).toLowerCase(),amount:b.amount}))}]})}]}}const fr=e=>{const[t,n]=p.useState(!1),s=p.useContext(u.SpiceFlowProviderContext),{dark:o,dk:r}=u.useSpiceBrand();if(p.useEffect(()=>{n(!0)},[]),!t)return i.jsx("div",{className:e.className,children:i.jsx("button",{disabled:!0,style:{padding:"12px 24px",fontSize:"16px",backgroundColor:o?r.hoverBg:"#ccc",color:o?r.textSecondary:"white",border:o?`1px solid ${r.buttonBorder}`:"none",borderRadius:"4px",cursor:"not-allowed"},children:"Loading..."})});if(!s){const a='ProviderLogin must be used within SpiceFlowProvider. Please wrap your app with <SpiceFlowProvider provider="privy">.';return i.jsx("div",{className:e.className,children:i.jsx("button",{onClick:()=>{e.onAuthError&&e.onAuthError(a)},style:{padding:"12px 24px",fontSize:"16px",backgroundColor:o?r.errorBg:"#dc2626",color:o?r.errorText:"white",border:o?`1px solid ${r.errorBorder}`:"none",borderRadius:"4px",cursor:"pointer"},children:"Provider Not Found"})})}return i.jsx(u.PrivyLogin,{...e})},Oi=({isSuccess:e,type:t,chainName:n,explorerUrl:s,txHash:o,dark:r=!1,successBg:a="#d1fae5",successBorder:l="#6ee7b7",successText:c="#065f46",errorBg:d="#fee2e2",errorBorder:m="#fca5a5",errorText:f="#dc2626",textSecondary:h="#6b7280"})=>i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"14px 16px",borderRadius:"8px",backgroundColor:e?a:d,border:e?`1px solid ${l}`:`1px solid ${m}`},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[i.jsx("div",{style:{width:"28px",height:"28px",borderRadius:"50%",backgroundColor:e?"#10b981":"#ef4444",display:"flex",alignItems:"center",justifyContent:"center"},children:e?i.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:i.jsx("path",{d:"M11.6667 3.5L5.25 9.91667L2.33333 7",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}):i.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:i.jsx("path",{d:"M10.5 3.5L3.5 10.5M3.5 3.5L10.5 10.5",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),i.jsxs("div",{children:[i.jsx("p",{style:{margin:0,fontSize:"14px",fontWeight:600,fontFamily:u.font.mono,letterSpacing:"0.5px",color:e?c:f},children:e?`${t.toUpperCase()} CONFIRMED`:`${t.toUpperCase()} FAILED`}),i.jsxs("p",{style:{margin:"2px 0 0 0",fontSize:"12px",color:h},children:["on ",n]})]})]}),s&&o&&i.jsxs("a",{href:`${s}/tx/${o}`,target:"_blank",rel:"noopener noreferrer",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"13px",color:h,textDecoration:"none",whiteSpace:"nowrap"},children:["View on explorer",i.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:[i.jsx("path",{d:"M9 6.5V9.5C9 9.76522 8.89464 10.0196 8.70711 10.2071C8.51957 10.3946 8.26522 10.5 8 10.5H2.5C2.23478 10.5 1.98043 10.3946 1.79289 10.2071C1.60536 10.0196 1.5 9.76522 1.5 9.5V4C1.5 3.73478 1.60536 3.48043 1.79289 3.29289C1.98043 3.10536 2.23478 3 2.5 3H5.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M7.5 1.5H10.5V4.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M5 7L10.5 1.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})]})]})]}),Ni=`
|
|
31
|
+
`})]})},Di=p.memo(({isOpen:e,onClose:t,closeOnBackdropClick:n=!1,onDepositSelect:s,depositBatches:o,supportedChains:r,title:a,styles:l,onDepositAssetChange:c,assetInputHook:d,externalWalletAddress:m,onDepositAmountChange:f,allowSecondAsset:h=!1,destinationChainId:w,destinationTokenAddress:g,onDepositExecute:y,depositActionLabel:x,nativeChainId:b,sponsorGas:v=!1,preSelectedAsset:C,escrowOnly:k=!1,escrowTokenAddress:I,escrowAmount:A,escrowTokenDecimals:E,escrowTokenSymbol:D,onSubmit:R,directSubmit:B=!1,onDepositSuccess:W,onDepositError:O,embeddedWalletAddress:M,onViewAllAssets:U})=>{const F=p.useContext(u.SpiceFlowProviderContext),N=F?.mode||"7702",L=F?.allowedTokens,q=!!F?.isWhitelistGateActive,oe=!k&&!!F?.isWhitelistConfigured&&F?.isUserWhitelisted!==!0,pe=d?.assetAmount||"",{theme:ae,dark:Q,appName:$,primaryColor:X,dk:ee}=u.useSpiceBrand(l),Y=u.useWallet(),{isReady:we,isAuthenticated:be}=Y,{externalWallet:j}=u.useProviderWallets(),K=F?.embeddedWalletAddress||M,Z=N!="7702",G=Z?!!m:we&&be&&!!K,ue=K,me=m,Se=ue??me,J=u.useAssetDisplay(),{data:P}=Cn.useWalletClient(),[_,le]=p.useState(P),te=p.useRef(null),ne=p.useRef(j);ne.current=j;const Ie=j?.address;p.useEffect(()=>{const H=ne.current;if(!H||!me){te.current=null,le(P);return}if(H.address?.toLowerCase()!==me?.toLowerCase()){te.current=null,le(P);return}H.getEthereumProvider().then(async ye=>{te.current=ye;const Ye=await ye.request({method:"eth_chainId"}),Ae=parseInt(Ye,16),vt=u.getChainConfig(Ae),mt=await H.getWalletClient(Ae);le(vt?T.createWalletClient({account:me,chain:vt.viemChain,transport:T.custom(ye)}):mt)}).catch(()=>{te.current=null,le(P)})},[Ie,me,P]);const ge=p.useRef(null),[fe,Ce]=p.useState([]),{assets:st,loading:ve,error:ze,refreshAssets:Ze}=Cs({address:k?ue:me||ue,supportedChains:r,fetchBalances:Yn,enabled:e,refreshInterval:e?5e3:0}),He=p.useMemo(()=>st.filter(H=>H.balance>0n&&Tn(H,"deposit-source",{allowedTokens:L,rpcOverrides:F?.rpcOverrides,liquidityVenues:F?.liquidityVenues,isWhitelistGateActive:q},void 0,void 0,{requiresEscrow:Z||k}).eligible).sort((H,ye)=>ye.balanceUsd-H.balanceUsd),[st,L,F?.rpcOverrides,q,Z,k]),et=p.useMemo(()=>{if(!fe[0]?.asset)return[];const H=fe[0].asset.chainId;return He.filter(ye=>ye.chainId===H)},[He,fe]),[tt,ot]=p.useState(!1),[gt,Xe]=p.useState(null),ct=p.useRef(O);ct.current=O;const Pe=p.useCallback(H=>{Xe(H),typeof H=="string"&&H&&ct.current?.(H,u.getRelayerErrorDetail(H))},[]),[lt,Me]=p.useState("idle"),ht=p.useCallback(H=>{typeof H=="string"&&H&&ct.current?.(H,u.getRelayerErrorDetail(H))},[]),[Ct,Je]=p.useState(!1),[ft,Be]=p.useState(null),[dt,De]=p.useState("idle"),[re,de]=p.useState(null),[Ee,Fe]=p.useState(null),[ce,We]=p.useState(null),[je,z]=p.useState(null),[$e,Re]=p.useState(null),{intentStatus:Ve,startStatusPolling:Mt,clearStatus:At,execute:Oe}=Ss(),rt=p.useCallback((H,ye)=>{const Ye=u.CHAIN_CONFIGS[ye];return Ye?Ye.supportedTokens?.find(Ae=>u.addressesEqual(Ae.address,H))?.symbol??null:null},[]),wt=p.useMemo(()=>{const H=fe[0]?.asset;if(!H||!g||!w)return!1;const ye=rt(g,w);return Cd(H.symbol)&&!!ye&&kd(ye)},[fe,g,w,rt]);p.useEffect(()=>{fe.length>0&&pe!==fe[0]?.amount&&Ce(H=>{if(H.length===0)return H;const ye=[...H];return ye[0]={...ye[0],amount:pe||""},ye})},[pe]),p.useEffect(()=>{fe.length!==0&&Ce(H=>{let ye=!1;const Ye=H.map(Ae=>{if(!Ae.asset)return Ae;const vt=He.find(mt=>mt.chainId===Ae.asset.chainId&&u.addressesEqual(mt.address,Ae.asset.address));return vt?vt===Ae.asset||vt.balance===Ae.asset.balance?Ae:(ye=!0,{...Ae,asset:vt,amount:Ae.amount}):Ae});return ye?Ye:H})},[He,fe.length]),p.useEffect(()=>{if(!C||fe.length>0||He.length===0)return;const H=He.find(ye=>ye.chainId===C.chainId&&u.addressesEqual(ye.address,C.address));H&&(Ce([{asset:H,amount:""}]),c?.(H))},[C,He,fe.length]);const Ft=p.useRef(null);p.useEffect(()=>{if(Z&&Ve?.overallStatus==="success"&&y&<==="idle"){const H=Ft.current,ye=ge.current;H&&(async()=>{try{Me("executing"),await y(H),Me("success"),Be(H),Je(!0);const Ye=Array.isArray(ye)?ye[0]:void 0,Ae={type:"deposit",status:"success",amount:H,asset:Ye?.tokenAddress,sourceChain:Ye?String(Ye.chainId):void 0,txHash:Ye?.txHash};window.dispatchEvent(new CustomEvent("spiceflow:action",{detail:Ae})),W?.(Ae)}catch(Ye){console.error("onDepositExecute failed:",Ye),Me("error"),ht(u.sanitizeError(Ye,"Post-deposit instruction failed"))}finally{Ft.current=null,ge.current=null}})()}},[Ve?.overallStatus,Z,lt]);const nt=p.useCallback(()=>{Pe(null)},[]);p.useEffect(()=>{e||(Je(!1),Be(null),De("idle"),de(null),Fe(null))},[e]);const Dt=p.useCallback((H,ye)=>{Ce(Ye=>{const Ae=[...Ye];return Ae[ye]={asset:H,amount:Ae[ye]?.amount||""},Ae}),ye===0&&c?.(H),nt()},[c,nt]),Nn=p.useCallback(async(H,ye)=>{if(Ce(Ye=>{const Ae=[...Ye];return Ae[ye]&&(Ae[ye]={...Ae[ye],amount:H}),Ae}),nt(),ye===0)if(d?.setAssetAmount(H),wt&&H&&parseFloat(H)>0)try{const Ye=ce??await vd();ce||We(Ye);const Ae=fe[0]?.asset;if(!Ae)return;const vt=T.parseUnits(H,Ae.decimals),mt=g?rt(g,w):null,Zt=u.CHAIN_CONFIGS[w]?.supportedTokens?.find(qt=>u.addressesEqual(qt.address,g))?.decimals??6,Fn=Sd(vt,Ae.decimals,Zt,Ye);z(Fn);const Yt=T.formatUnits(Fn,Zt),Ps=Ye.toLocaleString("en-US",{maximumFractionDigits:0});Re(`${H} ${Ae.symbol} \u2248 $${parseFloat(Yt).toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})} ${mt??"USD"} (rate: $${Ps}/BTC)`),f?.(Yt)}catch(Ye){console.error("Failed to fetch BTC/USD price:",Ye),Re(null),z(null),f?.(H)}else Re(null),z(null),f?.(H)},[nt,d,f,wt,ce,fe,g,w,rt]),xt=p.useCallback(()=>{fe.length<2&&Ce(H=>[...H,{asset:null,amount:""}])},[fe.length]),gn=p.useCallback(H=>{Ce(ye=>ye.filter((Ye,Ae)=>Ae!==H)),nt()},[nt]),Tt=p.useRef(!1),on=p.useRef(!1);p.useEffect(()=>{e||(Tt.current=!1,on.current=!1,ut(null),kt(null))},[e]);const[bt,Ut]=p.useState(!1),[zt,$t]=p.useState(null),[Ht,ut]=p.useState(null),[Te,kt]=p.useState(null),[_t,Vt]=p.useState(!1),[Ot,Wt]=p.useState(null),qe=p.useMemo(()=>{const H=fe[0];if(fe.length!==1||!H?.asset||!H.amount||parseFloat(H.amount)<=0)return null;try{return{asset:H.asset,amount:T.parseUnits(H.amount,H.asset.decimals),token:S.normalizeNativeTokenAddress(H.asset.address),chainId:H.asset.chainId}}catch{return null}},[fe]),Nt=!Z&&!k&&!!qe&&!Rn(qe.asset),Rt=p.useMemo(()=>qe?[qe.chainId,qe.token.toLowerCase(),qe.amount.toString(),k?"escrow":"normal"].join("|"):null,[qe,k]),en=p.useCallback(async(H,ye)=>ue?lr({address:ue,depositQuote:H,escrowOnly:k,signal:ye}):null,[ue,k]),ln=p.useCallback(async H=>qe?en(qe,H):null,[qe,en]),xn=p.useRef(ln);xn.current=ln,_o({shouldRun:e&&!Z&&!Nt&&!!Rt&&!bt&&!tt,deps:[e,Z,Nt,Rt,bt,tt],delayMs:500,backgroundIntervalMs:3e4,onSkip:()=>{ut(null),Wt(null),Vt(!1)},onCleanup:()=>Vt(!1),run:async({isBackground:H,isCurrent:ye,signal:Ye})=>{H||(Wt(null),Vt(!0));try{const Ae=await xn.current(Ye);ye()&&ut(Ae)}catch(Ae){if(!ye())return;ut(null),Wt(Ae instanceof Error?Ae.message:"Failed to estimate gas fee")}finally{ye()&&Vt(!1)}}}),p.useEffect(()=>{bt||tt||kt(null)},[bt,tt,Rt]);const yn=p.useRef(!1),wn=async()=>{if(fe.length===0||!fe[0]?.asset)return;const H=fe.filter(mt=>mt.asset&&mt.amount&&parseFloat(mt.amount)>0);if(H.length===0)return;const ye=H[0],Ye=u.getChainConfig(ye.asset.chainId),Ae=H.map(mt=>{const Zt=parseFloat(mt.amount);return`${isNaN(Zt)?mt.amount:Zt.toPrecision(6).replace(/\.?0+$/,"")} ${mt.asset.symbol}`}).join(", "),vt={network:Ye?.displayName||`Chain ${ye.asset.chainId}`,amount:Ae,symbol:"",chainId:ye.asset.chainId};if(!Z&&H.length===1&&Ht){kt(Ht);const mt=H[0];vt.creditedAmount=`${T.formatUnits(Ht.net,mt.asset.decimals)} ${Rn(mt.asset)?J({...mt.asset,location:"rollup",_source:"spice",receiptTokenName:"spiceUSDC"}).symbol:mt.asset.symbol}`,vt.networkFee=`${T.formatUnits(Ht.fee,mt.asset.decimals)} ${mt.asset.symbol}`}$t(vt),B?await se():Ut(!0)},Qt=p.useRef(Ve);Qt.current=Ve;const Lt=p.useRef(lt);Lt.current=lt;const ie=async()=>{await ru({selectedDepositAssets:fe,escrowOnly:k,sourceAddress:me,isNon7702:Z,address:ue,embeddedWalletAddress:K,isReady:we,isAuthenticated:be,zeroCreditError:ke,depositBalanceError:Ne,externalWalletClient:_,externalProvider:te.current,effectiveDepositFee:Ue,depositBatches:o,destinationChainId:w,destinationTokenAddress:g,isCrossDenomination:wt,convertedUsdAmount:je,mode:N,sponsorGas:v,nativeChainId:b,spiceBalanceUser:Se,depositDataRef:ge,bridgedAmountRef:Ft,setIsExecuting:ot,setError:Pe,setConfirmationData:$t,setShowConfirmation:Ut,setDirectDepositStatus:De,setDirectDepositChainId:Fe,setDirectDepositTxHash:de,setPostDepositStatus:Me,setPostDepositError:ht,setPostDepositAmount:Be,setPostDepositSuccess:Je,startStatusPolling:Mt,clearStatus:At,refreshAssets:Ze,onDepositExecute:y,onDepositSelect:s,onDepositSuccess:W,execution:{execute:Oe},getCurrentIntentStatus:()=>Qt.current,getCurrentPostDepositStatus:()=>Lt.current})},se=async()=>{if(!(yn.current||tt)){yn.current=!0;try{R?.(),await ie()}finally{yn.current=!1}}},ke=p.useMemo(()=>{for(const H of fe)if(!(!H?.asset||!H.amount||parseFloat(H.amount)<=0))try{const ye=H.asset.decimals,Ye=T.parseUnits(H.amount,ye);if(Ye<=0n)continue;const Ae=S.normalizeNativeTokenAddress(H.asset.address),vt=S.isNativeToken(Ae)?S.getTokenByAddress(Ae,H.asset.chainId)?.equivalenceGroup:S.getEquivalenceGroup(Ae),mt=H.asset.receiptTokenDecimals??(vt==="ETH"||vt==="ARB"?18:vt==="USDC"||vt==="SUSD"||vt==="WBTC"||vt==="CBTC"?6:void 0);if(mt===void 0||ye<=mt||S.convertAmountBetweenDecimals(Ye,ye,mt)>0n)continue;return`Amount too small. Minimum deposit for this asset is ${T.formatUnits(10n**BigInt(ye-mt),ye)} ${H.asset.symbol}.`}catch{continue}return null},[fe]),_e=!Z&&!!qe&&!Nt,Ue=Te??Ht,Qe=!!qe&&Ti(Ue,qe),Ne=p.useMemo(()=>{if(!qe)return null;if(Nt)return qe.asset.balance>=qe.amount?null:`Insufficient ${qe.asset.symbol}. Need ${T.formatUnits(qe.amount,qe.asset.decimals)} ${qe.asset.symbol}.`;if(!_e||!Qe)return null;const H=k?qe.amount:qe.amount+Ue.fee;return qe.asset.balance>=H?null:`Insufficient ${qe.asset.symbol}. Need ${T.formatUnits(H,qe.asset.decimals)} ${qe.asset.symbol} including gas.`},[_e,Nt,qe,Qe,Ue,k]),[Gt,Bt]=p.useState(!1),Pt=fe[0]?.asset?.chainId,tn=st.find(H=>H.isNative&&H.chainId===Pt)?.balance??0n;p.useEffect(()=>{if(!e||!Pt){Bt(!1);return}let H=!1;return(async()=>{try{const ye=await u.getClientForChain(Pt).getGasPrice()*150000n;H||Bt(tn<ye)}catch{H||Bt(!1)}})(),()=>{H=!0}},[e,Pt,tn]);const Et=!_e||Qe&&!_t&&!Ot&&!Ne,qn=p.useCallback((H,ye)=>au({asset:H,assetIndex:ye,selectedAssetCount:fe.length,address:ue,escrowOnly:k,isNon7702:Z}),[Z,fe.length,ue,k]),Kt=p.useMemo(()=>{if(!qe||!Ue||!Qe)return null;const H=k?qe.amount:qe.amount+Ue.fee;return{symbol:qe.asset.symbol,decimals:qe.asset.decimals,grossAmount:H,netAmount:Ue.net,totalFee:Ue.fee,gasFee:Ue.fee,spicenetFee:0n,bridgeFee:0n,gasQuoteSource:"estimated"}},[qe,Ue,Qe,k]),zn=parseFloat(fe[0]?.amount||"")||0,cn=fe.length>0&&fe[0]?.asset&&fe[0]?.amount&&zn>0&&G&&!tt&&!ke&&!Ne&&Et&&!oe;p.useEffect(()=>{if(!k||!I||!A||Tt.current||!G)return;const H=r[0];if(!H)return;const ye=u.getAllAssetsForChain(H,[]).find(Ae=>u.addressesEqual(Ae.address,I));let Ye;if(ye)Ye=ye;else if(E!==void 0&&D)Ye={address:I,symbol:D,name:D,decimals:E,chainId:H,balance:BigInt(0),balanceFormatted:0,balanceUsd:0,isNative:S.isNativeToken(I)};else{console.warn("[DepositModal] escrowOnly: no matching asset and missing escrowTokenDecimals/escrowTokenSymbol for",I);return}Tt.current=!0,Ce([{asset:Ye,amount:A}])},[k,I,A,E,D,G,r]),p.useEffect(()=>{!k||!cn||on.current||tt||(on.current=!0,ie())},[k,cn,tt]);const bn=ze||gt||ke||Ne,pt=()=>{if(tt)return"Executing Deposit...";if(!G)return"Wallet Not Connected";if(N==="7702"){if(!we)return"Loading...";if(!be)return"Authentication Required"}return fe[0]?.asset?fe[0]?.amount?ke?"AMOUNT TOO SMALL":Ne?"INSUFFICIENT BALANCE":_e&&!Et?Ot?"GAS UNAVAILABLE":"ESTIMATING GAS":"DEPOSIT":"ENTER AMOUNT":"SELECT TOKEN"};return e?i.jsx(fn,{isOpen:e,onClose:t,closeOnBackdropClick:n,title:a||`Deposit to your ${$} account`,subtitle:i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"5px"},children:[i.jsx("img",{src:$o,alt:"","aria-hidden":"true",style:{width:"13px",height:"13px",flexShrink:0,...Q?{filter:"invert(0.6)"}:{}}}),i.jsx("p",{style:{fontSize:"12px",color:ee.textSecondary,margin:"0",lineHeight:"1.4",fontFamily:u.font.ui},children:`Deposit collateral to your ${$} Account from any supported network.`})]}),dark:Q,overlayContent:bt||Ve||lt!=="idle"&&y?i.jsx("div",{}):void 0,styles:l,theme:ae,children:i.jsxs("div",{style:{padding:"24px 24px 5px 24px"},children:[i.jsx(hu,{selectedDepositAssets:fe,depositAssets:He,secondAssetOptions:et,loadingAssets:ve,allowSecondAsset:h,theme:ae,styles:l,dark:Q,dk:ee,onSelect:Dt,onAmountChange:Nn,onAdd:xt,onRemove:gn,resolveMaxAmount:qn,onViewAllAssets:U}),_e&&qe&&i.jsx(rr,{fontFamily:l?.fontFamily||ae.typography.fontFamily,textPrimary:ee.textPrimary,textSecondary:ee.textSecondary,cardBg:Q?ee.inputBg:"#ffffff",cardBorder:ee.cardBorder,resolvedDark:Q,darkCardBorder:ee.cardBorder,primaryColor:X,feePreview:Kt,isLoading:_t||_e&&!Qe,errorText:Ot}),i.jsx(bu,{intentStatus:Ve,postDepositSuccess:Ct,postDepositAmount:ft,postDepositStatus:lt,depositActionLabel:x,sourceChainName:fe[0]?.asset?.chainId?u.getChainName(fe[0].asset.chainId):"Destination Chain",directDepositStatus:dt,directDepositTxHash:re,directDepositChainId:Ee,styles:l}),i.jsx(wu,{isOpen:bt||!!Ve||lt!=="idle"&&!!y,onClose:()=>{Ut(!1),Ve&&At();const H=lt==="success"&&!Ve,ye=Ve?.overallStatus==="success"&&(y?lt==="success":!0);(H||ye)&&t()},onConfirm:se,data:zt,isExecuting:tt,error:gt,theme:ae,styles:l,intentStatus:Ve,postDepositStatus:lt,hasPostDepositInstruction:!!y}),$e&&i.jsxs(Ci,{dk:ee,dark:Q,borderRadius:ae.borderRadius.md,children:["\u26A1 ",$e]}),Gt&&i.jsx(Ci,{dk:ee,dark:Q,borderRadius:ae.borderRadius.md,children:"Low native balance in the external wallet. The deposit to spicenet account might fail."}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:0,marginBottom:0,margin:0,padding:0},children:[bn?i.jsx("div",{style:{marginBottom:"10px",fontSize:"12px",lineHeight:"1.45",color:ee.errorText,fontFamily:l?.fontFamily||ae.typography.fontFamily},children:bn}):null,i.jsx(u.Button,{variant:"outline",fullWidth:!0,onClick:wn,disabled:!cn||!G||tt,theme:ae,dark:Q,styles:l,children:pt()})]})]})}):null});function fr(e,t=!0){const n=u.relayerService.getBaseUrl(),s=`${n}:${e?.toLowerCase()??""}`,[o,r]=p.useState({scope:s,actions:[],error:null}),[a,l]=p.useState(0),c=p.useCallback(()=>l(d=>d+1),[]);return p.useEffect(()=>{if(!t||!e)return;const d=new AbortController,m=new u.RelayerService;m.setBaseUrl(n);let f;const h=async()=>{try{const w=await m.getWalletActions(e,d.signal);d.signal.aborted||r({scope:s,actions:w,error:null})}catch(w){if(d.signal.aborted)return;if(w instanceof u.SpiceflowError&&w.context.httpStatus===404){r({scope:s,actions:[],error:null});return}r(g=>({scope:s,actions:g.scope===s?g.actions:[],error:"Activity is temporarily unavailable. Refresh to check again."}))}d.signal.aborted||(f=setTimeout(h,5e3))};return h(),window.addEventListener("online",c),()=>{d.abort(),clearTimeout(f),window.removeEventListener("online",c)}},[n,e,t,s,a,c]),{actions:t&&o.scope===s?o.actions:[],error:o.scope===s?o.error:null,refresh:c}}function sn(e,t,n,s){if(t===n)return e;if(t<n)return e*10n**BigInt(n-t);const o=10n**BigInt(t-n);return s==="ceil"?(e+o-1n)/o:e/o}function Xt(e,t){if(!Number.isInteger(t)||t<0||t>255)throw new Error("Invalid token decimals");if(!/^\d+(?:\.\d*)?$/.test(e))throw new Error("Enter a valid amount.");if((e.split(".")[1]?.replace(/0+$/,"")??"").length>t)throw new Error(`Use at most ${t} decimal places for this source.`);return T.parseUnits(e,t)}function _n(e,t,n){const s=sn(e,t,n,"floor");if(sn(s,n,t,"floor")!==e)throw new Error(`Use at most ${n} decimal places for this delivered token.`);return s}function vu(e){return`0x77${e.slice(4)}`}function Fs({userAddress:e,destinationChainId:t,deliveryToken:n,deliveryAmount:s,withdrawalAmount:o,deliveryRecipient:r,deliveryTransfers:a,requestTimestampMs:l,expiresAt:c,metadata:d,requestNonce:m}){if(c!==void 0&&(!Number.isSafeInteger(c)||c<=0))throw new Error("Withdrawal expiry must be a positive Unix timestamp in seconds");const f=a?.length?a:[{token:n,recipient:r,amount:o??s}],h=f.reduce((b,v)=>b+v.amount,0n);if(h<=0n)return null;const w=l??Date.now(),g=BigInt(Math.floor(w/1e3)),y=e??r,x=vu(T.keccak256(T.encodeAbiParameters([{type:"address"},{type:"address"},{type:"address"},{type:"uint256"},{type:"uint256"},{type:"uint256"},...m?[{type:"bytes32"}]:[]],[y,n,r,h,BigInt(t),BigInt(w),...m?[m]:[]])));return{chainId:S.SPICENET_NATIVE_CHAIN_ID,domain:"spicenet",tokenTransfers:[],calls:[{to:S.ZERO_ADDRESS,value:0n,data:T.encodeFunctionData({abi:S.spicenetAbi,functionName:"createWithdrawalRequest",args:[{chainId:`evm:${t}`,idempotenceKey:x,nbf:0n,exp:c===void 0?g+3600n:BigInt(c),metadata:d??"{}",transfers:f.map(b=>({token:T.getAddress(b.token).toLowerCase(),to:T.getAddress(b.recipient).toLowerCase(),amount:b.amount}))}]})}]}}const mr=e=>{const[t,n]=p.useState(!1),s=p.useContext(u.SpiceFlowProviderContext),{dark:o,dk:r}=u.useSpiceBrand();if(p.useEffect(()=>{n(!0)},[]),!t)return i.jsx("div",{className:e.className,children:i.jsx("button",{disabled:!0,style:{padding:"12px 24px",fontSize:"16px",backgroundColor:o?r.hoverBg:"#ccc",color:o?r.textSecondary:"white",border:o?`1px solid ${r.buttonBorder}`:"none",borderRadius:"4px",cursor:"not-allowed"},children:"Loading..."})});if(!s){const a='ProviderLogin must be used within SpiceFlowProvider. Please wrap your app with <SpiceFlowProvider provider="privy">.';return i.jsx("div",{className:e.className,children:i.jsx("button",{onClick:()=>{e.onAuthError&&e.onAuthError(a)},style:{padding:"12px 24px",fontSize:"16px",backgroundColor:o?r.errorBg:"#dc2626",color:o?r.errorText:"white",border:o?`1px solid ${r.errorBorder}`:"none",borderRadius:"4px",cursor:"pointer"},children:"Provider Not Found"})})}return i.jsx(u.PrivyLogin,{...e})},Oi=({isSuccess:e,type:t,chainName:n,explorerUrl:s,txHash:o,dark:r=!1,successBg:a="#d1fae5",successBorder:l="#6ee7b7",successText:c="#065f46",errorBg:d="#fee2e2",errorBorder:m="#fca5a5",errorText:f="#dc2626",textSecondary:h="#6b7280"})=>i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"14px 16px",borderRadius:"8px",backgroundColor:e?a:d,border:e?`1px solid ${l}`:`1px solid ${m}`},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[i.jsx("div",{style:{width:"28px",height:"28px",borderRadius:"50%",backgroundColor:e?"#10b981":"#ef4444",display:"flex",alignItems:"center",justifyContent:"center"},children:e?i.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:i.jsx("path",{d:"M11.6667 3.5L5.25 9.91667L2.33333 7",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}):i.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:i.jsx("path",{d:"M10.5 3.5L3.5 10.5M3.5 3.5L10.5 10.5",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),i.jsxs("div",{children:[i.jsx("p",{style:{margin:0,fontSize:"14px",fontWeight:600,fontFamily:u.font.mono,letterSpacing:"0.5px",color:e?c:f},children:e?`${t.toUpperCase()} CONFIRMED`:`${t.toUpperCase()} FAILED`}),i.jsxs("p",{style:{margin:"2px 0 0 0",fontSize:"12px",color:h},children:["on ",n]})]})]}),s&&o&&i.jsxs("a",{href:`${s}/tx/${o}`,target:"_blank",rel:"noopener noreferrer",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"13px",color:h,textDecoration:"none",whiteSpace:"nowrap"},children:["View on explorer",i.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:[i.jsx("path",{d:"M9 6.5V9.5C9 9.76522 8.89464 10.0196 8.70711 10.2071C8.51957 10.3946 8.26522 10.5 8 10.5H2.5C2.23478 10.5 1.98043 10.3946 1.79289 10.2071C1.60536 10.0196 1.5 9.76522 1.5 9.5V4C1.5 3.73478 1.60536 3.48043 1.79289 3.29289C1.98043 3.10536 2.23478 3 2.5 3H5.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M7.5 1.5H10.5V4.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M5 7L10.5 1.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})]})]})]}),Ni=`
|
|
32
32
|
@keyframes slideUp {
|
|
33
33
|
from { transform: translateY(100%); }
|
|
34
34
|
to { transform: translateY(0); }
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
from { opacity: 0; transform: translateY(4px); }
|
|
42
42
|
to { opacity: 1; transform: translateY(0); }
|
|
43
43
|
}
|
|
44
|
-
`,Pi=({title:e,showChevron:t,expanded:n,onToggleDetails:s,showClose:o,onClose:r,fontFamily:a,labelColor:l,textPrimary:c,closeHoverBg:d,closePressedBg:m})=>{const[f,h]=p.useState(!1),[w,g]=p.useState(!1);return i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"16px"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",cursor:s?"pointer":"default"},onClick:s,children:[i.jsxs("span",{style:{fontSize:"13px",fontWeight:500,color:l,fontFamily:a},children:[e," "]}),t&&i.jsx(Jn,{color:l,direction:n?"up":"down"})]}),o&&i.jsx("button",{onClick:r,onMouseEnter:()=>h(!0),onMouseLeave:()=>{h(!1),g(!1)},onMouseDown:()=>g(!0),onMouseUp:()=>g(!1),style:{background:w?m:f?d:"none",border:"none",borderRadius:"4px",cursor:"pointer",padding:"4px",display:"flex",alignItems:"center",justifyContent:"center",color:f||w?c:l,transform:w?"scale(0.9)":f?"scale(1.1)":"scale(1)",transition:u.transition.interactive},children:i.jsx(As,{size:16})})]})},Mi=({chainName:e,bg:t,border:n,textPrimary:s,labelColor:o,primaryColor:r})=>i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"20px 16px",borderRadius:"8px",backgroundColor:t,border:`1px solid ${n}`,gap:"12px"},children:[i.jsx(u.Spinner,{size:24,borderWidth:3,color:r}),i.jsxs("div",{children:[i.jsx("p",{style:{margin:0,fontSize:"14px",fontWeight:600,fontFamily:u.font.mono,letterSpacing:"0.5px",color:s},children:"PROCESSING TRANSACTION"}),i.jsxs("p",{style:{margin:"2px 0 0 0",fontSize:"12px",color:o},children:["on ",e]})]})]}),Ui=({bg:e,border:t,left:n,right:s})=>i.jsxs("div",{style:{padding:"10px 12px",borderRadius:"6px",backgroundColor:e,border:`1px solid ${t}`,display:"flex",justifyContent:"space-between",alignItems:"center"},children:[n,s]}),mr=({isOpen:e,onClose:t,onComplete:n,closeOnComplete:s=!1,type:o,results:r,chainId:a,chainName:l,explorerUrl:c,theme:d,styles:m,dark:f,intentStatus:h,onRetry:w,onNewTx:g,onRetryTx:y,asOverlay:x=!0,isProcessing:b=!1,showStepBreakdown:v=!0})=>{const{theme:C,primaryColor:k,dark:A,dk:I}=u.useSpiceBrand(m,f),E=d||C,[N,R]=p.useState(!1),B=l??(a?u.getChainName(a):"Network"),U=c??(a&&u.getExplorerUrl(a,"").replace(/\/tx\/.*$/,"")||void 0),O=A?I.cardBg:"#ffffff",W=A?"0 4px 20px rgba(0, 0, 0, 0.4)":"0 4px 20px rgba(0, 0, 0, 0.1)",D=A?"0 -4px 8px -2px rgba(0, 0, 0, 0.4)":"0 -4px 8px -2px rgba(0, 0, 0, 0.15)",F=I.textSecondary,P=A?I.textPrimary:"#374151",q=A?I.inputBg:"#f9fafb",L=A?I.inputBorder:"#e5e7eb",ne=A?I.inputBg:"#f3f4f6",pe=A?I.inputBorder:"#e5e7eb",[ce,X]=p.useState(!0),z=A?I.inputBg:"#f9fafb",V=A?I.hoverBg:"#f3f4f6",fe=A?{successBg:I.successBg,successBorder:I.successBorder,successText:I.successText,errorBg:I.errorBg,errorBorder:I.errorBorder,errorText:I.errorText}:{},Y=h?.steps.find(H=>H.status==="failed")?.error;p.useEffect(()=>{!e&&!h&&R(!1)},[e,h]);const Ce=()=>{R(!0),setTimeout(()=>{window.dispatchEvent(new CustomEvent("tx-complete",{detail:{type:o,results:r}})),window.dispatchEvent(new CustomEvent("spiceflow:action",{detail:{type:o,status:"success",results:r}})),n?.(),s&&t()},300)},be=()=>{X(!ce)};if(h){const{steps:H,overallStatus:me}=h,ge=me==="processing",je=me==="success",K=me==="failed",M=H.filter(ee=>ee.transactionHash)[0],J=H.length>1?H.map(ee=>ee.chainName).filter(Boolean).join(" and "):B!=="Network"?B:H[0]?.chainName||B,ae=U||(M?u.getExplorerUrl(M.chainId,M.transactionHash||"").replace(/\/tx\/.*$/,""):void 0),oe=i.jsxs(i.Fragment,{children:[i.jsx(Pi,{title:ge?`Processing ${o.charAt(0).toUpperCase()+o.slice(1)}`:`${o.charAt(0).toUpperCase()+o.slice(1)} results`,showChevron:v,expanded:ce,onToggleDetails:be,showClose:!ge,onClose:t,fontFamily:m?.fontFamily||E.typography.fontFamily,labelColor:F,textPrimary:P,closeHoverBg:z,closePressedBg:V}),i.jsx("div",{style:{marginBottom:"16px"},children:ge?i.jsx(Mi,{chainName:J,bg:ne,border:pe,textPrimary:P,labelColor:F,primaryColor:k}):i.jsx(Oi,{isSuccess:je,type:o,chainName:J,explorerUrl:ae,txHash:M?.transactionHash,dark:A,...fe,textSecondary:F})}),v&&i.jsx("div",{style:{overflow:"hidden",maxHeight:ce?"300px":"0px",opacity:ce?1:0,transition:"max-height 0.3s ease, opacity 0.3s ease",marginBottom:ce?"16px":"0"},children:i.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:H.map((ee,Ae)=>{const te=ee.transactionHash?u.getExplorerUrl(ee.chainId,ee.transactionHash):null;return i.jsx(Ui,{bg:q,border:L,left:i.jsx("span",{style:{fontSize:"13px",color:P},children:ee.chainName?`On ${ee.chainName}`:ee.description||`Step ${Ae+1}`}),right:i.jsxs("span",{style:{display:"flex",alignItems:"center",gap:"8px",fontSize:"12px",color:ee.status==="success"?"#10b981":ee.status==="failed"?"#ef4444":F,fontWeight:500},children:[te&&i.jsx("a",{href:te,target:"_blank",rel:"noopener noreferrer",style:{color:A?I.infoText:"#2563eb",textDecoration:"none"},onClick:Re=>Re.stopPropagation(),children:"View"}),ee.status==="success"?"\u2713":ee.status==="failed"?"\u2717":"\u25CB"]})},Ae)})})}),!ge&&i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:[K&&w&&i.jsx(u.Button,{variant:"outline",fullWidth:!0,onClick:w,theme:E,styles:m,dark:A,children:"TRY AGAIN"}),g&&i.jsxs(u.Button,{variant:"outline",fullWidth:!0,onClick:g,theme:E,styles:m,dark:A,children:["NEW ",o.toUpperCase()," \u2192"]})]})]});return x?i.jsxs("div",{style:{position:"absolute",bottom:0,left:0,right:0,zIndex:10,animation:N?"slideDown 0.3s ease-in forwards":"slideUp 0.3s ease-out forwards",pointerEvents:"auto"},children:[i.jsx("div",{style:{backgroundColor:O,borderRadius:"12px 12px 0 0",width:"100%",padding:"18px 24px 24px",boxShadow:D},children:oe}),i.jsx("style",{children:Ni})]}):i.jsx("div",{style:{backgroundColor:O,borderRadius:"12px",padding:"24px",width:"100%",boxShadow:W},children:oe})}if(!e&&!b||!b&&(!r||r.length===0))return null;const j=r?r.every(H=>H.success):!1,Z=r?.[0],$=[...r??[]].reverse().find(H=>H.txHash)?.txHash||Z?.txHash;return i.jsxs("div",{style:{position:x?"absolute":"relative",bottom:x?0:void 0,left:x?0:void 0,right:x?0:void 0,zIndex:x?10:void 0,animation:x?N?"slideDown 0.3s ease-in forwards":"slideUp 0.3s ease-out forwards":void 0,pointerEvents:"auto",width:"100%"},children:[i.jsx("div",{style:{backgroundColor:O,borderRadius:x?"12px 12px 0 0":"12px",width:"100%",padding:"18px 0 24px",boxShadow:x?D:W},children:i.jsxs("div",{style:{width:"100%",boxSizing:"border-box",padding:"0 24px"},children:[i.jsx(Pi,{title:b?`Processing ${o.charAt(0).toUpperCase()+o.slice(1)}`:`${o.charAt(0).toUpperCase()+o.slice(1)} results`,showChevron:!b&&v,expanded:ce,onToggleDetails:b?void 0:be,showClose:!b,onClose:t,fontFamily:m?.fontFamily||E.typography.fontFamily,labelColor:F,textPrimary:P,closeHoverBg:z,closePressedBg:V}),i.jsx("div",{style:{marginBottom:"16px",animation:"statusFadeIn 220ms cubic-bezier(0.22, 1, 0.36, 1) both"},children:b?i.jsx(Mi,{chainName:B,bg:ne,border:pe,textPrimary:P,labelColor:F,primaryColor:k}):i.jsx(Oi,{isSuccess:j,type:o,chainName:B,explorerUrl:U,txHash:$,dark:A,...fe,textSecondary:F})},b?"processing":j?"success":"error"),!b&&v&&r&&r.length>1&&i.jsx("div",{style:{overflow:"hidden",maxHeight:ce?"200px":"0px",opacity:ce?1:0,transition:"max-height 0.3s ease, opacity 0.3s ease",marginBottom:ce?"16px":"0"},children:i.jsx("div",{style:{maxHeight:"180px",overflowY:"auto",display:"flex",flexDirection:"column",gap:"8px"},children:r.map((H,me)=>i.jsx(Ui,{bg:q,border:L,left:i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.jsx("span",{style:{fontWeight:600,fontSize:"13px",color:I.textPrimary,fontFamily:u.font.mono},children:H.asset.symbol}),H.amount&&i.jsx("span",{style:{fontSize:"12px",color:F},children:H.amount})]}),right:i.jsx("span",{style:{fontSize:"12px",color:H.success?"#10b981":"#ef4444",fontWeight:500},children:H.success?"\u2713":"\u2717"})},me))})}),!b&&!j&&r&&i.jsx("div",{style:{padding:"12px",backgroundColor:I.errorBg,border:`1px solid ${I.errorBorder}`,borderRadius:"8px",marginBottom:"16px"},children:i.jsx("p",{style:{fontSize:"13px",color:I.errorText,margin:0,lineHeight:1.5},children:Y||r.find(H=>!H.success)?.error||`${o.charAt(0).toUpperCase()+o.slice(1)} failed. Please try again.`})}),!b&&i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:[!j&&y&&i.jsxs(u.Button,{variant:"outline",fullWidth:!0,onClick:y,theme:E,styles:m,dark:A,children:["TRY AGAIN ",o.toUpperCase()]}),j&&i.jsx(u.Button,{variant:"outline",fullWidth:!0,onClick:Ce,theme:E,styles:m,dark:A,children:"DONE"})]})]})}),i.jsx("style",{children:Ni})]})};function mo({activity:e,palette:t,onRefresh:n}){return i.jsxs(i.Fragment,{children:[e.actions.length>0&&i.jsx(Xt,{variant:"info",palette:t,style:{marginTop:12,marginBottom:12},children:i.jsxs("details",{children:[i.jsx("summary",{children:"Recent wallet activity"}),e.actions.map(s=>{const o=s.intents.flatMap(l=>l.steps),r=o.filter(l=>["success","completed"].includes(l.status)).length,a=o.some(l=>["error","reverted"].includes(l.status));return i.jsxs("p",{children:[s.actionId,": ",r,"/",o.length," steps completed.",a?" Remaining work stopped; completed transfers are retained.":r<o.length?" Awaiting backend confirmation.":" Completed."]},s.actionId)}),i.jsx("button",{type:"button",onClick:()=>{e.refresh(),n?.()},children:n?"Refresh activity and balances":"Refresh activity"})]})}),e.error&&i.jsx(Xt,{variant:"warning",palette:t,children:e.error})]})}function Wi(e){const t=new Set(S.getEquivalentAddresses(e).map(n=>n.toLowerCase()));return t.add(e.toLowerCase()),t}const Cu=["USDC","USDT","WETH","WBTC"];function Li(e,t){const n=u.getChainConfig(t);if(!n)return;if(n.nativeCurrency.symbol.toUpperCase()===e.toUpperCase())return{address:S.ZERO_ADDRESS,symbol:n.nativeCurrency.symbol,decimals:n.nativeCurrency.decimals,chainId:t};const s=n.supportedTokens?.find(o=>o.symbol.toUpperCase()===e.toUpperCase());if(s)return{address:s.address.toLowerCase(),symbol:s.symbol,decimals:s.decimals,chainId:t}}function kn(e,t,n){const s=u.getChainConfig(t);if(!s)return;if(n!==void 0){if(S.isNativeToken(e)&&!S.getTokenByAddress(e,n))return;const a=Wo(e,n,t);return a?{address:a.address.toLowerCase(),symbol:a.symbol,decimals:a.decimals,chainId:t}:void 0}if(S.isNativeToken(e))return;const o=Wi(e),r=s.supportedTokens?.find(a=>o.has(a.address.toLowerCase()));if(r)return{address:r.address.toLowerCase(),symbol:r.symbol,decimals:r.decimals,chainId:t}}function ku(e){const{sourceAsset:t,outputAsset:n,sourceChainId:s,destinationChainId:o,intermediaryCandidates:r=Cu}=e;if(Js(t,n))return{strategy:"direct",sourceAsset:t,outputAsset:n,sourceChainId:s,destinationChainId:o,summary:`${t.symbol} fronted directly`};if(s===o&&(S.isNativeToken(t.address)||!S.getTokenByAddress(t.address,s)))return{strategy:"direct-swap",sourceAsset:t,outputAsset:n,sourceChainId:s,destinationChainId:o,summary:`${t.symbol} \u2192 ${n.symbol} on chain ${s}, no escrow`};if(kn(t.address,o,s))return{strategy:"direct",sourceAsset:t,outputAsset:n,sourceChainId:s,destinationChainId:o,summary:`${t.symbol} fronted on destination, swapped to ${n.symbol}`};if(kn(n.address,s,o))return{strategy:"source-swap",sourceAsset:t,outputAsset:n,sourceChainId:s,destinationChainId:o,summary:`${t.symbol} \u2192 ${n.symbol} on source chain, then fronted`};for(const a of r){const l=Li(a,s);if(!l||Js(t,l)||Js(n,l))continue;const c=Li(a,o);if(c&&Js(l,c))return{strategy:"intermediary",sourceAsset:t,outputAsset:n,intermediaryAsset:c,sourceChainId:s,destinationChainId:o,summary:`${t.symbol} \u2192 ${a} on source, fronted, then ${a} \u2192 ${n.symbol} on destination`}}throw new u.SpiceflowError("ROUTE_STRATEGY_ERROR",`No viable cross-chain route found from ${t.symbol} (chain ${s}) to ${n.symbol} (chain ${o}). No intermediary asset is available on both chains.`,{sourceAsset:t.symbol,outputAsset:n.symbol,sourceChainId:s,destinationChainId:o,candidatesChecked:r})}async function Su(e){const{route:t,sourceAmount:n,userAddress:s,registry:o,actionCalls:r,slippage:a}=e;async function l(c,d,m,f){const h=await o.resolveSwap({type:"swap",tokenIn:d,tokenOut:m,amountIn:f,maxSlippage:a},c,s);if(!h)throw new u.SpiceflowError("NO_LIQUIDITY",`No venue returned a quote for ${d} \u2192 ${m} on chain ${c}. No liquidity available for this pair.`,{chainId:c,tokenIn:d,tokenOut:m,amountIn:f.toString()});return h}switch(t.strategy){case"direct-swap":{const c=await l(t.destinationChainId,t.sourceAsset.address,t.outputAsset.address,n);return{chainBatches:[{chainId:t.destinationChainId,calls:[...c.calls,...r]}],solverFrontToken:t.outputAsset,solverFrontAmount:0n,resolvedSwaps:{sourceSwap:c}}}case"direct":{const c=kn(t.sourceAsset.address,t.destinationChainId,t.sourceChainId)||t.sourceAsset;if(Wi(c.address).has(t.outputAsset.address.toLowerCase()))return{chainBatches:[{chainId:t.destinationChainId,calls:r}],solverFrontToken:c,solverFrontAmount:n,resolvedSwaps:{}};const d=await l(t.destinationChainId,c.address,t.outputAsset.address,n);return{chainBatches:[{chainId:t.destinationChainId,calls:[...d.calls,...r]}],solverFrontToken:c,solverFrontAmount:n,resolvedSwaps:{destinationSwap:d}}}case"source-swap":{const c=kn(t.outputAsset.address,t.sourceChainId,t.destinationChainId);if(!c)throw new u.SpiceflowError("ROUTE_TOKEN_NOT_FOUND",`Output asset ${t.outputAsset.symbol} (${t.outputAsset.address}) not found on source chain ${t.sourceChainId}`,{token:t.outputAsset.symbol,address:t.outputAsset.address,chainId:t.sourceChainId,side:"source"});const d=kn(t.outputAsset.address,t.destinationChainId,t.destinationChainId);if(!d)throw new u.SpiceflowError("ROUTE_TOKEN_NOT_FOUND",`Output asset ${t.outputAsset.symbol} (${t.outputAsset.address}) not found on destination chain ${t.destinationChainId}`,{token:t.outputAsset.symbol,address:t.outputAsset.address,chainId:t.destinationChainId,side:"destination"});const m=await l(t.sourceChainId,t.sourceAsset.address,c.address,n);return{chainBatches:[{chainId:t.sourceChainId,calls:m.calls},{chainId:t.destinationChainId,calls:r}],solverFrontToken:d,solverFrontAmount:m.amountOutMinimum,resolvedSwaps:{sourceSwap:m}}}case"intermediary":{if(!t.intermediaryAsset)throw new u.SpiceflowError("ROUTE_STRATEGY_ERROR","Intermediary strategy requires an intermediary asset but none was provided in the route plan.",{strategy:t.strategy});const c=kn(t.intermediaryAsset.address,t.sourceChainId,t.destinationChainId);if(!c)throw new u.SpiceflowError("ROUTE_TOKEN_NOT_FOUND",`Intermediary ${t.intermediaryAsset.symbol} (${t.intermediaryAsset.address}) not found on source chain ${t.sourceChainId}`,{token:t.intermediaryAsset.symbol,address:t.intermediaryAsset.address,chainId:t.sourceChainId,side:"source"});const d=await l(t.sourceChainId,t.sourceAsset.address,c.address,n),m=await l(t.destinationChainId,t.intermediaryAsset.address,t.outputAsset.address,d.amountOutMinimum);return{chainBatches:[{chainId:t.sourceChainId,calls:d.calls},{chainId:t.destinationChainId,calls:[...m.calls,...r]}],solverFrontToken:t.intermediaryAsset,solverFrontAmount:d.amountOutMinimum,resolvedSwaps:{sourceSwap:d,destinationSwap:m}}}default:throw new u.SpiceflowError("ROUTE_STRATEGY_ERROR",`Unknown route strategy: ${t.strategy}`,{strategy:t.strategy})}}function Iu(e,t,n){if(!e||!t)return null;if(e._source==="wallet"){if(t===e.chainId)return{address:e.address,symbol:e.symbol,name:e.name||e.symbol,decimals:e.decimals,logoURI:e.logoURI};const f=S.getTokensForChain(t).find(h=>h.equivalenceGroup==="USDC"&&h.symbol.toUpperCase()==="USDC");return!f||n.length>0&&!n.some(h=>u.addressesEqual(h.address,f.address))?null:{address:f.address,symbol:"USDC",name:f.name||"USD Coin",decimals:f.decimals,logoURI:f.logo}}const s=Kn(e,t),o=Object.entries(e.chainTokens??{}).flatMap(([f,h])=>{const w=gn(f);return w?.chainId===t?[{parsed:w,detail:h}]:[]}),r=f=>n.find(h=>u.addressesEqual(h.address,f))??null,a=f=>{const h=o.find(({parsed:y})=>u.addressesEqual(y.address,f));if(!h)return null;const w=u.getChainConfig(t);if(S.isNativeToken(f))return w?{address:S.ZERO_ADDRESS,symbol:w.nativeCurrency.symbol,name:w.nativeCurrency.name,decimals:w.nativeCurrency.decimals,logoURI:e.logoURI}:null;const g=w?.supportedTokens?.find(y=>u.addressesEqual(y.address,f));return!g||!Uo(e,f,t)?null:{address:h.parsed.address,symbol:g.symbol,name:g.name||h.detail?.name||e.displayName||e.name||e.symbol,decimals:g.decimals,logoURI:g.logo||e.logoURI}},l=o.map(({parsed:f})=>f.address).filter(S.isNativeToken);for(const f of[...s,...l]){if(S.isNativeToken(f)){const g=a(f);if(g)return g}const h=r(f);if(h)return h;const w=a(f);if(w)return w}if(e.chainTokens||e.receiptTokenId)return null;const c=sn(e,t);if(c){const f=r(c);if(f)return f}const d=kn(e.address,t,e.chainId);return d?r(d.address)||(n.length>0?null:{address:d.address,symbol:d.symbol||e.symbol,name:e.displayName||e.name||e.symbol,decimals:d.decimals??e.decimals,logoURI:e.logoURI}):null}function Au(e){const t=e.find(n=>S.isSpicenetChainId(n.chainId))?.calls?.[0]?.data;if(!t)return null;try{const n=T.decodeFunctionData({abi:S.spicenetAbi,data:t});return n.functionName!=="createWithdrawalRequest"?null:n.args[0].transfers.map(s=>({token:s.token,recipient:s.to,amount:s.amount}))}catch{return null}}function Eu(e,t){if(!e||e.length!==t.length)return!1;const n=s=>s.reduce((o,r)=>o+r.amount,0n);return n(e)!==n(t)?!1:e.every((s,o)=>{const r=t[o];return s.token.toLowerCase()!==r.token.toLowerCase()||s.recipient.toLowerCase()!==r.recipient.toLowerCase()?!1:s.recipient.toLowerCase()===S.SPICE_GAS_FEE_RECIPIENT.toLowerCase()?u.amountsWithinBps(s.amount,r.amount,100n):s.recipient.toLowerCase()!==S.SPICE_PLATFORM_FEE_RECIPIENT.toLowerCase()||s.amount===r.amount})}function Fu(e,t){const n=e.intents.flatMap(r=>r.batches).filter(r=>{const a=u.getBatchFees(r);return BigInt(r.quotedAmount)>0n||BigInt(r.totalDebit)>0n||a.totalFee>0n}),s=n.filter(r=>r.chainId===t),o=s.length>0?s:n;return o.length===1?o[0]:null}function Tu(e){const t=new Map;for(const n of e){if(n.amount<=0n)continue;const s=n.token.toLowerCase(),o=n.recipient.toLowerCase(),r=`${s}:${o}`,a=t.get(r);a?a.amount+=n.amount:t.set(r,{...n})}return[...t.values()]}function qi(e,t){if(!e.token||!e.recipient||e.chainId===null)return null;const n=Fu(t,e.chainId);if(!n)return null;const{gasFee:s,bridgeFee:o,spicenetFee:r}=u.getBatchFees(n),a=s+o,l=e.grossAmountRaw-a-r;if(l<=0n)throw new Error("Withdrawal amount does not cover the network fee.");const c=[{token:e.token.address,recipient:e.recipient,amount:l}];return a>0n&&c.push({token:e.token.address,recipient:S.SPICE_GAS_FEE_RECIPIENT,amount:a}),r>0n&&c.push({token:e.token.address,recipient:S.SPICE_PLATFORM_FEE_RECIPIENT,amount:r}),Tu(c)}function Bu(e,t,n){const s=qi(e,t);return!s||Eu(Au(n),s)?null:e.buildWithdrawBatches(s)}async function zi(e){if(e.executionContextRef.current){await Hi(e);return}if(!e.batches.length||!e.walletAddress||!e.recipient)return;const t=u.relayerService.getBaseUrl();e.ui.setIsExecuting(!0),e.ui.setExecutionError(null),e.ui.setExecutionProgress(null),e.executionContextRef.current=null,e.ui.setLockedGasFee(e.gasFee);try{let n=e.batches;if(e.isNon7702&&e.onWithdrawExecute)await e.onWithdrawExecute(e.amount);else{if(!e.isNon7702&&!n.some(r=>S.isSpicenetChainId(r.chainId)))throw new Error("Spice withdrawals must include a Spicenet funding batch before the destination chain batch.");const s=e.token?.address||"",o={useCustomTransfers:!0};if(e.buildSpicenetBatch){const r=e.feeEstimate??await e.execution.estimate(n,s,0n,o),a=qi(e,r);a&&(n=e.buildWithdrawBatches(a));const l=r.intents[0]?.batches.find(c=>c.chainId===e.chainId)??r.intents[0]?.batches[0]??null;l&&e.ui.setLockedGasFee(u.getBatchFees(l).totalFee)}else{const r=(e.feeEstimate??await e.execution.estimate(n,s,0n,o)).intents[0]?.batches[0]??null;r&&e.ui.setLockedGasFee(u.getBatchFees(r).totalFee)}await e.execution.execute(n,s,0n,r=>{r.actionId&&r.intentId&&typeof r.intentIndex=="number"&&typeof r.totalSteps=="number"&&(e.executionContextRef.current={actionId:r.actionId,intentId:r.intentId,intentIndex:r.intentIndex,totalSteps:r.totalSteps,autoContinue:r.autoContinue,apiUrl:t,finish:()=>hr(e)}),e.ui.setExecutionProgress(r)},void 0,e.buildSpicenetBatch?{...o,adjustBatchesForEstimate:({feeEstimate:r,chainBatches:a})=>Bu(e,r,a)}:{...o,skipPreSubmitFeeEstimate:!0})}await hr(e)}catch(n){const s=n instanceof Error?n.message:"Withdraw failed";e.ui.setExecutionError(s)}finally{e.ui.setIsExecuting(!1)}}async function hr(e){window.dispatchEvent(new CustomEvent("withdraw-completed")),await e.onWithdrawSuccess?.({token:e.token?.symbol||"",amount:e.amount,chainId:e.chainId})}async function Hi(e){const t=e.executionContextRef.current;if(!t){if(e.isNon7702&&e.onWithdrawExecute){await zi(e);return}e.ui.setExecutionError("The previous withdrawal action is unavailable. Reconcile it before starting another.");return}const n=t.apiUrl?new u.RelayerService:u.relayerService;t.apiUrl&&n.setBaseUrl(t.apiUrl),e.ui.setIsExecuting(!0),e.ui.setExecutionError(null),e.ui.setExecutionProgress({step:"executing",message:"Resuming existing action...",actionId:t.actionId,intentId:t.intentId,intentIndex:t.intentIndex,totalSteps:t.totalSteps});try{let s=t.totalSteps;for(let o=0;o<t.totalSteps;o++)if((await n.checkStepStatus(t.intentId,o)).data.status!=="success"){s=o;break}if(s>=t.totalSteps)e.ui.setExecutionProgress(o=>({...o||{step:"success",message:"Transaction successful!",actionId:t.actionId,intentId:t.intentId,intentIndex:t.intentIndex,totalSteps:t.totalSteps},step:"success",message:"Transaction successful!"}));else for(let o=s;o<t.totalSteps;o++){const r=await ui({actionId:t.actionId,intentIndex:t.intentIndex,intentId:t.intentId,stepIndex:o,chainId:e.chainId??void 0,observeOnly:t.autoContinue,maxPolls:t.autoContinue?Number.POSITIVE_INFINITY:void 0,relayer:n,completeOnExecution:!e.isNon7702&&o===t.totalSteps-1,onStatusMessage:(a,l)=>{e.isMountedRef.current&&e.ui.setExecutionProgress({step:"executing",message:a,txHash:l,actionId:t.actionId,intentId:t.intentId,intentIndex:t.intentIndex,totalSteps:t.totalSteps})}});if(!e.isMountedRef.current)return;e.ui.setExecutionProgress({step:o===t.totalSteps-1?"success":"executing",message:o===t.totalSteps-1?"Transaction successful!":"Executing remaining steps...",txHash:r,actionId:t.actionId,intentId:t.intentId,intentIndex:t.intentIndex,totalSteps:t.totalSteps})}await(t.finish?.()??hr(e))}catch(s){const o=s instanceof Error?s.message:"Withdraw failed";e.ui.setExecutionError(o)}finally{e.ui.setIsExecuting(!1)}}async function Ru(e){const t=await e.estimate(e.batches,e.tokenAddress,0n,{useCustomTransfers:!0,signal:e.signal}),n=t.intents.flatMap(o=>o.batches).filter(o=>u.getBatchFees(o).totalFee>0n),s=n.filter(o=>o.chainId===e.chainId)[0]??n[0]??t.intents[0]?.batches[0];if(!s)throw new Error("No gas fee estimate was returned for this withdraw.");return{gasFee:u.getBatchFees(s).totalFee,feeEstimate:t}}function gr(e,t){return T.formatUnits(e,t).replace(/(\.\d*?[1-9])0+$|\.0+$/,"$1")}function ju(e,t,n){return en(e,t,n,"floor")}function Vi(e,t,n=!1){if(e<=0)return"$0";if(!t||!Number.isFinite(t)||t<=0)return"\u2014";const s=e*t;return`$${s>=1?s.toFixed(3).replace(/0+$/,"").replace(/\.$/,""):s.toFixed(4).replace(/0+$/,"").replace(/\.$/,"")}${n?" (stale)":""}`}function Du(e,t){return t?JSON.stringify({tokenAddress:t.toLowerCase(),batches:e.map(n=>({chainId:n.chainId,calls:n.calls.map(s=>({to:s.to.toLowerCase(),value:s.value.toString(),data:s.data})),tokenTransfers:(n.tokenTransfers??[]).map(s=>({from:s.from,to:s.to.toLowerCase(),token:s.token.toLowerCase(),amount:s.amount.toString()}))}))}):null}const Ou=36;function es(e){return typeof e=="number"&&Number.isInteger(e)&&e>=0&&e<=Ou}function Ts(e){return!e.balanceError&&e.balanceStatus!=="stale"&&e.balance>=0n&&es(e.decimals)&&!e.isNative&&!S.isNativeToken(e.address)}function xr(e,t){if(!e.chainTokens||Array.isArray(e.chainTokens))return null;let n;for(const[s,o]of Object.entries(e.chainTokens)){const r=gn(s);if(!(!r||r.chainId!==t)){if(n)return null;n={address:r.address,decimals:o?.decimals}}}return n??null}function yr(e,t,n){if(e<0n)return null;const s=S.convertAmountBetweenDecimals(e,t,n);return S.convertAmountBetweenDecimals(s,n,t)===e?s:null}function Bn(e,t){return es(e.receiptTokenDecimals)&&yr(t,e.decimals,e.receiptTokenDecimals)!==null}function Nu(e,t){if(!es(e.receiptTokenDecimals))return-1n;const n=S.convertAmountBetweenDecimals(t,e.decimals,e.receiptTokenDecimals),s=S.convertAmountBetweenDecimals(n,e.receiptTokenDecimals,e.decimals);return s<=t?s:-1n}function ho(e,t){return e.owner?.toLowerCase()===t.toLowerCase()}function Pu(e,t,n,s,o){if(!e)return[];const r=[];for(const a of Array.isArray(e)?e:[e]){if(a.amount<0n||!ho(a.asset,s)||a.asset.chainId!==o)return null;const l=ye(a.asset);if(l!==ye(t)&&l!==ye(n))return null;const c=r.find(d=>d.positionId===l);c?c.amount+=a.amount:r.push({positionId:l,amount:a.amount})}return r}function Qi(e,t,n,s,o,r){if(!n||!/^0x[0-9a-f]{40}$/i.test(n)||!ho(e,n)||e.chainId!==s||!Ts(e))return;let a,l,c;if(e.location==="embedded"&&e._source!=="spice"){a=e,c=e.address;const C=t.filter(k=>{const A=xr(k,s);return k.location==="rollup"&&k._source!=="wallet"&&ho(k,n)&&k.chainId===s&&Ts(k)&&!!k.receiptTokenId&&!!A&&u.addressesEqual(A.address,c)});if(C.length!==1)return;[l]=C}else if(e.location==="rollup"&&e._source!=="wallet"&&e.receiptTokenId){l=e;const C=xr(e,s);if(!C)return;c=C.address;const k=t.filter(A=>A.location==="embedded"&&A._source!=="spice"&&ho(A,n)&&A.chainId===s&&Ts(A)&&u.addressesEqual(A.address,c));if(k.length!==1)return;[a]=k}else return;if(!a||!l||!c||!Ts(a)||!Ts(l)||a.location!=="embedded"||l.location!=="rollup"||!l.receiptTokenId||!es(a.decimals)||a.decimals!==l.decimals||!es(l.receiptTokenDecimals))return;const d=xr(l,s);if(!d||!u.addressesEqual(d.address,c)||d.decimals!==void 0&&d.decimals!==a.decimals)return;const m=ye(a),f=ye(l);if(m===f||t.filter(C=>ye(C)===m).length!==1||t.filter(C=>ye(C)===f).length!==1)return;let h=a.balance,w=o??l.balance;if(w<0n||w>l.balance)return;const g=Pu(r,a,l,n,s);if(g===null)return;for(const C of g)if(C.positionId===m){if(C.amount>h)return;h-=C.amount}else{if(C.amount>w||!Bn(l,C.amount))return;w-=C.amount}const y=ye(e),x=e.decimals;if(!es(x))return;const b=yr(h,a.decimals,x),v=yr(w,l.decimals,x);if(!(b===null||v===null))return{wallet:a,escrow:l,owner:n,chainId:s,token:c,decimals:a.decimals,representativePositionId:y,representativeDecimals:x,walletAvailable:h,escrowAvailable:w,availableBalance:b+v,...g.length===1?{reserve:g[0]}:{},reserves:g}}function Gi(e,t,n,s){const o=ye(e);return{positionId:o,asset:e,amount:t,reservedAmount:n.find(r=>r.positionId===o)?.amount??0n,availableAmount:s}}function wr(e,t,n,s){if(t<=0n)throw new RangeError("Enter an amount within the available balance.");const o=s?.quoteOnly===!0;if(!o&&t>e.availableBalance)throw new RangeError("Enter an amount within the available balance.");let r,a,l=0n,c=0n,d=0n;if(n==="escrow"){const m=t<e.escrowAvailable?t:e.escrowAvailable;if(a=Nu(e.escrow,m),a<0n)throw new RangeError("Enter an amount within the available balance.");if(l=t-a,r=l,c=t,!o&&l>e.walletAvailable||!Bn(e.escrow,l)||!Bn(e.escrow,c))throw new RangeError("Enter an amount within the available balance.")}else if(r=t<e.walletAvailable?t:e.walletAvailable,d=r,c=t-r,a=c,!o&&c>e.escrowAvailable||!Bn(e.escrow,c))throw new RangeError("Enter an amount within the available balance.");return{owner:e.owner,chainId:e.chainId,token:e.token,decimals:e.decimals,representativePositionId:e.representativePositionId,representativeDecimals:e.representativeDecimals,route:n,grossAmount:t,insufficient:r>e.walletAvailable||a>e.escrowAvailable,positions:[Gi(e.wallet,r,e.reserves,e.walletAvailable),Gi(e.escrow,a,e.reserves,e.escrowAvailable)],walletDeposit:l,escrowWithdrawal:c,walletInPlace:d}}function br(e,t,n,s,o){if(!e.positions.find(m=>m.positionId===e.representativePositionId))throw new Error("The source balance changed. Review the available amount before continuing.");const r=t.filter(m=>ye(m)===e.representativePositionId);if(r.length!==1)throw new Error("The source balance changed. Review the available amount before continuing.");if(e.insufficient)throw new Error("The source balance changed. Review the available amount before continuing.");const a=e.positions.filter(m=>m.reservedAmount>0n).map(m=>({asset:m.asset,amount:m.reservedAmount})),l=Qi(r[0],t,n,s,o,a);if(!l||l.representativePositionId!==e.representativePositionId||l.representativeDecimals!==e.representativeDecimals||l.owner.toLowerCase()!==e.owner.toLowerCase()||l.chainId!==e.chainId||!u.addressesEqual(l.token,e.token)||l.decimals!==e.decimals)throw new Error("The source balance changed. Review the available amount before continuing.");if(e.grossAmount<=0n||e.positions.length!==2)throw new Error("The source balance changed. Review the available amount before continuing.");const c=e.positions.find(m=>m.positionId===ye(l.wallet)),d=e.positions.find(m=>m.positionId===ye(l.escrow));if(!c||!d||c.positionId===d.positionId||c.amount<0n||d.amount<0n||c.reservedAmount<0n||d.reservedAmount<0n)throw new Error("The source balance changed. Review the available amount before continuing.");if(e.route==="escrow"){if(e.walletDeposit!==c.amount||e.walletInPlace!==0n||e.escrowWithdrawal!==e.grossAmount||c.amount+d.amount!==e.grossAmount||!Bn(l.escrow,d.amount)||!Bn(l.escrow,c.amount)||!Bn(l.escrow,e.escrowWithdrawal))throw new Error("The source balance changed. Review the available amount before continuing.")}else if(e.walletDeposit!==0n||e.walletInPlace!==c.amount||e.escrowWithdrawal!==d.amount||c.amount+d.amount!==e.grossAmount||!Bn(l.escrow,d.amount))throw new Error("The source balance changed. Review the available amount before continuing.");if(c.amount>l.walletAvailable||d.amount>l.escrowAvailable)throw new Error("The source balance changed. Review the available amount before continuing.");for(const m of e.positions){const f=t.find(h=>ye(h)===m.positionId);if(!f||f.decimals!==m.asset.decimals||f.receiptTokenDecimals!==m.asset.receiptTokenDecimals||f.receiptTokenId!==m.asset.receiptTokenId)throw new Error("The source balance changed. Review the available amount before continuing.")}}function go(e,t,n){const s=n.filter(o=>o.amount>0n);return{chainId:e,domain:"evm",tokenTransfers:[],calls:S.isNativeToken(t)?s.map(o=>({to:o.recipient,value:o.amount,data:"0x"})):s.map(o=>({to:t,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[o.recipient,o.amount]})}))}}new Set([S.SPICE_GAS_FEE_RECIPIENT,S.SPICE_PLATFORM_FEE_RECIPIENT].map(e=>e.toLowerCase()));function Mu(e){const t=new Map;for(const n of e){if(n.amount<=0n)continue;const s=T.getAddress(n.token),o=T.getAddress(n.to),r=`${s.toLowerCase()}:${o.toLowerCase()}`,a=t.get(r);a?a.amount+=n.amount:t.set(r,{token:s,to:o,amount:n.amount})}return[...t.values()]}function Uu(e,t){return`0x${t}${e.slice(4)}`}function Ki(e,t,n,s){if(e.some(m=>m.domain==="spicenet"))return e;const o=n?.intents.flatMap(m=>m.batches),r=m=>m.from==="escrow",a=e.map(m=>{const f=o?.find(E=>E.chainId===m.chainId);if(!f)return m;const h=u.getBatchFees(f),w=h.totalFee;if(w<=0n)return m;const g=(m.tokenTransfers??[]).filter(E=>r(E)&&T.getAddress(E.to).toLowerCase()===t.toLowerCase()),y=g.find(E=>!S.isNativeToken(T.getAddress(E.token)))??g[0];if(!y)return m;const x=T.getAddress(y.token),b=S.isNativeToken(x);let v=!1;const C=(m.tokenTransfers??[]).map(E=>v||!r(E)||T.getAddress(E.to).toLowerCase()!==t.toLowerCase()||T.getAddress(E.token).toLowerCase()!==x.toLowerCase()?E:(v=!0,{...E,amount:s?.payoutAlreadyGross?BigInt(E.amount):BigInt(E.amount)+w}));if(!v)return m;const k=(E,N)=>b?{to:E,value:N,data:"0x"}:{to:x,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[E,N]})},A=[];h.spicenetFee>0n&&A.push(k(S.SPICE_PLATFORM_FEE_RECIPIENT,h.spicenetFee));const I=h.gasFee+h.bridgeFee;return I>0n&&A.push(k(S.SPICE_GAS_FEE_RECIPIENT,I)),{...m,tokenTransfers:C,calls:[...A,...m.calls]}}),l=a.flatMap(m=>(m.tokenTransfers??[]).filter(r).map(f=>{const h=T.getAddress(f.token),w=T.getAddress(f.to),g=[{token:h,to:w,amount:BigInt(f.amount)}];return{chainId:m.chainId,transfers:Mu(g)}}));if(l.length===0)return e;const c=s?.requestTimestampMs??Date.now(),d=BigInt(Math.floor(c/1e3))+3600n;return[{chainId:S.SPICENET_NATIVE_CHAIN_ID,domain:"spicenet",tokenTransfers:[],calls:l.map((m,f)=>{const h=T.keccak256(T.encodeAbiParameters([{type:"address"},{type:"address"},{type:"uint256"},{type:"uint256"},{type:"uint256"}],[t,m.transfers[0].token,m.transfers.reduce((g,y)=>g+y.amount,0n),BigInt(m.chainId),BigInt(c+f)])),w=Uu(h,"77");return{to:"0x0000000000000000000000000000000000000000",value:0n,data:T.encodeFunctionData({abi:S.spicenetAbi,functionName:"createWithdrawalRequest",args:[{chainId:`evm:${m.chainId}`,idempotenceKey:w,nbf:0n,exp:d,metadata:"{}",transfers:m.transfers.map(g=>({token:g.token.toLowerCase(),to:g.to,amount:g.amount}))}]})}})},...a]}function Rn(e,t,n,s){const o=e.filter(a=>a.domain!=="spicenet"),r=a=>(a.tokenTransfers??[]).some(l=>l.from==="escrow");return[...o.filter(a=>!r(a)),...Ki(o.filter(r),t,n,s)]}class ts extends Error{constructor(t,n){super("The selected balance cannot cover the fee funding amount"),this.requiredAmount=t,this.balance=n,this.name="InsufficientFeeFundingBalanceError"}}function vr(e,t,n,s,o){const r=e[e.length-1];if(!r?.calls.length||r.domain==="spicenet")throw new Error("Proceeds fees require a final destination action");const a=[{to:S.SPICE_PLATFORM_FEE_RECIPIENT,amount:o},{to:S.SPICE_GAS_FEE_RECIPIENT,amount:s}].filter(l=>l.amount>0n);return e.map(l=>l===r?{...l,calls:[...l.calls,...a.map(c=>({to:n,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[c.to,c.amount]})}))],tokenTransfers:[...l.tokenTransfers??[],...a.map(c=>({from:t,to:c.to,token:n,amount:c.amount}))]}:l)}async function Zi(e,t,n,s,o){const r=S.hashChainBatches(e),a=await u.relayerService.estimateBatchGas({user:t,outputToken:n,signal:s,requireSimulation:!0,includePlatformFee:o!==void 0,chainBatches:e.map((l,c)=>({...l,hash:r[c].hash}))});if(a.gasQuoteSource!=="estimated"||!a.simulationVerified)throw new Error("Action proceeds require a successful live batch simulation; fallback gas pricing is not sufficient");if(o!==void 0&&(a.platformFee===void 0||a.platformFee>o))throw new Error("Fee conversion platform price changed; refresh before retrying");return a.gasFee}async function Yi(e){if(e.proceeds.token.toLowerCase()!==e.token.toLowerCase())throw new Error("Action proceeds must use the destination fee token");const t=await e.proceeds.resolve(e.signal);if(e.signal?.aborted)throw new Error("Action proceeds quote was cancelled");if(t<0n)throw new Error("Action proceeds cannot be negative");const n=await e.baseline();if(!n?.preview)throw new Error("Action fee quote is unavailable");let s=n.preview.gasFee;const o=n.preview.spicenetFee,r=n.preview.bridgeFee??0n;for(let a=0;a<5;a++){const l=s+o+r,c=t<l?t:l,d=l-c;if(d>0n&&e.fundShortfall===!1)throw new ts(l,t);const m=d>0n?(d*110n+99n)/100n+2n:0n;let f=m,h;const w=Rn(await e.buildBatches(m,{actionAmountOverride:e.actionAmountFor?.(l),onSourceSpend:x=>{f=x},onActionCalls:x=>{h=x}}),e.owner),g=vr(w,e.owner,e.token,s+r,o),y=await Zi(g,e.owner,e.token,e.signal);if(y<=s&&(s-y)*100n<=y*15n)return{preview:{...n.preview,grossAmount:m,netAmount:0n,gasFee:s,totalFee:l,gasQuoteSource:"estimated"},feeEstimate:n.feeEstimate,grossFundingAmount:m,proceedsAvailable:t,proceedsUsed:c,fundingBatches:g,sourceSpendCap:f,destinationAmount:0n,actionDefinition:h};s=y}throw new Error("Action proceeds fee estimate did not converge")}function Xi(e,t){let n,s;if(S.isNativeToken(t)){if(e.data!=="0x")return null;n=e.to,s=e.value}else{if(!u.addressesEqual(e.to,t))return null;try{const o=T.decodeFunctionData({abi:T.erc20Abi,data:e.data});if(o.functionName!=="transfer")return null;[n,s]=o.args}catch{return null}}return u.addressesEqual(n,S.SPICE_GAS_FEE_RECIPIENT)?{gas:s,platform:0n}:u.addressesEqual(n,S.SPICE_PLATFORM_FEE_RECIPIENT)?{gas:0n,platform:s}:null}async function Wu(e,t,n){const s=u.getClientForChain(e);return S.isNativeToken(n)?s.getBalance({address:t}):s.readContract({address:n,abi:T.erc20Abi,functionName:"balanceOf",args:[t]})}function ns(e,t,n){return e.map(s=>s.chainId===t?{...s,calls:s.calls.filter(o=>!Xi(o,n))}:s)}function Ji(e,t,n){if(!e.feeOnlyAction)return{};const s=e.embeddedWalletAddress??e.providerEmbeddedAddress,o=e.feeQuote?.fundingSource,r=o&&o.kind!=="proceeds"?void 0:e.actionProceeds,a=o&&(o.kind==="input"||o.kind==="balance"&&o.asset?._source==="wallet")?o:void 0;if(r||e.feeQuote?.fundingConversion||a){const m=e.feeQuote?.fundingConversion,f=r??{token:t,resolve:async()=>0n},h=e.feeQuote?.preview,w=e.feeQuote?.proceedsUsed,g=m?.fromProceeds?m.tokenIn:t;if(!h||w===void 0||!a&&f.token.toLowerCase()!==g.toLowerCase())throw new Error("Refresh the action proceeds quote");const y=h.gasFee+(h.bridgeFee??0n),x=h.spicenetFee,b=a?async()=>{e.validateFeeQuote?.();const C=await Wu(e.resolvedChainId,s,a.token);e.validateFeeQuote?.();const k=a.kind==="input"?a.amount:(m?.amountInMax??w)+(a.reservedAmount??0n);if(e.signal?.aborted||C<k||m&&m.amountOut<y+x)throw new Error("The fee funding balance changed; refresh before retrying");return m?[{chainId:e.resolvedChainId,token:t,amount:m.amountOut}]:[]}:async()=>{e.validateFeeQuote?.();const C=await f.resolve(e.signal);if(e.validateFeeQuote?.(),e.signal?.aborted||(m?.fromProceeds?C<m.amountInMax||m.amountOut<y+x:C<w||C+(m?.amountOut??n)<y+x))throw new Error("Action proceeds changed; refresh before retrying");return m?.fromProceeds?[{chainId:e.resolvedChainId,token:m.tokenIn,amount:m.amountInMax},{chainId:e.resolvedChainId,token:t,amount:m.amountOut}]:[{chainId:e.resolvedChainId,token:t,amount:w+(m?.amountOut??0n)}]},v=async C=>{await b();const k=await Zi(C,s,t,e.signal,m?x:void 0);if(await b(),(k>h.gasFee?k-h.gasFee:h.gasFee-k)*100n>k*15n)throw new Error("Action gas quote changed; refresh before retrying")};return{resolveActionOutputCredits:b,prepareForSigning:async C=>{if(e.feeQuote?.sourceAllocation||e.feeQuote?.feeSourceAllocation)return await v(C),C;const k=ns(C,e.resolvedChainId,t).map(I=>({...I,tokenTransfers:I.tokenTransfers?.filter(E=>!(typeof E.from=="string"&&u.addressesEqual(E.from,s)&&(u.addressesEqual(E.to,S.SPICE_GAS_FEE_RECIPIENT)||u.addressesEqual(E.to,S.SPICE_PLATFORM_FEE_RECIPIENT))))})),A=vr(k,s,t,y,x);return await v(A),A},validateBeforeSubmit:v}}const l=S.getTokenByAddress(t,e.resolvedChainId),c={chainId:e.resolvedChainId,tokenAddress:t,symbol:l?.symbol??e.destinationToken.symbol,decimals:e.executionTokenDecimals??l?.decimals??e.destinationToken.decimals},d=async m=>{e.validateFeeQuote?.();const f=ns(m,e.resolvedChainId,t),h=await e.execution.estimate(f,t,n,{userOverride:s,useCustomTransfers:!0,feeExecutionMode:"backend-transfer"});e.validateFeeQuote?.();const w=u.getSupplyFeePreview(h,c);if(!w||w.chainId!==e.resolvedChainId)throw new Error("The fee service did not return the destination action's fee quote");if(w.gasFee+w.spicenetFee+(w.bridgeFee??0n)+2n>n)throw new Error("Fees exceed the displayed maximum funding; refresh the quote before retrying");return{raw:f,feeEstimate:h,fees:w}};return{prepareForSigning:async m=>{const{raw:f,feeEstimate:h}=await d(m);return e.feeQuote?.sourceAllocation||e.feeQuote?.feeSourceAllocation?m:Rn(f,s,h,{payoutAlreadyGross:!0})},validateBeforeSubmit:async m=>{const{fees:f}=await d(m);let h=0n,w=0n;for(const y of m)if(y.chainId===e.resolvedChainId)for(const x of y.calls){const b=Xi(x,t);b&&(h+=b.gas,w+=b.platform)}if(h+w+2n>n)throw new Error("Signed fees exceed the displayed maximum funding");const g=f.gasFee+(f.bridgeFee??0n);if((h>g?h-g:g-h)*100n>g*15n||w!==f.spicenetFee)throw new Error("The signed gas quote changed materially; refresh before retrying")}}}const Lu="0xa9059cbb";function Bs(e,t,n){return S.isNativeToken(e)?{to:n,value:t,data:"0x"}:{to:e,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[n,t]})}}function Cr(e,t,n){return{chainId:n,calls:[Bs(e,t,S.getEscrowContractAddress(n))]}}function qu(e,t,n,s){const o=t.source.chainId;return{chainId:o,calls:[...e.calls,Bs(t.source.address,n,S.getEscrowContractAddress(o)),...s>0n?[Bs(t.source.address,s,S.SPICE_GAS_FEE_RECIPIENT)]:[]]}}function $i(e,t){const n=e.amountOutMinimum-t;if(n<=0n)throw new Error("Amount is too small to cover fees. Increase the amount and retry.");return n}function _i(e,t,n){return e?.asset?._source==="wallet"&&e?.asset.chainId===n}function el(e){return e.isNative||S.isNativeToken(e.address)?!0:!S.getTokenByAddress(e.address,e.chainId)}function tl(e,t,n,s){return t!=="user-transfer"||!n||e.length===0||e[0]?.to.toLowerCase()!==s.toLowerCase()||!e[0]?.data.startsWith(Lu)?{feeCall:null,remainingCalls:e}:{feeCall:e[0],remainingCalls:e.slice(1)}}async function ss(e,t,n,s){const o=await(t??Fs)({...n,requestTimestampMs:s});return o?[o,e]:[e]}function zu(e){return e.filter(t=>t.domain!=="spicenet")}function os(e,t){const n=(e.tokenTransfers??[]).filter(s=>s.from==="escrow").map(s=>({token:S.normalizeNativeTokenAddress(s.token),recipient:s.to,amount:BigInt(s.amount)})).filter(s=>s.amount>0n);return t!==void 0&&n.length===1&&(n[0]={...n[0],amount:t}),n.length>0?n:void 0}function rs(e,t,n){return en(e,t,n,"ceil")}function nl(e){const t=e.selectedAsset?.asset;return e.isPayMode&&!!t&&t._source==="wallet"&&t.chainId!==e.resolvedChainId&&!!e.pivot}function kr(e){const t=e.selectedAsset?.asset;return!e.isPayMode&&!!t&&t._source==="wallet"&&t.chainId!==e.resolvedChainId&&!!e.sourceSwap&&!!e.pivot}function Rs(e,t){if(t?.sourceSpendCap!==void 0&&e>t.sourceSpendCap)throw new Error("The source amount increased. Review the updated quote before submitting.");t?.onSourceSpend?.(e)}async function sl(e,t,n){let s;const o=await e({...t,buildActionCalls:async(r,a)=>{s=r;const l=await t.buildActionCalls(r,a);return n?.onActionCalls?.({amount:r,context:a,calls:l}),l}},n);if(s!==void 0){if(n?.minimumDestinationAmount!==void 0&&s<n.minimumDestinationAmount)throw new Error("The destination amount decreased. Review the refreshed quote before submitting.");n?.onDestinationAmount?.(s)}return o}const xo=(e,t)=>sl(Hu,e,t),yo=async(e,t)=>{const n=await sl(Vu,e,t),s=t?.actionContextOverride?.feeBreakdown,o=n[n.length-1];if(e.feeExecutionMode!=="user-transfer"||!s||!o)return n;const r=e.needsSwap&&e.resolvedTokenIn?e.resolvedTokenIn:e.destinationToken.address,[a]=ns([o],e.resolvedChainId,r),l=go(e.resolvedChainId,r,[{recipient:S.SPICE_PLATFORM_FEE_RECIPIENT,amount:s.spicenetFee},{recipient:S.SPICE_GAS_FEE_RECIPIENT,amount:s.gasFee+(s.bridgeFee??0n)}]).calls,c=o.calls.filter(d=>!a.calls.includes(d));return c.length===l.length&&l.every(d=>c.some(m=>m.to.toLowerCase()===d.to.toLowerCase()&&m.value===d.value&&m.data===d.data))?n:[...n.slice(0,-1),{...a,calls:[...l,...a.calls]}]};async function Hu(e,t){const{currentPaymentAmount:n,destinationToken:s,embeddedWalletAddress:o,providerEmbeddedAddress:r,address:a,isNon7702:l,resolvedChainId:c,buildActionCalls:d,feeExecutionMode:m,buildSpicenetBatch:f,needsSwap:h,exactOutputSwap:w,resolvedTokenIn:g,requestTimestampMs:y}=e,x=t?.sourceAssetOverride?{asset:t.sourceAssetOverride}:e.selectedAsset,b=t?.fundingTokenOverride??g,v=Vt(n,s.decimals),C=t?.actionAmountOverride??(e.feeOnlyAction?0n:v),k=!!e.feeOnlyAction&&(t?.fundingAmountOverride??0n)>0n,A=o||r||a;if(!A)throw new Error("Embedded wallet address is not available. Please sign in and try again.");const I={userAddress:e.recipient??A,executorAddress:A,beneficiary:e.recipient??A,outputRecipient:h?A:void 0,chainId:c,destinationToken:s.address,grossAmount:t?.fundingAmountOverride??v,netAmount:C,combinedFeeAmount:t?.actionContextOverride?.combinedFeeAmount,feeExecutionMode:m,feeBreakdown:t?.actionContextOverride?.feeBreakdown,...t?.actionContextOverride},E=await d(C,I),N={chainId:c,calls:E},R=!!x&&x.asset._source!=="wallet",B=_i(x??null,l,c),U=R||B&&!!x&&!el(x.asset),O=(F,P)=>({token:S.normalizeNativeTokenAddress(F),from:"escrow",to:A,amount:P}),W=(F,P,q)=>B?[Cr(F,P,c),...q]:q;if(v===0n&&!k)return[N];const D=t?.combinedSourceGroupOverride===null?void 0:t?.combinedSourceGroupOverride??e.combinedSourceGroup;if(D&&(!h||b?.toLowerCase()===D.token.toLowerCase())){if(h&&!w)throw new Error("The action quote is unavailable.");const F=h?{...N,calls:[...w.calls,...E]}:N,P=t?.fundingAmountOverride??(h?w?.amountInMax??0n:v),q=wr(D,P,"in-place",{quoteOnly:!0});if(t?.onSourceAllocation?.(q),Rs(_n(P,D.decimals,D.representativeDecimals),t),q.escrowWithdrawal===0n)return[F];const L={...F,tokenTransfers:[O(D.token,q.escrowWithdrawal)]};return ss(L,f,{userAddress:A,destinationChainId:c,deliveryToken:D.token,deliveryAmount:q.escrowWithdrawal,deliveryRecipient:A,deliveryTransfers:os(L),sourceAsset:D.escrow},y)}if(x?.asset._source==="wallet"&&x.asset.chainId!==c&&!e.pivot)throw new Error("A current source-to-destination funding route is required");if(e.feeOnlyAction&&t?.fundingTokenOverride&&B)return Rs(t.fundingAmountOverride??0n,t),[N];if(nl(e)){if(h&&!w)throw new Error("Swap quote not available yet");const F=t?.fundingAmountOverride??(w?w.amountInMax:v),P=t?.sourceGasSkimOverride??0n,q=en(F,e.pivot.destination.decimals,e.pivot.source.decimals,"ceil"),L=q+P,ne=e.sourceExactOutputSwap,pe=ne&&(t?.reuseQuotedSourceSwap||ne.amountOut>=L)?ne:e.resolveSourceExactOutputSwap?await e.resolveSourceExactOutputSwap(L):null;if(!pe)throw new Error("Swap quote not available yet");Rs(pe.amountInMax,t);const ce=x.asset;if(pe.amountInMax>ce.balance)throw new Error(`Insufficient ${ce.symbol} for this payment. Required ${T.formatUnits(pe.amountInMax,ce.decimals)} ${ce.symbol}; available ${T.formatUnits(ce.balance,ce.decimals)} ${ce.symbol}.`);const X=pe.amountOut>=L?q:pe.amountOut-P;if(X<=0n)throw new Error("Amount is too small to cover fees. Increase the amount and retry.");const z={chainId:e.pivot.source.chainId,calls:[...pe.calls,Bs(e.pivot.source.address,X,S.getEscrowContractAddress(e.pivot.source.chainId)),...P>0n?[Bs(e.pivot.source.address,P,S.SPICE_GAS_FEE_RECIPIENT)]:[]]},V={chainId:c,calls:[...w?.calls??[],...E],tokenTransfers:[O(e.pivot.destination.address,F),...N.tokenTransfers??[]]},fe=await ss(V,f,{userAddress:A,destinationChainId:c,deliveryToken:e.pivot.destination.address,deliveryAmount:F,deliveryRecipient:A,deliveryTransfers:os(V),sourceAsset:x.asset},y);return[z,...fe]}if(x){const F=t?.fundingAmountOverride??w?.amountInMax??v;Rs(rs(F,await bn(x.asset,b??x.asset.address,c,s),x.asset.decimals),t)}if(h&&w){const F=b??sn(x.asset,c)??x.asset.address,P=t?.fundingAmountOverride??w.amountInMax,q=U?[O(F,P)]:[],L={chainId:c,calls:[...w.calls,...E],tokenTransfers:[...q,...N.tokenTransfers??[]]};if(!U)return[L];const ne=await ss(L,f,{userAddress:A,destinationChainId:c,deliveryToken:F,deliveryAmount:P,deliveryRecipient:A,deliveryTransfers:os(L),sourceAsset:x.asset},y);return W(F,P,ne)}if(U){const F=b??sn(x.asset,c)??s.address;if(B&&!e.feeOnlyAction&&F.toLowerCase()===s.address.toLowerCase())return[N];const P=t?.fundingAmountOverride??v,q={...N,tokenTransfers:[O(F,P),...N.tokenTransfers??[]]},L=await ss(q,f,{userAddress:A,destinationChainId:c,deliveryToken:F,deliveryAmount:P,deliveryRecipient:A,deliveryTransfers:os(q),sourceAsset:x.asset},y);return W(F,P,L)}return[N]}async function Vu(e,t){const{selectedAsset:n,embeddedWalletAddress:s,recipient:o,resolvedChainId:r,destinationToken:a,buildActionCalls:l,feeExecutionMode:c,buildSpicenetBatch:d,isPayMode:m,isNon7702:f,needsSwap:h,resolvedSwap:w,quoteAmountOut:g,resolvedTokenIn:y,requestTimestampMs:x}=e;if(!n?.asset||!s)return[];const b=o??s;if(!b)return[];const v=kr(e);let C=e.sourceSwap,k=Vt(n.amount,n.asset.decimals),A=v?e.sourceSwap.amountOutMinimum:null;if(v&&e.isFeeInclusiveInput&&(A=$i(e.sourceSwap,t?.sourceGasSkimOverride??0n)),v&&!e.isFeeInclusiveInput&&(t?.fundingAmountOverride!==void 0||(t?.sourceGasSkimOverride??0n)>0n)){A=t?.fundingAmountOverride!==void 0?rs(t.fundingAmountOverride,e.pivot.destination.decimals,e.pivot.source.decimals):e.sourceSwap.amountOutMinimum;const be=A+(t?.sourceGasSkimOverride??0n);if(!e.resolveSourceExactOutputSwap)throw new Error("The source quote cannot include fees yet.");const j=await e.resolveSourceExactOutputSwap(be);if(j.amountOut<be)throw new Error("The source quote does not cover the accepted funding amount.");k=j.amountInMax,C={...j,amountOutMinimum:j.amountOut}}const I=v?e.pivot.destination.address:y??sn(n.asset,r)??a.address,E=v?e.pivot.destination.decimals:await bn(n.asset,I,r,a),N=t?.fundingAmountOverride??t?.actionAmountOverride??(v?en(A,e.pivot.source.decimals,E,"floor"):_n(Vt(n.amount,n.asset.decimals),n.asset.decimals,E)),R=t?.fundingAmountOverride??N,B=t?.combinedSourceGroupOverride===null?void 0:t?.combinedSourceGroupOverride??e.combinedSourceGroup,U=B&&!v?wr(B,R,"escrow",{quoteOnly:!0}):void 0;U&&t?.onSourceAllocation?.(U);const O=U?.walletDeposit??t?.sourceFundingAmountOverride??rs(N,E,n.asset.decimals);Rs(U&&B?_n(R,B.decimals,B.representativeDecimals):v?k:O,t);const W=t?.deliveryAmountOverride??(c==="user-transfer"?R:t?.actionContextOverride?.netAmount??R),D=t?.withdrawalAmountOverride??W,F=t?.actionAmountOverride??t?.actionContextOverride?.netAmount??N;let P=w;if(h&&!m&&(t?.actionContextOverride?.netAmount!==void 0||v&&(t?.sourceGasSkimOverride??0n)>0n&&!t?.reuseQuotedSourceSwap)){if(!e.resolveInputSwap)throw new Error("Swap quote cannot be refreshed for the amount after fees.");const be=t?.actionContextOverride?.netAmount??F;(!P||e.swapInputAmount!==be)&&(P=await e.resolveInputSwap(be,w??void 0))}P&&t?.onSwap?.(P,t?.actionContextOverride?.netAmount??e.swapInputAmount??F);const q=P?.amountOutMinimum??g,L={userAddress:b,executorAddress:s,beneficiary:b,outputRecipient:h?s:void 0,chainId:r,destinationToken:a.address,feeToken:c==="user-transfer"&&h&&y?y:a.address,grossAmount:R,netAmount:F,combinedFeeAmount:t?.actionContextOverride?.combinedFeeAmount,feeExecutionMode:c,feeBreakdown:t?.actionContextOverride?.feeBreakdown,...t?.actionContextOverride},ne=()=>l(F,L),pe=n.asset?._source==="wallet";if(!m&&pe&&n.asset.chainId===r&&el(n.asset)){if(h){if(!y)throw new Error("Swap input token could not be resolved");if(!P||q===null)throw new Error("Swap quote not available yet")}if(h&&P&&q){const be=await l(t?.actionAmountOverride??q,{...L,netAmount:t?.actionAmountOverride??q}),{feeCall:j,remainingCalls:Z}=tl(be,c,h,L.feeToken);return[{chainId:r,calls:[...j?[j]:[],...P.calls,...Z]}]}return[{chainId:r,calls:await ne()}]}if(!m&&pe&&n.asset.chainId!==r&&!v)throw new Error("A current source-to-destination funding route is required");const ce=n.asset._source!=="wallet",X=_i(n,f,r);if(!(ce||X||v))return[{chainId:r,calls:await ne()}];const z=v?qu(C,e.pivot,A,t?.sourceGasSkimOverride??0n):U&&B?U.walletDeposit>0n?Cr(B.token,U.walletDeposit,r):null:X?Cr(y??S.normalizeNativeTokenAddress(n.asset.address),O,r):null,V=(be,j)=>({token:S.normalizeNativeTokenAddress(be),from:"escrow",to:s,amount:j});if(h){if(!y)throw new Error("Swap input token could not be resolved");if(!P||q===null)throw new Error("Swap quote not available yet")}if(h&&P&&q&&y){const be=await l(t?.actionAmountOverride??q,{...L,netAmount:t?.actionAmountOverride??q}),{feeCall:j,remainingCalls:Z}=tl(be,c,h,L.feeToken),$={chainId:r,calls:[...j?[j]:[],...P.calls,...Z],tokenTransfers:[V(y,W)]},H=await ss($,d,{userAddress:s,destinationChainId:r,deliveryToken:y,deliveryAmount:W,withdrawalAmount:D,deliveryRecipient:s,deliveryTransfers:os($,D),sourceAsset:n.asset},x);return z?[z,...H]:H}const fe=y??sn(n.asset,r)??a.address,Y={chainId:r,calls:await ne(),tokenTransfers:[V(fe,W)]},Ce=await ss(Y,d,{userAddress:s,destinationChainId:r,deliveryToken:fe,deliveryAmount:W,withdrawalAmount:D,deliveryRecipient:s,deliveryTransfers:os(Y,D),sourceAsset:n.asset},x);return z?[z,...Ce]:Ce}async function Qu(e,t,n,s,o){let r=e;for(let a=0;a<4;a++){const l=await t(r),c=await s(l,n,r,o),d=u.getSingleNetOutput(c);if(d===null||d>=e)return r;const m=r-d,f=e+m;if(f<=r)return r;r=f}return r}function Gu(e){return{...e,resolve:async(t,n,s)=>{const o=await e.resolve(t,n,s),r=o?.calls[0]?.to;return!o||!r||S.isNativeToken(t.tokenIn)?o:{...o,calls:[{to:t.tokenIn,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"approve",args:[r,o.amountInMax]})},...o.calls]}}}}function js(e){const t=(e?.customVenues??[]).map(s=>xc(Gu(s)));async function n(s,o,r){const a=t.filter(d=>d.chainIds.includes(o));if(a.length===0)throw new u.SpiceflowError("NO_SWAP_ROUTE",`No exact-output venue supports chain ${o}`,{chainId:o,tokenIn:s.tokenIn,tokenOut:s.tokenOut});const l=(await Promise.allSettled(a.map(async d=>({venue:d,quote:await d.resolve(s,o,r)})))).filter(d=>d.status==="fulfilled").map(d=>d.value).filter(d=>d.quote!==null);if(l.length===0)throw new u.SpiceflowError("NO_SWAP_ROUTE",`All aggregators failed for ${s.tokenIn} \u2192 ${s.tokenOut} on chain ${o}`,{chainId:o,tokenIn:s.tokenIn,tokenOut:s.tokenOut,amountOut:s.amountOut.toString()});const c=l.find(d=>d.venue.preferred);return c?c.quote:(l.sort((d,m)=>d.quote.amountIn<m.quote.amountIn?-1:d.quote.amountIn>m.quote.amountIn?1:0),l[0].quote)}return{getQuote:n,venues:t}}function ol(e,t,n){if(e._source==="wallet")return e.chainId===t?e.address:null;const s=Kn(e,t);return s.find(o=>o.toLowerCase()===n.toLowerCase())??s[0]??null}async function rl(e,t,n,s){const o=S.hashChainBatches(s),r=await u.relayerService.estimateBatchGas({user:t,outputToken:n,requireSimulation:!0,includePlatformFee:!0,signal:e.signal,chainBatches:s.map((a,l)=>({...a,hash:o[l].hash}))});if(!r.simulationVerified||r.gasQuoteSource!=="estimated"||r.platformFee===void 0||r.gasFee<=0n)throw new Error("Fee funding requires verified gas and platform pricing");return r}async function Ds(e,t){const n=e.selectedAsset?.asset,s=!t&&!!e.actionProceeds&&e.actionProceeds.token.toLowerCase()!==e.destinationToken.address.toLowerCase(),o=!!t||s,r=e.embeddedWalletAddress||e.providerEmbeddedAddress;if(!r||!o&&(!n||n._source!=="spice"&&!(n._source==="wallet"&&n.chainId===e.resolvedChainId)))throw new Error("A local embedded or Spice balance is required for fee conversion");const a=t?t.token:s?e.actionProceeds.token:ol(n,e.resolvedChainId,e.destinationToken.address);if(!a)throw new Error("This receipt has no registered destination withdrawal token");const l=S.getTokenByAddress(a,e.resolvedChainId)?.decimals??(S.isNativeToken(a)?18:o?await u.getClientForChain(e.resolvedChainId).readContract({address:a,abi:T.erc20Abi,functionName:"decimals"}):n?._source==="wallet"?n.decimals:void 0);if(l===void 0)throw new Error("Fee funding token metadata is unavailable");const c=e.destinationToken.address;if(e.actionProceeds&&!s&&e.actionProceeds.token.toLowerCase()!==c.toLowerCase())throw new Error("Action proceeds must use the destination fee token");const d=t?t.amount:e.actionProceeds?await e.actionProceeds.resolve(e.signal):0n;if(d<0n||e.signal?.aborted)throw new Error("Action proceeds quote was cancelled or invalid");const m=js({customVenues:[...e.resolveExactOutputSwap?[{name:"consumer-exact-output",chainIds:[e.resolvedChainId],preferred:!0,resolve:e.resolveExactOutputSwap}]:[],...Pn(e.liquidityVenues).output]}),f=w=>rl(e,r,c,w);let h=await f(await e.buildPayChainBatches({fundingAmountOverride:0n}));for(let w=0;w<8;w++){const g=h.gasFee+h.platformFee,y=o?0n:d<g?d:g,x=g-y,b=x>0n?(x*110n+99n)/100n+2n:0n,v=b>0n?await m.getQuote({tokenIn:a,tokenOut:c,amountOut:b,maxSlippage:e.maxSlippage},e.resolvedChainId,r):null;if(e.signal?.aborted)throw new Error("Fee conversion quote was cancelled");if(v&&(v.amountOut!==b||v.amountInMax<=0n||v.amountInMax<v.amountIn||!v.calls.length))throw new Error("Invalid exact-output fee conversion quote");const C=v?.amountInMax??0n,k=o?0n:rs(C,l,n.decimals);if(o&&C>d)throw new ts(C,d);if(!o&&k>n.balance)throw new ts(k,n.balance);let A,I=Rn(await e.buildPayChainBatches({fundingAmountOverride:o?0n:C,...o?{}:{fundingTokenOverride:a},...t?{actionAmountOverride:t.amount-C}:{},onActionCalls:N=>{A=N}}),r);if(v){const N=I.length-1;I=I.map((R,B)=>B===N?{...R,calls:[...R.calls,...v.calls]}:R)}I=vr(I,r,c,h.gasFee,h.platformFee);const E=await f(I);if(E.gasFee<=h.gasFee&&(h.gasFee-E.gasFee)*100n<=E.gasFee*15n&&E.platformFee===h.platformFee){const N={tokenIn:a,tokenOut:c,amountInMax:C,amountOut:b,sourceAmountMax:k,...s?{fromProceeds:!0}:{},...t?{fromInput:!0}:{}};return{feeEstimate:null,preview:{symbol:e.destinationToken.symbol,decimals:e.destinationToken.decimals,grossAmount:o?0n:b,netAmount:0n,gasFee:h.gasFee,spicenetFee:h.platformFee,totalFee:g,gasQuoteSource:"estimated"},grossFundingAmount:o?0n:C,proceedsAvailable:d,proceedsUsed:o?g:y,fundingConversion:N,fundingBatches:I,sourceSpendCap:k,destinationAmount:0n,actionDefinition:A}}h=E}throw new Error("Fee conversion pricing did not converge")}const wo=["input","proceeds","balance"];function Ku(e){if(e.reserve&&e.reserve.amount<0n)throw new Error("Fee funding reserve cannot be negative");if(e.reserves?.some(l=>l.amount<0n))throw new Error("Fee funding reserve cannot be negative");const t=l=>u.addressesEqual(l,e.feeToken),n=(l,c)=>Number(l.swap)-Number(c.swap),s={input:[],proceeds:[],balance:[]};for(const l of e.inputs??[])l.amount>0n&&s.input.push({kind:"input",...l,swap:!t(l.token)});s.input.sort(n),e.proceeds&&e.proceeds.amount>0n&&s.proceeds.push({kind:"proceeds",...e.proceeds,swap:!t(e.proceeds.token)});const o=e.balances.filter(l=>l._source==="wallet"&&l.chainId===e.chainId&&l.location!=="external"),r=e.balances.filter(l=>l._source==="spice"),a=l=>{const c=[];for(const d of l){const m=[...e.reserves??[],...e.reserve?[e.reserve]:[]].filter(g=>ye(d)===ye(g.asset)).reduce((g,y)=>y.amount>g?y.amount:g,0n),f=d.balance-m;if(f<=0n)continue;const h=m>0n?{...d,balance:f,balanceFormatted:Number(T.formatUnits(f,d.decimals)),balanceUsd:d.balanceUsd*Number(f)/Number(d.balance)}:d,w=ol(h,e.chainId,e.feeToken);w&&(e.inputs?.some(g=>u.addressesEqual(g.token,w)&&![...e.reserves??[],...e.reserve?[e.reserve]:[]].some(y=>u.addressesEqual(y.asset.address,g.token)))||c.push({kind:"balance",token:w,amount:h.balance,asset:h,...m>0n?{reservedAmount:m}:{},swap:!t(w)}))}return c.sort((d,m)=>n(d,m)||m.asset.balanceUsd-d.asset.balanceUsd)};return s.balance=[...a(o),...a(r)],(e.order??wo).flatMap(l=>s[l])}function Zu(e){return e instanceof ts||e instanceof u.SpiceflowError&&e.code==="NO_SWAP_ROUTE"}async function al(e,t){const n=e.embeddedWalletAddress||e.providerEmbeddedAddress;if(!n||!e.ready||!e.authenticated)return null;const s=e.destinationToken.address;let o;const r=()=>o??(o=(async()=>{const d=await rl(e,n,s,await e.buildPayChainBatches({fundingAmountOverride:0n}));return{feeEstimate:null,preview:{symbol:e.destinationToken.symbol,decimals:e.destinationToken.decimals,gasFee:d.gasFee,spicenetFee:d.platformFee,bridgeFee:0n,totalFee:d.gasFee+d.platformFee,grossAmount:0n,netAmount:0n,gasQuoteSource:"estimated"}}})()),a=(d,m)=>e.buildPayChainBatches({...m,fundingAmountOverride:d}),l=(d,m)=>Yi({proceeds:{token:s,resolve:async()=>d},owner:n,token:s,signal:e.signal,baseline:r,buildBatches:a,fundShortfall:!1,actionAmountFor:m}),c=async d=>{if(d.kind==="input")return d.swap?Ds({...e,actionProceeds:void 0},d):l(d.amount,g=>d.amount-g);if(d.kind==="proceeds"){const g={...e.actionProceeds,resolve:async()=>d.amount};return d.swap?Ds({...e,actionProceeds:g}):l(d.amount)}const m=d.asset;if(m._source==="wallet"&&!d.swap)return l(m.balance);let f=!d.swap&&m._source==="spice"?e.getCombinedSourceGroup?.(m):void 0;if(f){const g=[ye(f.wallet),ye(f.escrow)],y=[...e.feeFundingReserves??[],...e.feeFundingReserve?[e.feeFundingReserve]:[]].filter(x=>g.includes(ye(x.asset)));y.length&&(f=e.getCombinedSourceGroup?.(m,y))}const h={...e,selectedAsset:{asset:m,amount:"0"},combinedSourceGroup:f,resolvedTokenIn:d.token,actionInput:void 0,actionProceeds:void 0,buildPayChainBatches:g=>e.buildPayChainBatches({...g,sourceAssetOverride:m,combinedSourceGroupOverride:f??null,fundingTokenOverride:g?.fundingTokenOverride??d.token})};if(d.swap)return Ds(h);const w=await t(h);if(w&&(w.sourceSpendCap??0n)>(f?.availableBalance??m.balance))throw new ts(w.sourceSpendCap,f?.availableBalance??m.balance);return w};for(const d of e.feeFunding??wo){const m=d==="proceeds"&&e.actionProceeds?{token:e.actionProceeds.token,amount:await e.actionProceeds.resolve(e.signal)}:void 0;if(e.signal?.aborted)throw new Error("Fee funding quote was cancelled");if(m&&m.amount<0n)throw new Error("Action proceeds cannot be negative");const f=Ku({feeToken:s,chainId:e.resolvedChainId,inputs:e.actionInput,proceeds:m,balances:e.feeFundingBalances??[],order:[d],reserve:e.feeFundingReserve,reserves:e.feeFundingReserves});for(const h of f)try{const w=await c(h);if(!w)continue;const{swap:g,...y}=h;return{...w,fundingSource:y}}catch(w){if(e.signal?.aborted||!Zu(w))throw w}}throw new Error(`No available balance can cover this action's ${e.destinationToken.symbol} execution cost`)}async function Yu(e,t,n,s=!1){const o=e.selectedAsset,r=e.embeddedWalletAddress||e.providerEmbeddedAddress;if(!o||!r||!e.ready||!e.authenticated||e.isQuoting)return null;if(!e.combinedSourceGroup&&o.asset._source!=="wallet"||o.asset.chainId!==e.resolvedChainId||!$s(o.asset)&&o.asset.owner&&!u.addressesEqual(o.asset.owner,r))throw new Error("Funded fee hierarchy requires principal on the action chain in the executing wallet.");if(s&&(e.isPayMode||!e.isFeeInclusiveInput||t.recipient&&!u.addressesEqual(t.recipient,r)))throw new Error("Output-funded actions require an input-inclusive amount left in the executing wallet.");if(e.isPayMode&&e.needsSwap&&!e.exactOutputSwap)return null;const a=e.isPayMode?Vt(e.currentPaymentAmount,e.destinationToken.decimals):void 0;if(e.isPayMode&&e.needsSwap&&e.exactOutputSwap.amountOut!==a)throw new Error("Wait for the payment quote for the current amount.");const l=S.getTokensForChain(e.resolvedChainId).find(k=>k.equivalenceGroup==="USDC");if(!l)throw new Error("Configure the execution fee token for this chain.");const c={...l,address:l.address,chainId:e.resolvedChainId},d=a!==void 0?e.needsSwap?e.exactOutputSwap.amountInMax:a:Vt(o.amount,o.asset.decimals);if(d<=0n||d>(e.combinedSourceGroup?.availableBalance??o.asset.balance))throw new Error("Enter an amount within the available balance.");if(!e.isPayMode&&e.needsSwap&&t.swapInputAmount!=null&&t.swapInputAmount!==d)throw new Error("Wait for the action quote for the current amount.");const m=a??(e.needsSwap?t.resolvedSwap?.amountOutMinimum??0n:d);let f=t.resolvedSwap??void 0,h=d,w=m;const g=e.combinedSourceGroup?wr(e.combinedSourceGroup,d,"in-place"):void 0,y={...e,feeOnlyAction:!0,selectedAsset:null,isPayMode:!0,isFeeInclusiveInput:!1,parsedAmount:0,currentPaymentAmount:"0",destinationToken:c,resolvedTokenIn:c.address,executionTokenAddress:c.address,needsSwap:!1,resolvedSwap:null,isDirect:!0,actionInput:!e.isPayMode&&e.isFeeInclusiveInput?[{token:o.asset.address,amount:d}]:void 0,actionProceeds:s?{token:e.destinationToken.address,resolve:async()=>m>0n?m-1n:0n}:e.actionProceeds,feeFundingBalances:e.feeFundingBalances?.filter(k=>!k.balanceError&&!(e.feeFundingReserve&&ye(e.feeFundingReserve.asset)!==ye(o.asset)&&ye(k)===ye(e.feeFundingReserve.asset))&&!$s(k)&&(!k.owner||u.addressesEqual(k.owner,r))),feeFundingReserves:g?.positions.map(k=>({asset:k.asset,amount:k.amount})),feeFundingReserve:g?void 0:{asset:o.asset,amount:e.feeFundingReserve&&ye(e.feeFundingReserve.asset)===ye(o.asset)&&e.feeFundingReserve.amount>d?e.feeFundingReserve.amount:d},buildPayChainBatches:async k=>{const A=k?.actionAmountOverride??d;if(A<=0n)throw new ts(d+1n,d);const I=!e.isPayMode&&e.needsSwap?A===d?t.resolvedSwap:await t.resolveInputSwap?.(A,t.resolvedSwap??void 0):null,E=e.needsSwap?e.isPayMode?e.exactOutputSwap:I:null;if(e.needsSwap&&!E)throw new Error("The action quote is unavailable.");f=I??void 0,h=A,w=a??f?.amountOutMinimum??A;const N={userAddress:t.recipient??r,executorAddress:r,beneficiary:t.recipient??r,outputRecipient:r,chainId:e.resolvedChainId,destinationToken:e.destinationToken.address,grossAmount:m,netAmount:w,feeToken:c.address,feeExecutionMode:"backend-transfer"},R=await t.buildActionCalls(w,N),B={amount:w,context:N,calls:R},U=[...E?.calls??[],...R];let O=await xo({...t,selectedAsset:null,combinedSourceGroup:void 0,feeOnlyAction:!0,isPayMode:!0,isFeeInclusiveInput:!1,currentPaymentAmount:"0",destinationToken:c,resolvedTokenIn:c.address,needsSwap:!1,resolvedSwap:null,exactOutputSwap:null,quoteAmountOut:null,feeExecutionMode:"backend-transfer",buildActionCalls:()=>U},{...k,onActionCalls:()=>k?.onActionCalls?.(B)});if(g?.escrowWithdrawal){const W=[...O].reverse().findIndex(F=>F.domain!=="spicenet"&&F.chainId===e.resolvedChainId),D=W<0?-1:O.length-W-1;if(D<0)throw new Error("The action quote is unavailable.");O[D]={...O[D],tokenTransfers:[...O[D].tokenTransfers??[],{token:g.token,from:"escrow",to:r,amount:g.escrowWithdrawal}]},O=Rn(O,r,void 0,{payoutAlreadyGross:!0,requestTimestampMs:t.requestTimestampMs})}return O}},x=await al(y,n);if(!x)return null;if(s&&x.fundingSource?.kind==="proceeds"&&(w-=x.fundingConversion?.amountInMax??x.proceedsUsed??0n),w<=0n)throw new Error("Not enough action output remains after execution costs.");let b=g;const v=b&&x.sourceAllocation&&b.positions.every(k=>x.sourceAllocation.positions.some(A=>A.positionId===k.positionId)),C=x.sourceAllocation&&!v?x.sourceAllocation:void 0;if(b){const k=x.sourceAllocation?.positions??[],A=x.fundingSource?.kind==="balance"&&x.fundingSource.asset&&ye(x.fundingSource.asset)===ye(e.combinedSourceGroup.wallet)?x.fundingConversion?.amountInMax??x.proceedsUsed??0n:0n,I=k.find(N=>N.positionId===ye(e.combinedSourceGroup.wallet))?.amount??A,E=k.find(N=>N.positionId===ye(e.combinedSourceGroup.escrow))?.amount??(x.fundingSource?.kind==="balance"&&x.fundingSource.asset&&ye(x.fundingSource.asset)===ye(e.combinedSourceGroup.escrow)?x.sourceSpendCap??0n:0n);b={...b,grossAmount:d+I+E,walletInPlace:b.walletInPlace+I,escrowWithdrawal:b.escrowWithdrawal+E,positions:b.positions.map(N=>({...N,amount:N.amount+(N.asset.location==="embedded"?I:E),reservedAmount:0n}))}}return{...x,fundedFeeToken:c,batches:x.fundingBatches??x.batches,destinationSwap:f,swapInputAmount:h,destinationAmount:w,sourceAllocation:b,feeSourceAllocation:C,sourceSpendCap:b?.grossAmount??d+(x.fundingSource?.kind==="balance"&&x.fundingSource.asset&&ye(x.fundingSource.asset)===ye(o.asset)?x.fundingConversion?.amountInMax??x.proceedsUsed??0n:0n)}}async function Xu(e,t){const n=e.externalGasRecipient,s=e.embeddedWalletAddress||e.providerEmbeddedAddress,o=e.resolvedChainId,r=t.batches,a=r.map(b=>b.chainId).lastIndexOf(o);if(a<0)throw new Error("Destination gas quote is unavailable.");const[l,c]=await Promise.all([u.relayerService.estimateBatchGas({user:s,outputToken:S.ZERO_ADDRESS,chainBatches:r,stepIndex:a,signal:e.signal}),u.getClientForChain(o).getBalance({address:n})]);if(e.signal?.aborted)throw new Error("Fee estimation cancelled");if(l.gasQuoteSource!=="estimated"||l.gasFee<=0n)throw new Error("A native gas quote is required for the external wallet.");const d=r[a].calls.reduce((b,v)=>u.addressesEqual(v.to,n)&&v.data==="0x"?b+v.value:b,0n),m=l.gasFee,f=c+d<m?await e.externalGasCalls?.(t)??[]:[],h=f.reduce((b,v)=>b+v.value,0n),w=(3n+BigInt(f.length))*m+h,g=c+d<m?w-c-d:0n,y={chainId:o,recipient:n,balance:c,incoming:d,transactionGas:m,nativeAmount:g,currentTransactions:f.length,currentValue:h,feeAmount:0n,calls:[]};if(g===0n)return y;const x=e.executionTokenAddress;if(S.isNativeToken(x))y.feeAmount=g;else{const b=await js({customVenues:[...e.resolveExactOutputSwap?[{name:"consumer-exact-output",chainIds:[o],preferred:!0,resolve:e.resolveExactOutputSwap}]:[],...Pn(e.liquidityVenues).output]}).getQuote({tokenIn:x,tokenOut:S.ZERO_ADDRESS,amountOut:g,maxSlippage:e.maxSlippage},o,s);if(b.amountOut!==g||b.amountInMax<=0n||!b.calls.length)throw new Error("The external gas purchase could not be quoted.");if(e.signal?.aborted)throw new Error("Fee estimation cancelled");y.feeAmount=b.amountInMax,y.calls=b.calls}return y.calls=[...y.calls,{to:n,value:g,data:"0x"}],y}function bo(e,t){if(!t?.nativeAmount)return e;const n=e.map(s=>s.chainId).lastIndexOf(t.chainId);if(n<0)throw new Error("The gas reserve destination changed.");return e.map((s,o)=>o===n?{...s,calls:[...s.calls,...t.calls]}:s)}function il(e,t){if(e&&e.nativeAmount>0n){const n=t.filter(o=>o.chainId===e.chainId).slice(-1)[0],s=n?.calls.slice(-e.calls.length);if(!s||s.length!==e.calls.length||s.some((o,r)=>{const a=e.calls[r];return!u.addressesEqual(o.to,a.to)||o.value!==a.value||o.data!==a.data}))throw new Error("The external gas purchase changed. Refresh the quote before submitting.");if(n.calls.slice(0,-e.calls.length).reduce((o,r)=>u.addressesEqual(r.to,e.recipient)&&r.data==="0x"?o+r.value:o,0n)<e.incoming)throw new Error("The native result changed. Refresh the gas reserve quote before submitting.")}}async function ll(e,t){if(!e)return;t&&il(e,t);const n=await u.getClientForChain(e.chainId).getBalance({address:e.recipient});if(e.nativeAmount>0n?n!==e.balance:n+e.incoming<e.transactionGas)throw new Error("The external wallet gas balance changed. Refresh the quote before submitting.")}async function Ju(e){const t=e.selectedAsset.asset;if(t.chainId!==e.destinationToken.chainId||!u.addressesEqual(S.normalizeNativeTokenAddress(t.address),S.normalizeNativeTokenAddress(e.destinationToken.address)))throw new Error("Direct execution requires the destination token on its own chain.");if(t.decimals!==e.destinationToken.decimals)throw new Error("Source and destination token decimals do not match.");const n=Vt(e.paymentAmount??e.selectedAsset.amount,t.decimals);if(n<=0n)throw new Error("Enter a positive action amount.");const s={userAddress:e.beneficiary??e.account,executorAddress:e.account,beneficiary:e.beneficiary??e.account,chainId:e.destinationToken.chainId,destinationToken:e.destinationToken.address,feeToken:t.address,grossAmount:n,netAmount:n,combinedFeeAmount:0n,feeExecutionMode:e.feeExecutionMode,feeBreakdown:{spicenetFee:0n,gasFee:0n,bridgeFee:0n}},o=await e.buildActionCalls(n,s);if(!o.length)throw new Error("No action calls configured.");if(S.isNativeToken(t.address)&&o.reduce((r,a)=>r+a.value,0n)>n)throw new Error("The native action exceeds the accepted source amount.");return{actionDefinition:{amount:n,context:s,calls:o},actionContext:s,batches:[{chainId:s.chainId,calls:o}],fundingAmount:n,sourceSpendCap:n,destinationAmount:n,feeEstimate:null,preview:{symbol:t.symbol,decimals:t.decimals,grossAmount:n,netAmount:n,totalFee:0n,gasFee:0n,spicenetFee:0n,bridgeFee:0n,gasQuoteSource:"static_zero"}}}async function cl(e){const[t]=await e.buildSupplyChainBatches({sourceGasSkimOverride:1n,reuseQuotedSourceSwap:!0});if(!t)throw new Error("Swap quote not available yet");const{gasFee:n}=await u.relayerService.estimateBatchGas({user:e.user,outputToken:e.pivot.source.address,stepIndex:0,chainBatches:[t],signal:e.signal});return n}const Sr=(e,t)=>(e+t-1n)/t;function vo(e,t,n=0n){return e.intents.length===0?t:{...e,intents:e.intents.map(s=>({...s,batches:s.batches.map(o=>{const r=t.intents.find(c=>c.intentIndex===s.intentIndex)?.batches.find(c=>c.chainId===o.chainId);if(!r&&n===0n)return o;const a={...o.feeBreakdown};let l=0n;for(const c of["gasFee","bridgeFee"]){const d=BigInt(a[c]??"0"),m=BigInt(r?.feeBreakdown[c]??"0"),f=d>m?d+Sr(d*n,10000n):m;f>d&&(a[c]=f.toString(),l+=f-d)}return{...o,feeBreakdown:a,totalDebit:(BigInt(o.totalDebit)+l).toString()}})}))}}async function dl(e){if(e.options.signal?.aborted)throw new Error("Fee estimation cancelled");if(!u.relayerService.canValidateActionFees())throw new Error("This withdrawal requires signed fee validation. Refresh the quote before submitting.");const[t,n]=await Promise.all([e.signedEstimate??e.estimate(e.batches,e.tokenAddress,e.fundingAmount,{...e.options,feeExecutionMode:"user-transfer",validateFeeCalls:!0}),e.estimate(e.pricingBatches,e.tokenAddress,e.fundingAmount,{...e.options,feeExecutionMode:"backend-transfer",validateFeeCalls:!1})]);if(e.options.signal?.aborted)throw new Error("Fee estimation cancelled");const s=o=>o.intents.flatMap(r=>r.batches.map(a=>`${r.intentIndex}:${a.chainId}`)).sort().join(",");if(!s(n)||s(n)!==s(t))throw new Error("Unable to validate the signed withdrawal fees.");return{intents:n.intents.map(o=>({...o,batches:o.batches.map(r=>{const a=t.intents.find(d=>d.intentIndex===o.intentIndex)?.batches.find(d=>d.chainId===r.chainId);if(!a)throw new Error("Unable to validate the signed withdrawal fees.");const l={...r.feeBreakdown};let c=0n;for(const d of["gasFee","bridgeFee"]){const m=BigInt(l[d]??"0"),f=BigInt(a.feeBreakdown[d]??"0");f>m&&(l[d]=f.toString(),c+=f-m)}return{...r,feeBreakdown:l,totalDebit:(BigInt(r.totalDebit)+c).toString()}})}))}}function $u(e,t){const n=e.spicenetFee+(e.bridgeFee??0n);return e.grossAmount<=n?t+e.gasFee+n:Sr((t+e.gasFee)*e.grossAmount,e.grossAmount-n)+2n}async function ul(e){const{requiredNetFunding:t}=e;if(e.feeOnlyAction){const d=e.executionOptions?.userOverride;if(!d||t!==0n)throw new Error("Fee-only estimates require a zero action amount and its embedded executor");let m=1n,f;for(let h=0;h<8;h++){const w=Rn(await e.buildBatches(m),d,f,{payoutAlreadyGross:!0}),g=await e.estimate(ns(w,e.tokenDescriptor.chainId,e.fundingToken),e.fundingToken,m,{...e.executionOptions,feeExecutionMode:"backend-transfer"}),y=u.getSupplyFeePreview(g,e.tokenDescriptor);if(!y)throw new Error("The fee service did not return a fee quote for this action");const x=y.gasFee+y.spicenetFee+(y.bridgeFee??0n);if(f&&x+2n<=m)return{preview:{...y,grossAmount:m,netAmount:0n},feeEstimate:g,grossFundingAmount:m};m=(x*110n+99n)/100n+2n,f=g}throw new Error("Fee-only funding did not converge; refresh the fee quote before retrying")}const n=await e.buildBatches(t),s=await e.estimate(n,e.fundingToken,t,e.executionOptions),o=u.getSupplyFeePreview(s,e.tokenDescriptor);if(!o)return{preview:u.getEscrowFreeFeePreview(n,e.tokenDescriptor,t),feeEstimate:s,grossFundingAmount:t};const r=$u(o,t),a=d=>o.grossAmount>0n?Sr(d*r,o.grossAmount):d,l=a(o.spicenetFee),c=a(o.bridgeFee??0n);return{preview:{...o,grossAmount:r,netAmount:t,spicenetFee:l,bridgeFee:c,totalFee:o.gasFee+l+c},feeEstimate:s,grossFundingAmount:r}}async function pl(e){if(e.balance<=0n)throw new Error("No spendable balance remains after source gas.");let t=e.balance;for(let n=0;n<8;n++){const s=await e.planForAmount(t);if(!s||s.sourceSpendCap===void 0||s.sourceSpendCap<=0n)throw new Error("Max requires a current route and fee estimate.");if(s.sourceSpendCap<=e.balance)return u.formatRawTokenInput(t,e.decimals);const o=t*e.balance/s.sourceSpendCap;if(o<=0n||o>=t)throw new Error("The balance cannot cover this action and its fees.");t=o}throw new Error("Max fees did not converge. Refresh the quote before retrying.")}async function _u(e){if(e.isPayMode||e.needsSwap||e.isQuoting||e.pivot||!e.embeddedWalletAddress)return null;const t=e.asset,n=S.getTokenByAddress(e.executionTokenAddress,t.chainId);return!n||t.balance<=0n?null:pl({balance:t.balance,decimals:t.decimals,planForAmount:s=>Un({selectedAsset:{asset:t,amount:u.formatRawTokenInput(s,t.decimals)},isPayMode:!1,isNon7702:!1,isFeeInclusiveInput:!1,parsedAmount:Number(u.formatRawTokenInput(s,t.decimals)),currentPaymentAmount:"0",destinationToken:{...n,address:e.executionTokenAddress,chainId:t.chainId},resolvedChainId:t.chainId,resolvedTokenIn:e.executionTokenAddress,executionTokenAddress:e.executionTokenAddress,embeddedWalletAddress:e.embeddedWalletAddress,providerEmbeddedAddress:e.embeddedWalletAddress,address:e.embeddedWalletAddress,isConnected:!0,ready:!0,authenticated:!0,isDirect:!0,isSourceDestToken:!0,needsSwap:!1,isQuoting:!1,resolvedSwap:null,exactOutputSwap:null,buildPayChainBatches:async()=>[],buildSupplyChainBatches:o=>e.buildSupplyChainBatches({...o,actionAmountOverride:s}),estimate:e.estimate,feeExecutionMode:e.feeExecutionMode})})}async function Un(e){const t=await fl(e);if(!e.externalGasRecipient||!t?.batches?.length)return t;const n=await Xu(e,t);if(!n.nativeAmount)return{...t,externalGasReserve:n};const s=await fl({...e,externalGasReserve:n,initialFeeEstimate:void 0,buildPayChainBatches:async o=>bo(await e.buildPayChainBatches(o),n),buildSupplyChainBatches:async o=>bo(await e.buildSupplyChainBatches({...o,...e.feeExecutionMode!=="user-transfer"&&o?.actionContextOverride?.netAmount!==void 0?{deliveryAmountOverride:o.actionContextOverride.netAmount+n.feeAmount}:{}}),n)});return s?(il(n,s.batches??[]),{...s,externalGasReserve:n,preview:{...s.preview,gasFee:s.preview.gasFee+n.feeAmount,totalFee:(s.preview.totalFee??0n)+(e.isPayMode?n.feeAmount:0n),...e.isPayMode?{netAmount:s.preview.netAmount-n.feeAmount}:{}}}):null}async function fl(e){const{signal:t,selectedAsset:n,isPayMode:s,isFeeInclusiveInput:o=!1,parsedAmount:r,needsSwap:a,exactOutputSwap:l,isNon7702:c,currentPaymentAmount:d,destinationToken:m,feeExecutionMode:f,resolvedTokenIn:h,embeddedWalletAddress:w,providerEmbeddedAddress:g,resolvedChainId:y,isConnected:x,address:b,ready:v,authenticated:C,isDirect:k,resolvedSwap:A,sourceSwap:I,pivot:E,isQuoting:N,executionTokenAddress:R,buildPayChainBatches:B,buildSupplyChainBatches:U,estimate:O}=e;if(e.feeOnlyAction&&!n&&e.feeFunding?.length!==0)return al(e,Un);if(e.feeOnlyAction&&e.actionProceeds&&e.actionProceeds.token.toLowerCase()!==m.address.toLowerCase()||e.feeOnlyAction&&n&&(n.asset._source==="spice"||n.asset._source==="wallet"&&n.asset.chainId===y)&&(h?h.toLowerCase()!==m.address.toLowerCase():n.asset.receiptTokenId||n.asset.chainTokens))return Ds(e);if(e.actionProceeds&&e.feeOnlyAction){const V=w||g;if(!V||!v||!C)return null;if(h&&h.toLowerCase()!==m.address.toLowerCase())throw new Error("Action proceeds require a matching fee-token source");return Yi({proceeds:e.actionProceeds,owner:V,token:m.address,signal:t,buildBatches:(fe,Y)=>B({...Y,fundingAmountOverride:fe}),baseline:()=>Un({...e,actionProceeds:void 0,selectedAsset:n??{amount:"0",asset:{...m,name:m.symbol,balance:0n,balanceFormatted:0,balanceUsd:0,isNative:!1,_source:"spice"}}})})}if(!n?.asset)return null;if(s){if(!w&&!g||r<=0&&!e.feeOnlyAction||a&&!l&&!e.feeOnlyAction)return null;const V=Vt(d,m.decimals),fe=h||sn(n.asset,y)||n.asset.address||m.address,Y={chainId:y,tokenAddress:fe,symbol:S.getTokenByAddress(fe,y)?.symbol??n.asset.symbol,decimals:await bn(n.asset,fe,y,m)};if(!x||!b||!v||!C)return null;const Ce=w||g||b,be=(a?l?.amountInMax??0n:V)+(e.externalGasReserve?.feeAmount??0n);if(be===0n&&!e.feeOnlyAction)return null;const j=E?await cl({user:Ce,pivot:E,buildSupplyChainBatches:J=>B({...J,sourceGasSkimOverride:1n}),signal:t}):0n,Z=Date.now();let $=await ul({requiredNetFunding:be,feeOnlyAction:e.feeOnlyAction,buildBatches:J=>B({fundingAmountOverride:J,sourceGasSkimOverride:j}).then(ae=>Ki(zu(ae),Ce,void 0,{requestTimestampMs:Z})),fundingToken:fe,estimate:O,executionOptions:{userOverride:Ce,useCustomTransfers:!0,feeExecutionMode:f,signal:t},tokenDescriptor:Y});if(!$.preview)return null;let H=0n,me,ge,je=[],K=!1;for(let J=0;J<8;J++){if(t?.aborted)throw new Error("Fee estimation cancelled");if(je=Rn(await B({fundingAmountOverride:$.grossFundingAmount,sourceGasSkimOverride:j,onSourceSpend:ot=>{H=ot},onSourceAllocation:ot=>{me=ot},onActionCalls:ot=>{ge=ot}}),Ce,$.feeEstimate,{payoutAlreadyGross:!0,requestTimestampMs:Z}),me){const ot=u.getSupplyFeePreview($.feeEstimate,Y);if(!ot)throw new Error("The action quote is unavailable.");const ve=go(y,fe,[{recipient:S.SPICE_GAS_FEE_RECIPIENT,amount:ot.gasFee+(ot.bridgeFee??0n)},{recipient:S.SPICE_PLATFORM_FEE_RECIPIENT,amount:ot.spicenetFee}]).calls;je=ns(je,y,fe);const Ge=[...je].reverse().findIndex(at=>at.domain!=="spicenet"&&at.chainId===y),De=Ge<0?-1:je.length-Ge-1;if(De<0)throw new Error("The action quote is unavailable.");je[De]={...je[De],calls:[...ve,...je[De].calls]}}if(e.feeOnlyAction){K=!0;break}const ae=await O(je,fe,$.grossFundingAmount,{userOverride:Ce,useCustomTransfers:!0,feeExecutionMode:f,signal:t}),oe=f==="user-transfer"?vo(ae,$.feeEstimate):ae,ee=u.getSupplyFeePreview(oe,Y)??u.getEscrowFreeFeePreview(je,Y,be);if(!ee)return null;const Ae=be+ee.gasFee+ee.spicenetFee+(ee.bridgeFee??0n),te=u.getSupplyFeePreview($.feeEstimate,Y),Re=(te?.gasFee??0n)===ee.gasFee&&(te?.spicenetFee??0n)===ee.spicenetFee&&(te?.bridgeFee??0n)===(ee.bridgeFee??0n),We=$.grossFundingAmount===Ae&ℜif($={feeEstimate:oe,grossFundingAmount:Ae,preview:{...ee,grossAmount:Ae,netAmount:be}},We){K=!0;break}}if(!K)throw new Error("Payment fees did not converge. Refresh the quote before submitting.");if(!$.preview)return null;const M=E?en(j,E.source.decimals,E.destination.decimals,"ceil"):0n;return{...$,batches:je,sourceSpendCap:H,sourceAllocation:me,actionDefinition:ge,destinationAmount:V,preview:{...$.preview,grossAmount:$.preview.grossAmount+M,gasFee:$.preview.gasFee+M,totalFee:($.preview.totalFee??0n)+M},...E?{sourceGasSkim:j}:{}}}if(r<=0||!w)return null;const W=w||g;if(E&&!I)return null;const D=kr({isPayMode:s,selectedAsset:n,resolvedChainId:y,sourceSwap:I,pivot:E});if(!(!s&&!c&&n.asset?._source==="wallet"&&n.asset.chainId!==y)&&!k&&!A&&!N||N)return null;let F=await U();if(F.length===0)return null;const P={chainId:y,tokenAddress:R,symbol:S.getTokenByAddress(R,y)?.symbol??(n.asset.chainId===y&&u.addressesEqual(n.asset.address,R)?n.asset.symbol:m.symbol),decimals:await bn(n.asset,R,y,m)},q=D&&e.initialFeeEstimate!==void 0&&e.initialSourceGasSkim!==void 0,L=D?q?e.initialSourceGasSkim:await cl({user:W,pivot:E,buildSupplyChainBatches:U,signal:t}):0n;D&&L>0n&&(F=await U({sourceGasSkimOverride:L}));const ne=D?en(o?$i(I,L):I.amountOutMinimum,E.source.decimals,E.destination.decimals,"floor"):en(Vt(n.amount,n.asset.decimals),n.asset.decimals,P.decimals,"floor"),pe=e.quotedInclusivePlatformFee&&f==="user-transfer",ce={userOverride:W,useCustomTransfers:!0,feeExecutionMode:f,signal:t,...D?{skipUserFundingPreflight:!0}:{}};let X=ne,z=e.initialFeeEstimate??await O(F,R,X,pe?{...ce,feeExecutionMode:"backend-transfer"}:ce);pe&&!e.initialFeeEstimate&&(z=vo(z,{intents:[]},100n));for(let V=0;V<8;V++){if(t?.aborted)throw new Error("Fee estimation cancelled");const fe=u.getSupplyFeePreview(z,P)??u.getEscrowFreeFeePreview(F,P,X);if(!fe)return null;const Y=Ar(fe,ne,o,f,e.externalGasReserve?.feeAmount,e.quotedInclusivePlatformFee);X=Y.grossAmount;let Ce,be,j,Z,$,H;const me=await U({fundingAmountOverride:X,sourceGasSkimOverride:L,actionContextOverride:Y,onDestinationAmount:oe=>{Ce=oe},onSourceSpend:oe=>{be=oe},onSourceAllocation:oe=>{j=oe},onSwap:(oe,ee)=>{Z=oe,$=ee},onActionCalls:oe=>{H=oe}}),ge=pe?ns(await U({fundingAmountOverride:X,sourceGasSkimOverride:L,actionContextOverride:Y,deliveryAmountOverride:Y.netAmount,withdrawalAmountOverride:Y.netAmount}).then(oe=>{if(oe.length!==me.length)throw new Error("The withdrawal fee route changed. Refresh the quote before submitting.");return oe.map((ee,Ae)=>{const te=me[Ae];if(!te||te.chainId!==ee.chainId||te.domain!==ee.domain)throw new Error("The withdrawal fee route changed. Refresh the quote before submitting.");return ee.domain==="spicenet"?ee:{...ee,calls:te.calls}})}),y,R):void 0,[je,K]=await Promise.all([ge?dl({estimate:O,batches:me,pricingBatches:ge,tokenAddress:R,fundingAmount:X,options:ce}):O(me,R,X,{...ce,validateFeeCalls:e.initialFeeEstimate!==void 0}),q?u.relayerService.estimateBatchGas({user:W,outputToken:E.source.address,stepIndex:0,chainBatches:[me[0]],signal:t}):void 0]);if(K&&!(pe?K.gasFee<=L:f==="user-transfer"?u.feeAmountsWithinTolerance(L,K.gasFee,e.feeToleranceBps):K.gasFee===L))throw new Error("Source gas changed. Prepare a fresh fee quote.");const M=f==="user-transfer"?vo(je,z,pe?100n:0n):je,J=u.getSupplyFeePreview(M,P)??u.getEscrowFreeFeePreview(me,P,X);if(!J)return null;const ae=Ar(J,ne,o,f,e.externalGasReserve?.feeAmount,e.quotedInclusivePlatformFee);if(JSON.stringify(Y,(oe,ee)=>typeof ee=="bigint"?ee.toString():ee)===JSON.stringify(ae,(oe,ee)=>typeof ee=="bigint"?ee.toString():ee)||!pe&&f==="user-transfer"&&u.feeBreakdownsWithinTolerance(Y.feeBreakdown,ae.feeBreakdown,e.feeToleranceBps)){const oe=f==="user-transfer"?fe:J,ee=D?en(L,E.source.decimals,E.destination.decimals,"ceil"):0n;return{batches:me,feePricingBatches:ge,fundingAmount:X,actionContext:Y,sourceSpendCap:be,sourceAllocation:j,destinationAmount:Ce,destinationSwap:Z,swapInputAmount:$,actionDefinition:H,feeEstimate:f==="user-transfer"?z:M,sourceGasSkim:L,preview:{...oe,grossAmount:X+ee,netAmount:Y.netAmount,gasFee:oe.gasFee+ee,spicenetFee:Y.feeBreakdown.spicenetFee,totalFee:Y.combinedFeeAmount+ee}}}z=M,F=me}throw new Error("Fees did not converge. Refresh the quote before submitting.")}class Ir extends Error{constructor(t){super("Amount is too small to cover fees. Increase the amount and retry."),this.preview=t,this.name="FeeShortfallError"}}function Ar(e,t,n,s,o=0n,r=!1){const a=e.gasFee+(e.bridgeFee??0n)+o;if(e.gasQuoteSource==="static_zero"&&o===0n)return{grossAmount:t,netAmount:t,combinedFeeAmount:0n,feeExecutionMode:s??"backend-transfer",feeBreakdown:{gasFee:0n,bridgeFee:0n,spicenetFee:0n}};if(n&&r){const d=a+e.spicenetFee;if(t<=d)throw new Ir({...e,grossAmount:t,netAmount:0n,totalFee:d});return{grossAmount:t,netAmount:t-d,combinedFeeAmount:d,feeExecutionMode:s??"backend-transfer",feeBreakdown:{gasFee:e.gasFee,bridgeFee:e.bridgeFee??0n,spicenetFee:e.spicenetFee}}}const l=n?u.splitFeeInclusiveAmount(t,a,10n):null;if(l&&!l.coversFees)throw new Ir({...e,grossAmount:t,netAmount:0n,spicenetFee:0n,totalFee:a});const c=l?.spicenetFee??(s==="user-transfer"?u.calculateBpsFee(t,10n):e.spicenetFee);return{grossAmount:l?.grossAmount??t+c+a,netAmount:l?.netAmount??t,combinedFeeAmount:c+a,feeExecutionMode:s??"backend-transfer",feeBreakdown:{gasFee:e.gasFee,bridgeFee:e.bridgeFee??0n,spicenetFee:c}}}async function ep(e,t){if(e.feeQuote?.sourceAllocation){e.validateFeeQuote?.();const c=e.feeQuote.sourceAllocation;br(c,c.positions.map(d=>d.asset),e.embeddedWalletAddress??e.providerEmbeddedAddress??void 0,e.resolvedChainId);return}const n=e.selectedAsset?.asset;if(!n||n?._source!=="wallet")return;const s=sn(n,e.resolvedChainId);if(!s||!u.addressesEqual(s,e.executionTokenAddress))return;const o=await bn(n,e.executionTokenAddress,e.resolvedChainId,e.destinationToken),r=rs(t,o,n.decimals);if(r<=n.balance)return;const a=T.formatUnits(r,n.decimals),l=T.formatUnits(n.balance,n.decimals);throw new Error(`Insufficient ${n.symbol} for this total amount. Required ${a} ${n.symbol}; available ${l} ${n.symbol}.`)}function tp(e){const t=S.getTokenByAddress(e.executionTokenAddress,e.resolvedChainId);return{chainId:e.resolvedChainId,tokenAddress:e.executionTokenAddress,symbol:t?.symbol??e.destinationToken.symbol,decimals:t?.decimals??e.destinationToken.decimals}}function np(e){const t=e.selectedAsset.asset,n=Vt(e.selectedAsset.amount,t.decimals);if(n<=t.balance)return n;throw new Error(`Insufficient ${t.symbol} for this total amount. Required ${T.formatUnits(n,t.decimals)} ${t.symbol}; available ${T.formatUnits(t.balance,t.decimals)} ${t.symbol}.`)}function ml(e,t,n,s){const o=tp(t),r=u.getSupplyFeePreview(e,o)??u.getEscrowFreeFeePreview(s,o,n);if(r)return Ar(r,n,!!t.isFeeInclusiveInput,t.feeExecutionMode,0n,t.quotedInclusivePlatformFee)}function hl(e,t,n){let s=0n,o=0n;const r=n.toLowerCase();for(const a of e)if(a.chainId===t){for(const l of a.calls??[])if(l.to.toLowerCase()===r)try{const c=T.decodeFunctionData({abi:T.erc20Abi,data:l.data});if(c.functionName!=="transfer")continue;const d=c.args[0].toLowerCase(),m=c.args[1];d===S.SPICE_PLATFORM_FEE_RECIPIENT.toLowerCase()?s+=m:d===S.SPICE_GAS_FEE_RECIPIENT.toLowerCase()&&(o+=m)}catch{continue}}return{spicenetFee:s,gasFee:o}}function sp(e,t,n,s){const o=t.feeExecutionMode==="user-transfer"&&t.needsSwap&&t.resolvedTokenIn?t.resolvedTokenIn:t.executionTokenAddress,r=hl(e,t.resolvedChainId,o);return r.spicenetFee===0n&&n.feeBreakdown.spicenetFee>0n||r.gasFee===0n&&n.feeBreakdown.gasFee>0n?!1:u.feeAmountsWithinTolerance(r.spicenetFee,n.feeBreakdown.spicenetFee,t.feeToleranceBps)&&u.feeAmountsWithinTolerance(r.gasFee,n.feeBreakdown.gasFee,t.feeToleranceBps)&&u.feeAmountsWithinTolerance(s.feeBreakdown.bridgeFee,n.feeBreakdown.bridgeFee,t.feeToleranceBps)}function op(e,t,n){return e?u.amountsWithinBps(e.grossAmount,t.grossAmount,100n)&&u.feeBreakdownsWithinTolerance(e.feeBreakdown,t.feeBreakdown,n):!1}function rp(e,t){const n=S.getTokenByAddress(t,e.resolvedChainId);return{chainId:e.resolvedChainId,tokenAddress:t,symbol:n?.symbol??e.selectedAsset?.asset.symbol??"",decimals:n?.decimals??e.selectedAsset?.asset.decimals??e.destinationToken.decimals}}async function ap(e,t){const n=e.feeQuote;return n?.feeEstimate&&n.grossFundingAmount!==void 0?{grossFundingAmount:n.grossFundingAmount,feeEstimate:n.feeEstimate}:ul({...t,feeOnlyAction:e.feeOnlyAction,estimate:e.execution.estimate,tokenDescriptor:rp(e,t.fundingToken)})}function gl(e,t,n){const s=t instanceof Error?t:new Error(String(t));if(s.name==="AbortError"||n){e.ui.setStep("idle");return}const o=s.message||"Transaction failed";e.ui.setStep("error"),e.ui.setStatusMsg(o),e.ui.setError(o)}function xl(e,t){const n=u.sanitizeError(t,"Payment failed. Please try again.");e.ui.setError(n),e.ui.setPaymentResult({status:"failed",error:n})}async function yl(e){e.ui.setIsExecuting(!0),e.ui.setError(null),e.ui.setStep("executing"),e.ui.setStatusMsg("Confirm the transaction in your external wallet..."),e.ui.setTxHash(null),e.isPayMode&&(e.ui.setShowStatusPanel(!0),e.ui.setPaymentResult({status:"processing"}));try{if(e.validateFeeQuote?.(),!e.feeQuote?.batches||!e.feeQuote.actionDefinition)throw new Error("Review the direct action plan before submitting.");const t=await e.execution.execute(e.feeQuote.batches,e.destinationToken.address,0n,e.execution.onProgress);e.ui.setTxHash(t),e.ui.setStep("success"),e.ui.setStatusMsg("Transaction confirmed"),e.isPayMode&&e.ui.setPaymentResult({status:"success",txHash:t})}catch(t){e.isPayMode?xl(e,t):gl(e,t,!1)}finally{e.ui.setIsExecuting(!1)}}async function wl(e,t,n){e.validateFeeQuote?.();const s=e.feeQuote;if(!s.batches||s.sourceSpendCap===void 0||!s.fundingSource)throw new Error("Refresh the action before submitting.");const o=s.fundedFeeToken,r=s.grossFundingAmount??0n,a=Ji({...e,signal:n,feeOnlyAction:!0,destinationToken:o,actionProceeds:e.actionProceeds??{token:s.fundingSource.token,resolve:async()=>s.proceedsAvailable??0n}},o.address,r);return e.execution.execute(s.batches,s.fundingConversion?.tokenIn??s.fundingSource.token,r,t,n,{...a,userOverride:e.embeddedWalletAddress||e.providerEmbeddedAddress,useCustomTransfers:!0,feeExecutionMode:"backend-transfer",skipPreSubmitFeeEstimate:!0})}async function bl(e){if(!e.selectedAsset?.asset||e.parsedAmount<=0){e.ui.setError("Select an asset and enter an amount");return}if(e.isInsufficientBalance){e.ui.setError("Insufficient balance");return}if(e.directExternalAction)return yl(e);if(!e.embeddedWalletAddress){e.ui.setError("Wallet not ready");return}e.ui.setIsExecuting(!0),e.ui.setError(null),e.ui.setStep("signing-delegation"),e.ui.setStatusMsg("Building transaction..."),e.ui.setTxHash(null),e.refs.spiceDepositSubmittedRef.current=!1;const t=new AbortController;e.refs.abortControllerRef.current=t;try{const n=e.embeddedWalletAddress||e.providerEmbeddedAddress;if(e.feeQuote?.fundedFeeToken){const w=await wl(e,e.execution.onProgress,t.signal);e.ui.setTxHash(w),e.ui.setStep("success"),e.ui.setStatusMsg("Transaction confirmed");return}const s=kr(e);s&&np(e);const o=e.feeQuote?.batches?e.feeQuote:await Un({...e,feeExecutionMode:e.feeExecutionMode,isDirect:!e.needsSwap,isQuoting:!1,resolvedSwap:null,buildPayChainBatches:e.execution.buildPayChainBatches,buildSupplyChainBatches:e.execution.buildSupplyChainBatches,estimate:e.execution.estimate});if(!o?.batches||o.fundingAmount===void 0||!o.actionContext)throw new Error("A current action plan is required. Refresh the quote before submitting.");const r=e.isFeeInclusiveInput?o.actionContext.grossAmount:o.actionContext.netAmount;let a=o.batches;const l=a.some(w=>w.tokenTransfers?.length),c={userOverride:n,useCustomTransfers:l,feeExecutionMode:e.feeExecutionMode,...s?{skipUserFundingPreflight:!0}:{}},d=o.fundingAmount,m=o.actionContext;await ep(e,d);const f=m,h=await e.execution.execute(a,e.executionTokenAddress,l?d:0n,e.execution.onProgress,t.signal,e.feeExecutionMode==="user-transfer"?{...c,skipUserFundingPreflight:!0,adjustBatchesForEstimate:async({feeEstimate:w,chainBatches:g})=>{if(o.feePricingBatches){e.validateFeeQuote?.();const v=await dl({estimate:e.execution.estimate,batches:g,pricingBatches:o.feePricingBatches,tokenAddress:e.executionTokenAddress,fundingAmount:d,options:{...c,signal:t.signal},signedEstimate:w});e.validateFeeQuote?.();const C=ml(v,e,r,g),k=f.feeBreakdown,A=hl(g,e.resolvedChainId,e.executionTokenAddress);if(!C||C.feeBreakdown.spicenetFee!==k.spicenetFee||C.feeBreakdown.gasFee>k.gasFee||C.feeBreakdown.bridgeFee>k.bridgeFee||A.spicenetFee!==k.spicenetFee||A.gasFee!==k.gasFee+k.bridgeFee)throw new Error("Transaction fees changed. Refresh the quote before submitting.");return null}const y=ml(o.feeEstimate?vo(w,o.feeEstimate):w,e,r,g);if(!y)throw new Error("Unable to validate the accepted fees. Refresh the quote before submitting.");const x=op(f,y,e.feeToleranceBps),b=sp(g,e,y,f);if(x||b)return null;throw new Error("Transaction fees changed. Refresh the quote before submitting.")}}:{...c,skipPreSubmitFeeEstimate:!0});e.ui.setTxHash(h),e.ui.setStep("success"),e.ui.setStatusMsg("Deposit confirmed")}catch(n){gl(e,n,t.signal.aborted)}finally{e.ui.setIsExecuting(!1)}}async function vl(e){if(e.parsedAmount<0){e.ui.setError("Enter a valid payment amount");return}const t=e.parsedAmount===0;if(!e.selectedAsset?.asset&&!t){e.ui.setError("Select a payment source");return}if(e.isInsufficientBalance){e.ui.setError("Insufficient balance");return}if(e.parsedAmount>0&&e.needsSwap&&!e.exactOutputSwap){e.ui.setError("Swap quote not available. Try a different asset.");return}if(e.directExternalAction)return yl(e);const n=nl(e)&&!t,s=n?e.feeQuote?.sourceGasSkim??0n:0n,o=r=>e.execution.buildPayChainBatches(n?{...r,sourceGasSkimOverride:s}:r);if(!e.isConnected||!e.address){e.ui.setError("Please connect your wallet to continue");return}if(!e.ready||!e.authenticated){e.ui.setError(`Please authenticate with ${e.provider||"wallet provider"} to continue`);return}e.ui.setIsExecuting(!0),e.ui.setError(null),e.ui.setShowStatusPanel(!0),e.ui.setPaymentResult({status:"processing"});try{if(e.feeQuote?.fundedFeeToken){const C=await wl(e,k=>{k.txHash&&(e.ui.setTxHash(k.txHash),e.ui.setPaymentResult({status:"processing",txHash:k.txHash}))});e.ui.setPaymentResult(k=>({status:"success",txHash:k?.txHash||C}));return}const r=Vt(e.currentPaymentAmount,e.destinationToken.decimals),a={useCustomTransfers:!0,feeExecutionMode:e.feeExecutionMode,...n?{skipUserFundingPreflight:!0}:{}};if(t&&!e.feeOnlyAction){const C=await o(),k=await e.execution.execute(C,e.executionTokenAddress,0n,A=>{A.txHash&&(e.ui.setPaymentResult(I=>({...I??{status:"processing"},txHash:A.txHash})),e.ui.setTxHash(A.txHash))},void 0,a);e.ui.setPaymentResult(A=>({status:"success",txHash:A?.txHash||k}));return}const l=e.selectedAsset?.asset,c=e.feeQuote?.fundingSource;if(!l&&!e.actionProceeds&&!c)throw new Error("Select a payment source");const d=e.feeQuote?.fundingConversion?.tokenIn||c?.token||e.resolvedTokenIn||l?.address||e.destinationToken.address,m=e.needsSwap?e.exactOutputSwap?.amountInMax??0n:r,f=e.embeddedWalletAddress||e.providerEmbeddedAddress||e.address,h=!!e.feeQuote?.fundingConversion||!!c&&(c.kind!=="balance"||c.asset?._source==="wallet"),{grossFundingAmount:w,feeEstimate:g}=h?{grossFundingAmount:e.feeQuote.grossFundingAmount??0n,feeEstimate:void 0}:await ap(e,{requiredNetFunding:m,buildBatches:C=>e.execution.buildPayChainBatches({fundingAmountOverride:C}).then(k=>Rn(k,f)),fundingToken:d,executionOptions:a});let y=e.feeQuote?.fundingBatches??e.feeQuote?.batches??Rn(await o({fundingAmountOverride:w}),f,e.actionProceeds?void 0:g,{payoutAlreadyGross:!0});const x=Ji(e,e.feeQuote?.fundingConversion?.tokenOut??d,w);x.prepareForSigning&&(y=await x.prepareForSigning(y));const b=y.some(C=>C.tokenTransfers?.length),v=await e.execution.execute(y,d,b?w:0n,C=>{C.txHash&&(e.ui.setPaymentResult(k=>({...k,txHash:C.txHash})),e.ui.setTxHash(C.txHash))},void 0,{...a,...x,skipPreSubmitFeeEstimate:!0});e.ui.setPaymentResult(C=>({status:"success",txHash:C?.txHash||v}))}catch(r){xl(e,r)}finally{e.ui.setIsExecuting(!1)}}async function Cl(e){const{quote:t,recipient:n,chainId:s,token:o}=e,r=t.batches?kl(t.batches,o,s,n):0n;if(r<=0n)throw new Error("The route does not deliver the action amount to the external wallet.");const a={userAddress:n,executorAddress:n,beneficiary:e.beneficiary??n,chainId:s,destinationToken:o,feeToken:o,grossAmount:r,netAmount:r,combinedFeeAmount:0n,feeExecutionMode:e.feeExecutionMode,feeBreakdown:{spicenetFee:0n,gasFee:0n,bridgeFee:0n}},l=await e.buildCalls(r,a);if(!l.length)throw new Error("No action calls configured.");return{amount:r,context:a,calls:l.map(c=>({...c}))}}function ip(e,t,n){const s=[],o=(r,a,l)=>{l>0n&&s.push(S.isNativeToken(r)?{to:a,value:l,data:"0x"}:{to:r,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[a,l]})})};return t.feeExecutionMode==="user-transfer"&&t.feeBreakdown&&(o(t.feeToken??t.destinationToken,S.SPICE_PLATFORM_FEE_RECIPIENT,t.feeBreakdown.spicenetFee),o(t.feeToken??t.destinationToken,S.SPICE_GAS_FEE_RECIPIENT,t.feeBreakdown.gasFee+t.feeBreakdown.bridgeFee)),o(t.destinationToken,n,e),s}function kl(e,t,n,s){let o=0n;for(const r of e)if(r.chainId===n){for(const a of r.calls)if(u.addressesEqual(a.to,t))try{const l=T.decodeFunctionData({abi:T.erc20Abi,data:a.data});l.functionName==="transfer"&&u.addressesEqual(l.args[0],s)&&(o+=l.args[1])}catch{}}return o}async function lp(e){if(!/^0x[0-9a-f]{64}$/i.test(e.hash))throw new Error("The external delivery receipt is unavailable.");const t=u.getClientForChain(e.chainId),n=await t.getTransactionReceipt({hash:e.hash});if(n.status!=="success"||!u.addressesEqual(n.transactionHash,e.hash))throw new Error("The external delivery receipt was not successful.");let s=0n;for(const o of n.logs)if(u.addressesEqual(o.address,e.token))try{const r=T.decodeEventLog({abi:T.erc20Abi,eventName:"Transfer",data:o.data,topics:o.topics});u.addressesEqual(r.args.to,e.recipient)&&u.addressesEqual(r.args.from,e.sender)&&(s+=r.args.value)}catch{}if(s!==e.amount)throw new Error("The received external amount does not match the accepted action.");if(await t.readContract({address:e.token,abi:T.erc20Abi,functionName:"balanceOf",args:[e.recipient]})<e.amount)throw new Error("The external wallet no longer holds the delivered action amount.")}async function Sl(e){const{definition:t,account:n,chainId:s}=e,{calls:o}=t;if(!u.addressesEqual(t.context.executorAddress,n)||t.context.chainId!==s||!o.length)throw new Error("The direct action no longer matches its wallet or chain.");const r=u.getClientForChain(s);let a;for(const l of o){await e.assertCurrent();const[c,d]=await Promise.all([Ai({client:r,account:n,calls:[l]}),r.getBalance({address:n})]);if(d<l.value+c)throw new Error("The external wallet has insufficient native balance for this transaction and network gas.");await e.assertCurrent();const{extWc:m,viemChain:f}=await rr({wallet:e.wallet,account:n,chainId:s});await e.assertCurrent(),a=await tu({extWc:m,viemChain:f,client:r,calls:[l],errorMessage:"The external transaction reverted. Retry the unfinished action when ready."})}if(!a)throw new Error("The direct action has no confirmed receipt.");return a}async function Il(e){const{asset:t,embedded:n,external:s,amount:o}=e;if(!s||!e.externalWallet)throw new Error("Connect the source wallet before funding.");if(o<=0n)return;const r=u.getClientForChain(t.chainId),a=t.isNative||S.isNativeToken(t.address),[l,c]=await Promise.all([Ei({client:r,account:s,recipient:n,token:t.address,isNative:a,amount:o}),r.getBalance({address:s})]);if(c<l+(a?o:0n))throw new Error("The source wallet has insufficient native balance for funding and gas.");const{extWc:d,viemChain:m}=await rr({wallet:e.externalWallet,account:s,chainId:t.chainId});await nu({extWc:d,sourceClient:r,recipient:n,tokenAddr:t.address,isNative:a,amount:o,viemChain:m,observer:{onSending:()=>e.assertCurrent()}})}function Al(e){const t=p.useContext(u.SpiceFlowProviderContext),n=u.getChainConfig(e.chainId),s=e.address??n?.supportedTokens?.find(g=>g.symbol.toLowerCase()===e.symbol?.toLowerCase())?.address,o=e.symbol??(s&&S.isNativeToken(s)?n?.nativeCurrency?.symbol:n?.supportedTokens?.find(g=>!!s&&u.addressesEqual(g.address,s))?.symbol),r=u.getRpcUrlForChain(e.chainId,t?.rpcOverrides),[a,l]=p.useState(0),c=`${e.chainId}:${s?.toLowerCase()}:${r}:${e.decimals??""}:${o??""}:${a}`,[d,m]=p.useState(null);p.useEffect(()=>{let g=!1;if(!(!e.enabled||!s||!r?.trim()))return Promise.all([e.decimals??u.getTokenDecimals(e.chainId,s,t?.rpcOverrides),o??dn.readContract(u.getClientForChain(e.chainId,t?.rpcOverrides),{address:s,abi:T.erc20Abi,functionName:"symbol"}).catch(()=>{})]).then(([y,x])=>{if(!Number.isInteger(y)||y<0||y>255)throw new Error("Invalid destination token decimals");g||m({key:c,decimals:y,symbol:x})}).catch(y=>{g||m({key:c,error:y.message})}),()=>{g=!0}},[e.enabled,c]);const f=d?.key===c?d:null,h=p.useMemo(()=>({address:s??S.ZERO_ADDRESS,chainId:e.chainId,decimals:f?.decimals??0,symbol:o??f?.symbol??(s?u.truncateAddress(s):""),logoURI:e.logoURI}),[s,e.chainId,f?.decimals,f?.symbol,o,e.logoURI]),w=e.enabled?s?r?.trim()?f?.error??null:`Configure SpiceFlowProvider rpcOverrides[${e.chainId}] before continuing.`:"Configure the destination token address before continuing.":null;return{token:h,error:w,ready:e.enabled&&!!s&&!!r?.trim()&&f?.decimals!==void 0,refresh:p.useCallback(()=>l(g=>g+1),[])}}function El(e,t){const n=!!e&&e.symbol!==void 0&&e.decimals!==void 0,s=Al({enabled:t&&!!e&&!n,chainId:e?.chainId??0,address:e?.address,decimals:e?.decimals,symbol:e?.symbol,logoURI:e?.logoURI});return{token:e?n?e:s.ready?s.token:void 0:void 0,error:s.error}}const Er={address:S.ZERO_ADDRESS,symbol:"",decimals:18,chainId:0};function Fl(e,t,n){return u.addressesEqual(e.address,t)&&e.chainId===n?e._source==="wallet"?0:1:2}function cp(e,t,n,s){const o=Fl(e,n,s)-Fl(t,n,s);return o!==0?o:(t.balanceUsd||0)-(e.balanceUsd||0)}const dp=Na;function Tl(e){const t=p.useContext(u.SpiceFlowProviderContext),n=u.useProviderWallets(),s=t?.embeddedWalletAddress||n.embeddedAddress,o=t?.externalWalletAddress||n.externalAddress,r=(t?.mode||"7702")!=="7702",a=e.destinationToken??Er,l=e.enabled&&!!e.destinationToken,c=Xn({...e,owner:s,enabled:l&&!!s&&(!r||e.includeCrossChainEmbeddedAssets!==!1),role:"spend-source",destination:e.destinationToken}),d=Xn({...e,owner:o,enabled:l&&!!o&&(r||e.includeExternalWalletAssets!==!1),role:"spend-source",destination:e.destinationToken});return{displayAssets:p.useMemo(()=>[...c.assets,...d.assets].sort((m,f)=>cp(m,f,a.address,a.chainId)),[c.assets,d.assets,a.address,a.chainId]),filteredSpiceAssets:c.rollupAssets,walletAssets:[...c.walletAssets,...d.walletAssets],embeddedWalletAddress:s,externalAddress:o,isNon7702:r,refreshSpiceAssets:c.refresh,refreshWalletAssets:c.refresh,loading:c.loading||d.loading,refreshing:c.refreshing||d.refreshing,error:c.error||d.error}}function up(e,t){return!e||e._source!=="wallet"?null:Lo(e,t)}function Fr(e){return ma({aerodrome:!1,oneInch:{chainIds:[]},customVenues:e})}const Tr=Pn(),pp=Fr(Tr.input);function Bl(e){return{venue:"mapped-transfer",amountOut:e,amountOutMinimum:e,calls:[]}}function Rl(e){return{venue:"mapped-transfer",amountIn:e,amountInMax:e,amountOut:e,calls:[]}}async function Br(e){if(u.addressesEqual(e.tokenIn,e.tokenOut))return Bl(e.amountIn);if(e.resolveInputSwap){const n=await e.resolveInputSwap({type:"swap",tokenIn:e.tokenIn,tokenOut:e.tokenOut,amountIn:e.amountIn,maxSlippage:e.maxSlippage},e.chainId,e.recipient);if(n)return n}const t=await(e.liquidityVenues?Fr(Pn(e.liquidityVenues).input):pp).resolveSwap({type:"swap",tokenIn:e.tokenIn,tokenOut:e.tokenOut,amountIn:e.amountIn,maxSlippage:e.maxSlippage},e.chainId,e.recipient,e.selectedSwap);if(!t)throw new Error("No liquidity for this pair.");return t}async function fp(e){return u.addressesEqual(e.tokenIn,e.tokenOut)?Rl(e.amountOut):js({customVenues:e.liquidityVenues?Pn(e.liquidityVenues).output:Tr.output}).getQuote({tokenIn:e.tokenIn,tokenOut:e.tokenOut,amountOut:e.amountOut,maxSlippage:e.maxSlippage},e.chainId,e.recipient)}function jl(e){const{enabled:t=!0,direction:n,selectedAsset:s,destinationToken:o,chainId:r=o.chainId,recipient:a,paymentAmount:l,maxSlippage:c,refreshIntervalMs:d,resolveInputSwap:m,resolveExactOutputSwap:f}=e,h=p.useContext(u.SpiceFlowProviderContext),w=h?.liquidityVenues,g=JSON.stringify([h?.network,h?.apiUrl,h?.rpcOverrides]),[y,x]=p.useState(!1),[b,v]=p.useState(null),[C,k]=p.useState(null),[A,I]=p.useState(null),[E,N]=p.useState(null),[R,B]=p.useState(null),[U,O]=p.useState(null),[W,D]=p.useState(null),[F,P]=p.useState(null),[q,L]=p.useState(null),[ne,pe]=p.useState(null),[ce,X]=p.useState(null),[z,V]=p.useState(null),[fe,Y]=p.useState(null),[Ce,be]=p.useState(0),[j,Z]=p.useState(null),[$,H]=p.useState(null),me=p.useRef(null),ge=p.useRef(null),je=p.useRef(0),K=p.useRef(new Map),M=p.useCallback(()=>{je.current++,K.current.clear(),H(null),be(Ee=>Ee+1)},[]),J=d&&d>0?d:null,ae=w?JSON.stringify(w):"",oe=p.useMemo(()=>w?Pn(w):Tr,[ae]),ee=p.useMemo(()=>Fr(oe.input),[oe]),Ae=p.useMemo(()=>js({customVenues:[...f?[{name:"consumer-exact-output",chainIds:[r],preferred:!0,resolve:f}]:[],...oe.output]}),[f,r,oe]);p.useEffect(()=>{K.current.clear()},[Ae]);const te=p.useMemo(()=>t?up(s?.asset,r):null,[t,s?.asset,r]),Re=p.useMemo(()=>{if(!t||!s?.asset)return null;if(te)return te.destination.address;const Ee=sn(s.asset,r);if(Ee)return Ee;const st=kn(s.asset.address,r,s.asset.chainId);return st?st.address:null},[t,s?.asset,r,te]),We=p.useMemo(()=>t&&s?.asset?Kn(s.asset,r):[],[t,s?.asset,r]),ot=p.useMemo(()=>We.map(Ee=>Ee.toLowerCase()).join(","),[We]),ve=JSON.stringify([t,g,s?.asset.owner,s?.asset.location,s?.asset.receiptTokenId,s?.asset.address,s?.asset.chainId,s?.asset.decimals,s?.amount,r,ot,n,l]);p.useEffect(()=>{let Ee=!1;if(ge.current&&(clearTimeout(ge.current),ge.current=null),!t||!s?.asset||te||We.length<=1){V(null),Y(null);return}return ge.current=setTimeout(async()=>{const st=n==="input"?s.amount:l||"0";let Je=0n;try{Je=n==="input"?Vt(st,s.asset.decimals):0n}catch{Je=0n}try{const ft=await ja(s.asset,r,{requiredAmount:Je});Ee||(V(ft),Y(ve))}catch{Ee||V(null)}},400),()=>{Ee=!0,ge.current&&(clearTimeout(ge.current),ge.current=null)}},[ve]);const Ge=p.useMemo(()=>(fe===ve?z:null)??Re,[z,fe,ve,Re]),De=p.useMemo(()=>!s?.asset||!Ge?[]:[Ge,...We.filter(Ee=>Ee.toLowerCase()!==Ge.toLowerCase())],[s?.asset,Ge,We]),at=p.useMemo(()=>!s?.asset||!gs(s.asset.address,s.asset.chainId,o.address,o.chainId)||!Ge?!1:u.addressesEqual(Ge,o.address),[s,o.address,o.chainId,Ge]),Pe=Ge?u.addressesEqual(Ge,o.address):!1,it=n==="output"&&parseFloat(l||"0")===0,nt=t&&!!s?.asset&&!at&&!Pe&&!it,xt=JSON.stringify([t,ae,n,nt,g,s?.asset.owner,s?.asset.location,s?.asset.receiptTokenId,s?.asset.address,s?.asset.chainId,s?.asset.decimals,n==="input"?s?.amount:l,De.map(Ee=>Ee.toLowerCase()),r,o.address.toLowerCase(),o.chainId,o.decimals,a?.toLowerCase(),c,J,te?.source.address.toLowerCase()??""]),Ke=p.useMemo(()=>({}),[xt,ee,Ae,m,Ce]),lt=$?.request===Ke&&(!J||$.expiresAt>Date.now());return p.useEffect(()=>{if(!J||$?.request!==Ke)return;const Ee=setTimeout(M,Math.max(0,$.expiresAt-Date.now()));return()=>clearTimeout(Ee)},[J,$,Ke,M]),p.useEffect(()=>{me.current&&clearTimeout(me.current),Z(Ke),H(null),v(null);const Ee=n==="input"?s?.amount:l,st=parseFloat(Ee||"0");if(!t||!Number.isFinite(st)||st<=0||!s?.asset||!a||De.length===0){je.current++,k(null),I(null),N(null),B(null),O(null),D(null),P(null),X(null),v(null),x(!1);return}const Je=s.asset.decimals;let ft;try{ft=n==="input"?Vt(s.amount,Je):Vt(l||"0",o.decimals)}catch(Le){je.current++,v(Le instanceof Error?Le.message:"Invalid amount or token precision"),x(!1);return}const yt=++je.current,Xe=()=>yt!==je.current;x(!0);const ct=n==="output"?150:100,Ue=async(Le,ie,ue,Te={chainId:r,tokenOut:o.address,amountIn:ft},Be=De)=>{for(const de of Be){const Oe=`${g}:${ae}:${n}:${Te.chainId}:${de.toLowerCase()}:${Te.tokenOut.toLowerCase()}:${Te.amountIn.toString()}:${a.toLowerCase()}:${c??"default"}:${J??"default"}`,le=K.current.get(Oe),se=le&&le.expiresAt>Date.now()?Le(le):void 0;if(se)return{quote:se,tokenIn:de,expiresAt:le.expiresAt};const Qe=await ue(de);if(Xe())return"stale";if(!Qe)continue;const Ne=Date.now()+Math.min(J??3e4,3e4);return K.current.set(Oe,{expiresAt:Ne,direction:n,...ie(Qe)}),{quote:Qe,tokenIn:de,expiresAt:Ne}}return null},rt=Le=>Ue(ie=>ie.resolvedSwap,ie=>({resolvedSwap:ie}),async ie=>{const ue=!te&&Le.chainId===r&&s.asset._source!=="wallet",Te=ue?await bn(s.asset,ie,Le.chainId,o):Je;if(Xe())return null;const Be=ue?_n(Le.amountIn,Je,Te):Le.amountIn;if(u.addressesEqual(ie,Le.tokenOut))return Bl(Be);const de={type:"swap",tokenIn:ie,tokenOut:Le.tokenOut,amountIn:Be,maxSlippage:c};if(m){const Oe=await m(de,Le.chainId,a);if(Oe)return Oe}return ee.resolveSwap(de,Le.chainId,a)},Le,Le.candidates);return me.current=setTimeout(async()=>{try{if(n==="input"){let Le=null,ie=ft;if(te){if(Le=await rt({chainId:te.source.chainId,tokenOut:te.source.address,amountIn:ft,candidates:[s.asset.address]}),Le==="stale"||Xe())return;if(!Le)throw new Error("No liquidity for this pair");ie=en(Le.quote.amountOutMinimum,te.source.decimals,te.destination.decimals,"floor")}const ue=nt||!te?await rt({chainId:r,tokenOut:o.address,amountIn:ie,candidates:De}):null;if(ue==="stale"||Xe())return;if(nt&&!ue)throw new Error("No liquidity for this pair");const Te=ue?ue.quote.amountOut:ie,Be=Math.min(ue?.expiresAt??1/0,Le?.expiresAt??1/0),de=te?.destination.decimals??await bn(s.asset,ue.tokenIn,r,o),Oe=!te&&s.asset._source!=="wallet"?_n(ie,Je,de):ie;if(Xe())return;X(ue?.tokenIn??te?.destination.address??null),H({request:Ke,key:`${T.keccak256(T.toHex(xt))}:${yt}`,expiresAt:Be}),P(Te),L(Oe),pe(de),N(nt?ue?.quote??null:null),B(Le?.quote??null),O(null),D(null);const le=parseFloat(T.formatUnits(Te,o.decimals));k(le<.01?le.toPrecision(4):le.toLocaleString(void 0,{maximumFractionDigits:6})),I(null),v(null)}else{const Le=Oe=>Ue(le=>le.exactOutputSwap,le=>({exactOutputSwap:le}),async le=>{try{return u.addressesEqual(le,Oe.tokenOut)?Rl(Oe.amountOut):await Ae.getQuote({tokenIn:le,tokenOut:Oe.tokenOut,amountOut:Oe.amountOut,maxSlippage:c},Oe.chainId,a)}catch{return null}},{chainId:Oe.chainId,tokenOut:Oe.tokenOut,amountIn:Oe.amountOut},Oe.candidates),ie=!te||nt,ue=ie?await Le({chainId:r,tokenOut:o.address,amountOut:ft,candidates:De}):null;if(ue==="stale"||Xe())return;if(ie&&!ue)throw new Error("No liquidity for this pair");let Te=null;if(te){const Oe=ue?ue.quote.amountInMax:ft;if(Te=await Le({chainId:te.source.chainId,tokenOut:te.source.address,amountOut:en(Oe,te.destination.decimals,te.source.decimals,"ceil"),candidates:[s.asset.address]}),Te==="stale"||Xe())return;if(!Te)throw new Error("No liquidity for this pair")}const Be=Te?Je:await bn(s.asset,ue.tokenIn,r,o);if(Xe())return;X(ue?.tokenIn??te?.destination.address??null),H({request:Ke,key:`${T.keccak256(T.toHex(xt))}:${yt}`,expiresAt:Math.min(ue?.expiresAt??1/0,Te?.expiresAt??1/0)}),D(ue?.quote??null),O(Te?.quote??null),N(null),B(null),P(null);const de=Te?.quote.amountIn??ue.quote.amountIn;I(T.formatUnits(de,Be)),k(null),v(null)}}catch(Le){if(Xe())return;const ie=Le instanceof Error?Le.message:"Failed to get quote";v(ie),k(null),I(null),N(null),B(null),O(null),D(null),P(null),X(null)}finally{Xe()||x(!1)}},nt||te?ct:0),()=>{je.current++,me.current&&clearTimeout(me.current)}},[Ke]),{inputAmount:lt&&n==="input"?q:null,inputDecimals:lt&&n==="input"?ne:null,quoteKey:lt?$.key:null,quoteExpiresAt:lt?$.expiresAt:null,refreshQuote:M,isQuoting:j===Ke?y:nt||!!te,quoteError:j===Ke?b:null,estimatedOutput:lt?C:null,estimatedInput:lt?A:null,resolvedSwap:lt?E:null,exactOutputSwap:lt?W:null,quoteAmountOut:lt?F:null,resolvedTokenIn:nt&<?ce??Ge:Ge,isDirect:Pe,needsSwap:nt,selectedIsEquivalent:at,sourceSwap:lt?R:null,sourceExactOutputSwap:lt?U:null,pivot:te}}function Os(e){const{enabled:t=!0,destinationToken:n,selectedAsset:s,paymentAmount:o="0",sourceChains:r,supportedSourceAssets:a,buildActionCalls:l,feeExecutionMode:c="user-transfer",buildSpicenetBatch:d,onPayExecute:m,resolveExactOutputSwap:f,amountDirection:h=e.feeOnlyAction?"output":"input",onSuccess:w,onError:g}=e,y=El(n,t),x=y.token??Er,b=t&&!!y.token,v=h==="output",C=h==="input-inclusive",k=e.feeFunding?.length!==0&&(e.actionProceeds==="output"||!!e.feeFunding?.length),A=v?"output":"input",I=x.chainId,E=p.useContext(u.SpiceFlowProviderContext),N=u.resolveFeeToleranceBps(E?.feeToleranceBps),R=E?.mode||"7702",B=!1,U=!!E?.isWhitelistGateActive,O=!!E?.isWhitelistConfigured&&E?.isUserWhitelisted!==!0,W=p.useMemo(()=>r??E?.supportedChainIds??[],[r,E?.supportedChainIds]),D=a,{address:F,isConnected:P,isReady:q,isAuthenticated:L,provider:ne}=u.useWallet(),{execute:pe,estimate:ce}=Ss(),{externalWallet:X,embeddedAddress:z,activeWallet:V,activeAddress:fe}=u.useProviderWallets(),Y=E?.externalWalletAddress,Ce=E?.embeddedWalletAddress||z,be=pr(Ce,t),j=s,Z=$s(j?.asset,R!=="7702"),$=!!j&&j.asset.chainId===x.chainId&&u.addressesEqual(S.normalizeNativeTokenAddress(j.asset.address),S.normalizeNativeTokenAddress(x.address)),H=(R!=="7702"||e.actionExecution?.wallet==="external")&&Z&&$&&(!v||Number(o)>0)&&!e.feeOnlyAction&&!e.actionProceeds,me=Z&&!H,ge=e.actionExecution?.wallet==="external"&&!H,je=ge?[x.chainId,...j?.asset._source==="wallet"?[j.asset.chainId]:[]].find(G=>!E?.rpcOverrides?.[G]):void 0,K=y.error?y.error:m?"Move onPayExecute protocol calls to buildActionCalls and application updates to onSuccess before continuing.":ge&&(v&&!(Number(o)>0)||e.feeOnlyAction||e.actionProceeds||e.prependSourceEscrow||S.isNativeToken(x.address))?"External wallet execution requires a positive ERC20 supply or payment with SDK-managed funding.":je!==void 0?`Configure rpcOverrides for chain ${je} before routing to the external caller.`:null,M=p.useMemo(()=>ge&&Y?(G,he)=>ip(G,he,Y):l,[ge,Y,l]),{displayAssets:J,filteredSpiceAssets:ae,walletAssets:oe,embeddedWalletAddress:ee,refreshSpiceAssets:Ae,refreshWalletAssets:te,loading:Re,refreshing:We,error:ot}=Tl({address:F,destinationToken:x,supportedSourceAssets:D,sourceChains:W,additionalSourceTokens:[...e.additionalSourceTokens??[],...j?.asset._source==="wallet"?[{address:j.asset.address,chainId:j.asset.chainId,decimals:j.asset.decimals,symbol:j.asset.symbol,name:j.asset.name,logoURI:j.asset.logoURI}]:[]],includeExternalWalletAssets:e.includeExternalWalletAssets,includeCrossChainEmbeddedAssets:e.includeCrossChainEmbeddedAssets,enabled:b&&(R!=="7702"?!!Y:!!Ce)}),ve=!!e.combineSourceBalances,Ge=JSON.stringify([...oe,...ae],(G,he)=>typeof he=="bigint"?he.toString():he),De=p.useMemo(()=>[...oe,...ae],[Ge]),at=ve?JSON.stringify([Ce,I,Ge]):"",Pe=p.useCallback((G,he)=>{if(!ve)return;const He=De.find(Ve=>ye(Ve)===ye(G));return He?Qi(He,De,Ce??void 0,I,void 0,he):void 0},[ve,De,Ce,I]),it=p.useCallback(G=>!ve||G.owner?.toLowerCase()!==Ce?.toLowerCase()||G.chainId!==I?!1:De.some(he=>he.owner?.toLowerCase()===G.owner?.toLowerCase()&&he.chainId===I&&(G.location==="embedded"&&he.location==="rollup"&&Object.keys(he.chainTokens??{}).some(He=>He.toLowerCase()===`evm:${I}:${G.address.toLowerCase()}`)||G.location==="rollup"&&he.location==="embedded"&&Object.keys(G.chainTokens??{}).some(He=>He.toLowerCase()===`evm:${I}:${he.address.toLowerCase()}`))),[ve,Ce,I,De]),nt=p.useCallback(G=>{if(!ve)return G.balance;const he=De.find(He=>ye(He)===ye(G));if(!(!he||he.balanceError||he.balanceStatus==="stale"))return it(he)?Pe(he)?.availableBalance:he.balance},[ve,De,it,Pe]),xt=p.useMemo(()=>{if(!ve)return J;const G=new Set;return J.filter(he=>{const He=Pe(he);if(!He)return!0;const Ve=ye(He.escrow);return G.has(Ve)?!1:(G.add(Ve),!0)})},[J,ve,Pe]),Ke=k||e.feeFunding?.length!==0&&v&&!!j&&!!Pe(j.asset),lt=p.useMemo(()=>e.feeOnlyAction||Ke?J.filter(G=>G.balance>0n&&G.location!=="external"&&(G._source==="spice"||G._source==="wallet"&&G.chainId===I)):[],[J,e.feeOnlyAction,Ke,I]),Ee=j?[...oe,...ae].find(G=>ye(G)===ye(j.asset)):void 0,st=p.useMemo(()=>j&&Ee?{...j,asset:Ee}:j,[j,Ee]),Je=j?En(Ee??j.asset,"spend-source",{allowedTokens:E?.allowedTokens,rpcOverrides:E?.rpcOverrides,liquidityVenues:E?.liquidityVenues,isWhitelistGateActive:U},x,D):null,ft=Ee?Pe(Ee):void 0,yt=ve?Ee?nt(Ee):void 0:j?.asset.balance,Xe=j&&it(j.asset)?yt??0n:Ee?Ee.balance<(j?.asset.balance??0n)?Ee.balance:j.asset.balance:0n,[ct,Ue]=p.useState(!1),[rt,Le]=p.useState(!1),ie=p.useRef(!1),ue=p.useRef(!1),Te=p.useRef(!0);p.useLayoutEffect(()=>(Te.current=!0,()=>{Te.current=!1}),[]);const[Be,de]=p.useState(null),Oe=p.useRef(g);Oe.current=g;const le=p.useCallback(G=>{de(G),typeof G=="string"&&G&&Oe.current?.(new Error(G),u.getRelayerErrorDetail(G))},[]),[se,Qe]=p.useState("idle"),[Ne,pt]=p.useState(""),[jt,It]=p.useState(null),[Ie,_e]=p.useState(!1),[vt,Et]=p.useState(null),[dt,Dt]=p.useState(null),[Dn,mt]=p.useState(!1),[rn,Ft]=p.useState(!1),[Lt,Ct]=p.useState(null),Qt=p.useRef(j),Pt=p.useRef(!1),Mt=p.useRef(null),Gt=p.useRef(null),ht=p.useRef(null),Fe=p.useRef(null),kt=p.useRef(null),qt=p.useRef(null),Kt=p.useRef(w),Ot=p.useRef(null),Me=p.useRef(!1),[Jt,zt]=p.useState(null),[Nt,$t]=p.useState(null),[an,Sn]=p.useState(!1),[In,fn]=p.useState(0),Ht=vt?.status==="success"?vt.txHash:se==="success"?jt:null,Tt=!!Ht&&Jt!==Ht,re=p.useRef(Tt);re.current=Tt,p.useEffect(()=>{Qt.current=j},[j]);const _=H?Y:ee||z||F,Se=b&&!ct&&se==="idle"&&!K&&!O&&!!_&&!H&&!v&&C&&c==="user-transfer"&&!e.feeOnlyAction&&!e.actionInput&&!e.actionProceeds&&!!j&&Number(j.amount||"0")===0&&!!Je?.eligible&&Xe>0n,Ze=p.useMemo(()=>{if(!Se||!j)return j;const G=10n**BigInt(j.asset.decimals);return{...j,amount:T.formatUnits(Xe<G?Xe:G,j.asset.decimals)}},[Se,j,Xe]),et=jl({enabled:b&&!O&&!H,direction:A,selectedAsset:Ze,destinationToken:x,chainId:I,recipient:_,paymentAmount:o,resolveExactOutputSwap:f,resolveInputSwap:e.resolveInputSwap,maxSlippage:e.maxSlippage}),Ye=H?{...et,quoteKey:"direct-external",quoteExpiresAt:null,quoteAmountOut:null,inputAmount:null,inputDecimals:j?.asset.decimals??null,isQuoting:!1,quoteError:null,isDirect:!0,needsSwap:!1,selectedIsEquivalent:!0,resolvedTokenIn:x.address,resolvedSwap:null,exactOutputSwap:null,sourceSwap:null,sourceExactOutputSwap:null,pivot:null,estimatedInput:v?o:j?.amount??null,estimatedOutput:v?o:j?.amount??null}:et,qe=Ye,{isQuoting:Ut,resolvedSwap:Bt,exactOutputSwap:Zt,quoteAmountOut:tn,resolvedTokenIn:At,isDirect:An,needsSwap:Wt,selectedIsEquivalent:Ln,sourceSwap:Q,sourceExactOutputSwap:xe,pivot:we}=Ye,ke=v?parseFloat(o||"0"):parseFloat(j?.amount||"")||0,wt=j?.asset?._source==="wallet",ut=!!j?.asset&&wt&&j.asset.chainId!==I,mn=j?Number(T.formatUnits(Xe,j.asset.decimals)):0,qn=p.useMemo(()=>{if(!j||v)return!1;try{return Vt(j.amount||"0",j.asset.decimals)>Xe}catch{return!0}},[j,v,Xe]);p.useEffect(()=>{b||(le(null),Ue(!1),Tt||(Qe("idle"),pt(""),It(null),_e(!1),Et(null)),Dt(null),mt(!1),Ft(!1),Ct(null),Pt.current=!1,Mt.current&&(Mt.current.abort(),Mt.current=null))},[b,Tt]);const zn=p.useCallback(G=>{Qe({building:"building","signing-delegation":"signing-delegation","signing-intent":"signing-intent",submitting:"submitting",executing:"executing",success:"success",error:"error"}[G.step]||"executing"),pt(G.message),G.txHash&&It(G.txHash)},[]),ln=p.useMemo(()=>({currentPaymentAmount:o,isFeeInclusiveInput:C,feeOnlyAction:e.feeOnlyAction,swapInputAmount:Ye.inputAmount,destinationToken:x,embeddedWalletAddress:ee,providerEmbeddedAddress:z,externalWalletAddress:Y,address:F,recipient:e.recipient??(R!=="7702"?Y:void 0),isNon7702:B,isPayMode:v,resolvedChainId:I,buildActionCalls:M,feeExecutionMode:c,buildSpicenetBatch:d,selectedAsset:j,combinedSourceGroup:ft,needsSwap:Wt,resolvedSwap:Bt,exactOutputSwap:Zt,quoteAmountOut:tn,resolvedTokenIn:At,sourceSwap:Q,sourceExactOutputSwap:xe,pivot:we,resolveSourceExactOutputSwap:async G=>{if(!we||!_)throw new Error("Swap route is not ready.");const he=await fp({chainId:we.source.chainId,recipient:_,tokenIn:j.asset.address,tokenOut:we.source.address,amountOut:G,liquidityVenues:E?.liquidityVenues,maxSlippage:e.maxSlippage}).catch(()=>null);if(!he)throw new Error("No liquidity for this pair.");return he},resolveInputSwap:async(G,he)=>{if(!At||!_)throw new Error("Swap route is not ready.");return Br({chainId:I,recipient:_,tokenIn:At,tokenOut:x.address,amountIn:G,selectedSwap:he,liquidityVenues:E?.liquidityVenues,maxSlippage:e.maxSlippage,resolveInputSwap:e.resolveInputSwap})}}),[o,x,ee,z,Y,F,e.recipient,e.feeOnlyAction,e.maxSlippage,e.resolveInputSwap,Ye.inputAmount,C,R,B,v,I,M,c,d,j,ft,Wt,Bt,Zt,tn,At,Q,xe,we,_,E?.liquidityVenues]),On=p.useMemo(()=>j?.asset?we?we.destination.address:Wt&&At?At:j.asset.chainId===I?j.asset.address:At??sn(j.asset,I)??x.address:x.address,[j,x.address,Wt,I,At,we]),nn=JSON.stringify([j&&ye(j.asset),h,e.actionExecution?.wallet,x.address,x.chainId,x.decimals,e.recipient,R,Y,H?Y:ee,E?.apiUrl,E?.rpcOverrides,e.maxSlippage,c,N,e.feeOnlyAction,ve,e.actionProceeds==="output"?"output":e.actionProceeds?.token,e.feeFunding,e.quotedInclusivePlatformFee,e.actionInput?.map(G=>[G.token,G.amount.toString()]),e.feeFundingReserve&&ye(e.feeFundingReserve.asset),e.feeFundingReserve?.amount.toString(),E?.liquidityVenues,E?.allowedTokens,U,D,W,e.actionInput,e.actionProceeds,e.feeFunding,I,On,qe.pivot?.source.address,qe.pivot?.destination.address],(G,he)=>typeof he=="bigint"?he.toString():he),Pr=p.useRef(null);Pr.current=b&&!ct&&!K&&!O?nn:null,p.useEffect(()=>()=>{kt.current?.controller.abort(),kt.current=null},[nn,b,ct,K,O]);const Yt=T.keccak256(T.stringToHex(JSON.stringify([nn,j?.amount,o]))),Ps=JSON.stringify([F,Ce,z,Y,fe,q,L,P,ne]),Rt=p.useRef({key:Yt,enabled:b,sourceBalance:Xe,physicalAssets:De,sourceEligible:Je?.eligible,externalSignerReady:!!X&&!!Y,owner:_,walletScope:Ps,policyAvailable:!K&&!O}),is=p.useRef(0);(Rt.current.key!==Yt||Rt.current.enabled!==b||Rt.current.owner!==_||Rt.current.walletScope!==Ps||Rt.current.policyAvailable!==(!K&&!O))&&is.current++,Rt.current={key:Yt,enabled:b,sourceBalance:Xe,physicalAssets:De,sourceEligible:Je?.eligible,externalSignerReady:!!X&&!!Y,owner:_,walletScope:Ps,policyAvailable:!K&&!O};const ls=p.useRef(null),Ms=p.useRef(!1),Mr=p.useRef(e.onSubmit);Mr.current=e.onSubmit;const Ur=p.useRef(e.beforeSubmit);Ur.current=e.beforeSubmit;const Us=p.useCallback(async G=>{if(!Ms.current||ie.current)return;ie.current=!0,Ms.current=!1;const he=qt.current,He=Rt.current,Ve=is.current,ze=he.feeQuote,gt=ze?.fundingSource,$e=xn=>JSON.stringify([xn?.fundingSource,xn?.sourceAllocation,xn?.feeSourceAllocation],(Qn,Io)=>typeof Io=="bigint"?Io.toString():Io),St=$e(ze),cn=Mr.current,_t=Oe.current,nc={operationKey:He.key,feeQuote:ze,selectedAsset:he.selectedAsset};Le(!0),de(null);try{try{await Ur.current?.(nc);const xn=Rt.current,Qn=qt.current;if(!Te.current||Ve!==is.current||!xn.enabled||xn.key!==He.key||xn.owner!==He.owner||!ue.current||Qn?.feeQuote!==ze||ze?.fundingSource!==gt||$e(ze)!==St)throw new Error("The wallet, policy or accepted action quote changed. Review again before submitting.");he.validateFeeQuote?.(),cn?.(),Kt.current=he.onSuccess,ls.current={key:He.key,quote:ze}}catch(xn){const Qn=u.sanitizeError(xn,"Unable to prepare this action");Te.current&&(de(Qn),Qe("idle")),_t?.(new Error(Qn),u.getRelayerErrorDetail(Qn));return}await(G?vl(he):bl(he))}finally{ie.current=!1,Te.current&&Le(!1)}},[]),Wr=p.useCallback(()=>Us(!1),[Us]),Ws=H,Lr=O,qr=!ht.current?.quote.fundedFeeToken&&(C||!!we)&&!!dt&&dt.netAmount===0n,cs=p.useMemo(()=>!!e.feeOnlyAction||(!!j?.asset||!!e.actionProceeds)&&ke>0,[j,ke,e.actionProceeds,e.feeOnlyAction]),Nn=p.useMemo(()=>!b||!cs||!j?.asset&&!e.actionProceeds&&!e.feeOnlyAction?null:[Yt,at,v?"pay":"supply",h,j?ye(j.asset):"sdk-funded",e.actionInput?.map(G=>`${G.token.toLowerCase()}:${G.amount}`).join(",")??"",e.feeFunding?.join(",")??"",e.quotedInclusivePlatformFee?"quoted-inclusive-fee":"split-inclusive-fee",JSON.stringify(E?.rpcOverrides),E?.apiUrl,e.recipient,j?.asset.address.toLowerCase(),j?.asset.chainId,j?.amount,o,x.address.toLowerCase(),x.chainId,I,qe.resolvedTokenIn?.toLowerCase()??"",qe.quoteKey,qe.needsSwap?"swap":"direct",qe.isDirect?"direct-token":"routed-token","7702",$?"source-dest":"cross-chain",qe.isQuoting?"quoting":"quoted",qe.exactOutputSwap?.amountIn?.toString()??"",qe.exactOutputSwap?.amountInMax?.toString()??"",qe.exactOutputSwap?.venue??"",qe.resolvedSwap?.amountOut?.toString()??"",qe.quoteAmountOut?.toString()??"",qe.sourceSwap?.amountOutMinimum?.toString()??"",qe.sourceExactOutputSwap?.amountInMax?.toString()??"",qe.pivot?.source.address.toLowerCase()??"",ee??"",z??"",F??""].join("|"),[b,Yt,at,e.actionProceeds,e.feeOnlyAction,e.actionInput,e.feeFunding,e.quotedInclusivePlatformFee,ct,se,cs,Ws,j,v,h,o,x,I,qe,B,$,ee,z,F]),ds=p.useCallback(async(G,he,He)=>{if(H){if(!Y||!j)throw new Error("Connect the external wallet before continuing.");return Ju({selectedAsset:he?.selectedAsset??j,destinationToken:x,paymentAmount:v?o:void 0,account:Y,beneficiary:e.recipient,buildActionCalls:M,feeExecutionMode:c})}const Ve={...He??{...ln,selectedAsset:Ze},requestTimestampMs:Date.now()};if(j&&it(j.asset)&&!ft)throw new Error("This source is unavailable.");const ze={combinedSourceGroup:ft,getCombinedSourceGroup:Pe,signal:G,feeToleranceBps:N,externalGasRecipient:ge?Y:void 0,externalGasCalls:ge?async $e=>(await Cl({quote:$e,recipient:Y,beneficiary:e.recipient,chainId:x.chainId,token:x.address,feeExecutionMode:c,buildCalls:l})).calls:void 0,feeOnlyAction:e.feeOnlyAction,actionInput:e.actionInput,actionProceeds:e.actionProceeds==="output"?void 0:e.actionProceeds,feeFunding:e.feeFunding,feeFundingBalances:lt,feeFundingReserve:e.feeFundingReserve,liquidityVenues:E?.liquidityVenues,maxSlippage:e.maxSlippage,resolveExactOutputSwap:f,selectedAsset:Ze,isPayMode:v,isFeeInclusiveInput:C,quotedInclusivePlatformFee:e.quotedInclusivePlatformFee,parsedAmount:Se?Number(Ze.amount):ke,needsSwap:qe.needsSwap,exactOutputSwap:qe.exactOutputSwap,isNon7702:B,isSourceDestToken:$,currentPaymentAmount:o,destinationToken:x,feeExecutionMode:c,resolvedTokenIn:qe.resolvedTokenIn,embeddedWalletAddress:ee,providerEmbeddedAddress:z,resolvedChainId:I,isConnected:P,address:F,ready:q,authenticated:L,isDirect:qe.isDirect,resolvedSwap:qe.resolvedSwap,sourceSwap:qe.sourceSwap,sourceExactOutputSwap:qe.sourceExactOutputSwap,pivot:qe.pivot,isQuoting:qe.isQuoting,executionTokenAddress:On,buildPayChainBatches:$e=>xo(Ve,$e),buildSupplyChainBatches:$e=>yo(Ve,$e),estimate:ce,...he},gt=!ze.feeOnlyAction&&ze.selectedAsset&&Ke&&(ze.selectedAsset.asset._source==="wallet"||!!ze.combinedSourceGroup)&&ze.selectedAsset.asset.chainId===I;if(Ke&&!ze.feeOnlyAction&&ze.selectedAsset&&!gt&&e.feeFunding&&e.feeFunding.join(",")!==wo.join(","))throw new Error("Fee-source overrides require a wallet source on the action chain.");return gt||Ke&&e.actionProceeds==="output"?Yu(ze,Ve,Un,e.actionProceeds==="output"):Un(ze)},[j,Ke,ft,Pe,it,Ze,Se,H,ge,l,Y,e.recipient,M,e.feeOnlyAction,e.actionInput,e.actionProceeds,e.feeFunding,e.quotedInclusivePlatformFee,lt,e.feeFundingReserve,e.maxSlippage,f,N,E?.liquidityVenues,v,C,ke,qe,B,$,o,x,c,ee,z,ln,ce,I,P,F,q,L,On]);p.useEffect(()=>{Gt.current=ds},[ds]);const zr=p.useCallback(async G=>{if(v)return null;if(!j||ye(G)!==ye(j.asset)||!_||!At)throw new Error("Select a source before calculating Max.");let he=nt(G);if(he===void 0)throw new Error("This source is unavailable.");if(H){if(!G.isNative&&!S.isNativeToken(G.address))return T.formatUnits(he,G.decimals);const He=u.getClientForChain(G.chainId),Ve=Y;let ze=he;for(let gt=0;gt<8;gt++){const $e=await ds(void 0,{selectedAsset:{asset:G,amount:T.formatUnits(gt===0?1n:ze,G.decimals)}});if(!$e?.actionDefinition)throw new Error("The direct action could not be sized.");const St=await Ai({client:He,account:Ve,calls:$e.actionDefinition.calls}),cn=he>St?he-St:0n;if(cn===0n)return"0";if(gt>0&&ze<=cn)return T.formatUnits(ze,G.decimals);ze=cn}throw new Error("Network gas could not be reserved for Max. Enter a smaller amount.")}if(me&&(G.isNative||S.isNativeToken(G.address))){if(!Y)throw new Error("Connect the source wallet before calculating Max.");const He=await Ei({client:u.getClientForChain(G.chainId),account:Y,recipient:_,token:G.address,isNative:!0,amount:1n});he-=He}return Ke&&C&&G._source==="wallet"&&G.chainId===I?T.formatUnits(he>0n?he:0n,G.decimals):pl({balance:he,decimals:G.decimals,planForAmount:async He=>{const Ve={...ln,requestTimestampMs:Date.now(),selectedAsset:{asset:G,amount:T.formatUnits(He,G.decimals)}};let ze=He;we?(Ve.sourceSwap=await Br({chainId:G.chainId,recipient:_,tokenIn:G.address,tokenOut:we.source.address,amountIn:He,maxSlippage:e.maxSlippage,liquidityVenues:E?.liquidityVenues,resolveInputSwap:e.resolveInputSwap}),ze=en(Ve.sourceSwap.amountOutMinimum,we.source.decimals,we.destination.decimals,"floor")):ze=_n(He,G.decimals,await bn(G,At,I,x)),Ve.resolvedSwap=Wt?await Ve.resolveInputSwap(ze):null,Ve.swapInputAmount=ze,Ve.quoteAmountOut=Ve.resolvedSwap?.amountOut??ze;const gt=Ke&&G._source==="wallet"&&G.chainId===I,$e=await ds(void 0,{selectedAsset:Ve.selectedAsset,...gt?{isFeeInclusiveInput:!0}:{},parsedAmount:Number(Ve.selectedAsset.amount),sourceSwap:Ve.sourceSwap,resolvedSwap:Ve.resolvedSwap,isQuoting:!1,buildSupplyChainBatches:St=>yo(Ve,St)},Ve);return gt&&$e?.fundingSource?.kind==="input"&&!C?{...$e,sourceSpendCap:He+(He-$e.swapInputAmount)}:$e}})},[j,Ke,ln,v,H,_,At,I,x,me,Y,we,Wt,ds,nt,e.maxSlippage,e.resolveInputSwap,e.actionProceeds,e.feeFunding,e.quotedInclusivePlatformFee,C,E?.liquidityVenues]);$o({shouldRun:b&&!ct&&se==="idle"&&(cs||Se)&&!qe.isQuoting&&(!!Nn||Se),deps:[b,ct,se,cs,Ws,qe.isQuoting,Nn,Se,nn],onSkip:()=>{if(!b){Fe.current=null,mt(!1),Ft(!1),Ct(null),Dt(null);return}if(ct||se!=="idle"){mt(!1);return}if(!cs){Dt(null),mt(!1),Ft(!1),Ct(null);return}qe.isQuoting&&(mt(!1),Ft(!1))},onCleanup:()=>mt(!1),delayMs:qe.needsSwap||qe.pivot?0:100,backgroundIntervalMs:3e4,run:async({isBackground:G,isCurrent:he,signal:He})=>{if(Se){const ze=Fe.current;if(ze?.scope===nn&&Date.now()-ze.at<3e4||kt.current?.scope===nn&&Date.now()-kt.current.at<3e4)return;kt.current?.controller.abort();const gt=new AbortController,$e=Gt.current?.(gt.signal).then(St=>{gt.signal.aborted||Pr.current!==nn||!St?.feeEstimate||(Fe.current={scope:nn,at:Date.now(),feeEstimate:St.feeEstimate,sourceGasSkim:St.sourceGasSkim})}).catch(St=>{gt.signal.aborted||console.debug("[SpiceSupply] fee prewarm unavailable:",St)})??Promise.resolve();kt.current={scope:nn,at:Date.now(),controller:gt,promise:$e},await $e;return}const Ve=Nn;G||(Ct(null),mt(!0));try{if(kt.current?.scope===nn&&await kt.current.promise,He.aborted||!he())return;const ze=Fe.current,gt=!v&&ze?.scope===nn&&Date.now()-ze.at<3e4?ze:void 0;let $e;try{$e=await Gt.current?.(He,gt?{initialFeeEstimate:gt.feeEstimate,initialSourceGasSkim:gt.sourceGasSkim}:void 0)}catch(St){if(!gt||He.aborted||!he())throw St;$e=await Gt.current?.(He)}if(!he())return;if($e&&Ve){const St=ge?await Cl({quote:$e,recipient:Y,beneficiary:e.recipient,chainId:x.chainId,token:x.address,feeExecutionMode:c,buildCalls:l}):void 0;if(St&&$e.externalGasReserve?.nativeAmount&&(St.calls.length>$e.externalGasReserve.currentTransactions||St.calls.reduce((cn,_t)=>cn+_t.value,0n)>$e.externalGasReserve.currentValue))throw new Error("The external action gas requirement changed. Refresh the quote.");if(He.aborted||!he())return;ht.current={key:Ve,quote:$e,externalAction:St},$e.feeEstimate&&(Fe.current={scope:nn,at:Date.now(),feeEstimate:$e.feeEstimate,sourceGasSkim:$e.sourceGasSkim}),Dt($e.preview),Ft(!0)}else ht.current=null,Dt(null),Ft(!1);Ct(null)}catch(ze){if(!he())return;if(G&&ht.current?.key===Ve){console.warn("[SpiceSupply] fee refresh failed:",ze);return}const gt=u.sanitizeError(ze,"Unable to calculate fees for this action.");ht.current=null,Dt(ze instanceof Ir?ze.preview:null),Ft(!1),Ct(gt)}finally{he()&&mt(!1)}}});const Hr=p.useCallback(()=>Us(!0),[Us]);p.useEffect(()=>{if(!Ht||Ot.current===Ht)return;Ot.current=Ht;const G=Kt.current;Me.current=!0,Sn(!0),$t(null),Promise.resolve().then(()=>G?.(Ht)).then(()=>{zt(Ht),Ae(),te()}).catch(he=>{$t(`Transaction confirmed; application update needs retry: ${u.sanitizeError(he,"Unable to finalize the action")}`)}).finally(()=>{Me.current=!1,Sn(!1)})},[Ht,In]);const Vr=Tt&&!Nt,Yl=p.useCallback(()=>{!re.current||Me.current||(Ot.current=null,fn(G=>G+1))},[]),Xl=p.useCallback(()=>{re.current||(_e(!1),Et(null),Pt.current=!1,Ae(),te())},[Ae,te]),tt=Nn&&ht.current?.key===Nn?ht.current.quote:null,us=tt?ht.current?.externalAction:void 0,Jl=is.current,Ls=(G=!0)=>{if(K)throw new Error(K);if(!Te.current||!Rt.current.enabled||Rt.current.key!==Yt||is.current!==Jl||Rt.current.walletScope!==Ps||!Rt.current.policyAvailable)throw new Error("The source, amount, beneficiary or configuration changed. Review the form before continuing.");if(ge&&!Rt.current.externalSignerReady)throw new Error("Connect the external wallet before funding.");if((j||e.feeOnlyAction)&&!tt)throw new Error("A current action plan is required. Refresh the quote before submitting.");if(H&&j?.asset.owner&&!u.addressesEqual(j.asset.owner,Y))throw new Error("Reconnect the external wallet that owns the selected asset.");if(G&&j&&(tt?.sourceSpendCap??0n)>Rt.current.sourceBalance)throw new Error("The source balance changed. Review the available amount before continuing.");if(G&&j&&!Rt.current.sourceEligible)throw new Error(Je?.reason??"This source is unavailable.");if(G)for(const he of[tt?.sourceAllocation,tt?.feeSourceAllocation])he&&br(he,Rt.current.physicalAssets,Rt.current.owner??void 0,I)},Hn=async()=>{Ls();for(const G of[tt?.sourceAllocation,tt?.feeSourceAllocation]){if(!G)continue;const he=G.positions.find(Ve=>Ve.asset.location==="embedded"),He=await u.getClientForChain(G.chainId).readContract({address:G.token,abi:T.erc20Abi,functionName:"balanceOf",args:[G.owner]});Ls(),br(G,Rt.current.physicalAssets.map(Ve=>he&&ye(Ve)===he.positionId?{...Ve,balance:He}:Ve),G.owner,G.chainId)}},Qr=G=>({...G,sourceSpendCap:tt?.sourceSpendCap,minimumDestinationAmount:tt?.destinationAmount}),qs=tt?.sourceAllocation?.insufficient||tt?.feeSourceAllocation?.insufficient?!0:j&&tt?.sourceSpendCap!==void 0?tt.sourceSpendCap>Xe:qn,Gr={...ln,resolvedSwap:tt?.destinationSwap??ln.resolvedSwap,swapInputAmount:tt?.swapInputAmount??ln.swapInputAmount};let zs=!1;qt.current={selectedAsset:j,parsedAmount:ke,currentPaymentAmount:o,isInsufficientBalance:qs,isPayMode:v,isFeeInclusiveInput:C,quotedInclusivePlatformFee:e.quotedInclusivePlatformFee,feeOnlyAction:e.feeOnlyAction,actionProceeds:e.actionProceeds==="output"?void 0:e.actionProceeds,validateFeeQuote:()=>Ls(!zs),isNon7702:B,directExternalAction:H,isSourceDestToken:$,needsSwap:Wt,exactOutputSwap:Zt,selectedIsEquivalent:Ln,resolvedTokenIn:At,sourceSwap:Q,sourceExactOutputSwap:xe,pivot:we,embeddedWalletAddress:ee,providerEmbeddedAddress:z,externalWallet:X,externalWalletAddress:Y,activeSignerWallet:V,activeSignerAddress:fe,address:F,isConnected:P,ready:q,authenticated:L,provider:ne,resolvedChainId:I,executionTokenAddress:On,destinationToken:x,buildActionCalls:M,feeExecutionMode:c,feeToleranceBps:N,buildSpicenetBatch:d,onPayExecute:m,onSuccess:w,feeQuote:tt,execution:{estimate:(G,he,He,Ve)=>ce(G,he,He,{...Ve,userOverride:_}),execute:async(G,he,He,Ve,ze,gt)=>{const $e=async()=>zs?Ls(!1):Hn();if(await Hn(),await ll(tt?.externalGasReserve),ge&&!us)throw new Error("The external action plan is unavailable.");if(H){if(!tt?.actionDefinition)throw new Error("The direct action plan is unavailable.");return Sl({definition:tt.actionDefinition,account:Y,chainId:x.chainId,wallet:X,assertCurrent:Hn})}me&&j&&(pt("Transfer the selected source to your embedded wallet"),await Il({asset:j.asset,embedded:_,external:Y,externalWallet:X,amount:tt?.sourceSpendCap??0n,assertCurrent:Hn}),zs=!0,await $e());const St=await pe(G,he,He,ge?_t=>Ve?.(_t.step==="success"?{..._t,step:"executing",message:"Funds delivered. Confirm the action in your external wallet.",txHash:void 0}:{..._t,txHash:void 0}):Ve,ze,{...gt,userOverride:_,requireDestinationReceipt:!0,resolveActionOutputCredits:async()=>[...await gt?.resolveActionOutputCredits?.()??[],...tt?.externalGasReserve?.nativeAmount&&!S.isNativeToken(On)?[{chainId:I,token:S.ZERO_ADDRESS,amount:tt.externalGasReserve.nativeAmount}]:[]],walletFundingRequirement:tt?.sourceAllocation?{chainId:tt.sourceAllocation.chainId,token:tt.sourceAllocation.token,amount:tt.sourceAllocation.positions.find(_t=>_t.asset.location==="embedded")?.amount??0n}:j?.asset._source==="wallet"&&tt?.sourceSpendCap!==void 0?{chainId:j.asset.chainId,token:j.asset.address,amount:tt.sourceSpendCap}:void 0,validateBeforeSubmit:async _t=>{if(await $e(),await ll(tt?.externalGasReserve,_t),await gt?.validateBeforeSubmit?.(_t),ge&&kl(_t,x.address,x.chainId,Y)!==us.amount)throw new Error("The external delivery changed. Review the quote before continuing.")}});if(!ge)return St;zs=!0;const cn=async()=>{if(ze?.aborted)throw new Error("Execution transaction aborted");await $e()};return await cn(),await lp({hash:St,token:x.address,chainId:x.chainId,recipient:Y,sender:_,amount:us.amount}),await cn(),Sl({definition:us,account:Y,chainId:x.chainId,wallet:X,assertCurrent:cn})},buildPayChainBatches:async G=>bo(await xo(Gr,Qr(G)),tt?.externalGasReserve),buildSupplyChainBatches:async G=>bo(await yo(Gr,Qr(G)),tt?.externalGasReserve),onProgress:zn},ui:{setError:le,setStep:Qe,setStatusMsg:pt,setTxHash:It,setIsExecuting:Ue,setShowStatusPanel:_e,setPaymentResult:Et},refs:{spiceDepositSubmittedRef:Pt,abortControllerRef:Mt}};const Vn=!!e.isZeroAmountPay&&!e.feeOnlyAction&&v&&ke===0,$l=v?(Vn||!!j?.asset||!!e.actionProceeds||!!e.feeOnlyAction)&&ke>=0&&!qs&&!ct&&(Vn||Ws||rn)&&!Lt&&(Vn||e.feeOnlyAction||!Wt||!!Zt)&&(Vn||e.feeOnlyAction||!we||!!xe)&&!Lr:!!j?.asset&&ke>0&&!qs&&!ct&&(H||rn)&&!Lt&&!qr&&(we?!!Q&&!Ut&&(An||!!Bt):ut||An||!!Bt&&!Ut)&&!Lr,Kr=(H||q&&L&&P&&!!F)&&!K&&!!_&&(!ge||!!us&&!!X&&!!Y)&&(!H||!!X&&(!j?.asset.owner||u.addressesEqual(j.asset.owner,Y)))&&(R==="7702"||!!Y)&&!Tt&&!an&&!Nt&&b&&$l&&(Vn||!j&&(!!e.actionProceeds||!!e.feeOnlyAction)||!!Je?.eligible)&&se!=="success"&&vt?.status!=="success"&&!Ye.quoteError&&(Vn||!!Nn&&ht.current?.key===Nn);ue.current=Kr;const Zr=Kr&&!e.submitDisabled&&!rt&&!ie.current;Ms.current=Zr;const So=p.useCallback(()=>{re.current||(Ms.current=!1,ht.current=null,Ft(!1),et.refreshQuote(),Qe("idle"),le(null),pt(""),Et(null),_e(!1))},[et.refreshQuote,le]),Yr=p.useRef(Yt);p.useEffect(()=>{const G=Yr.current!==Yt;Yr.current=Yt,(G||u.isUserRejection(Be))&&se==="error"&&!ct&&ls.current&&ls.current.key!==Yt&&So()},[Yt,se,ct,Be,So]);const _l=p.useCallback(()=>{_e(!1)},[]),ec=p.useCallback(()=>{re.current||(Qe("idle"),It(null),Ae())},[Ae]),bt=tt??(ht.current?.key.startsWith(`${Yt}|`)?ht.current.quote:null)??(ls.current?.key===Yt?ls.current.quote:null),tc=async G=>{if(H)throw new Error("This source executes directly from the external wallet; submit the action without embedded funding.");if(!(!me||!j)){if(!tt||G!==tt.sourceSpendCap)throw new Error("Use the displayed source funding maximum before preparing this action.");await Hn(),await Il({asset:j.asset,embedded:_,external:Y,externalWallet:X,amount:G,assertCurrent:Hn})}};return{operationKey:Yt,feeQuote:bt,selectedAsset:st,capability:Je,assets:{getAvailableBalance:nt,selectable:xt,displayAssets:xt,filteredSpiceAssets:ae,embeddedWalletAddress:ee,externalAddress:Y,isNon7702:R!=="7702",refreshSpiceAssets:Ae,refreshWalletAssets:te,loading:Re,refreshing:We,error:ot},quote:{...Ye,...Se?{quoteKey:null,quoteExpiresAt:null,quoteError:null,isQuoting:!1,estimatedInput:null,estimatedOutput:null,quoteAmountOut:null,inputAmount:null,resolvedSwap:null,sourceSwap:null,exactOutputSwap:null,sourceExactOutputSwap:null}:{},hasSourceConversion:!!we,executionInput:we&&bt?{address:we.destination.address,chainId:we.destination.chainId,decimals:we.destination.decimals,amount:bt.preview.netAmount}:null,...bt?.destinationSwap?{resolvedSwap:bt.destinationSwap,inputAmount:bt.swapInputAmount,estimatedOutput:T.formatUnits(bt.destinationSwap.amountOut,x.decimals)}:{},...bt?.fundedFeeToken&&bt.destinationAmount!==void 0?{estimatedOutput:T.formatUnits(bt.destinationAmount+(bt.destinationSwap?bt.destinationSwap.amountOut-bt.destinationSwap.amountOutMinimum:0n),x.decimals)}:{}},fees:{fundingConversion:bt?.fundingConversion,fundingSource:bt?.fundingSource,proceedsUsed:bt?.proceedsUsed,fundingShortfall:bt?.grossFundingAmount,source:we&&bt?{address:we.source.address,chainId:we.source.chainId,symbol:we.source.symbol,decimals:we.source.decimals,gasFee:bt.sourceGasSkim??0n,spicenetFee:0n}:null,destinationAmount:bt?.destinationAmount,sourceSpendCap:bt?.sourceSpendCap,preview:Se?null:bt?.preview??dt,isLoading:!Se&&Dn,ready:!Se&&!!tt,error:Se?null:Lt},amount:{availableBalance:yt,sourceRequiredAmount:bt?.sourceSpendCap??null,parsed:ke,isInsufficientBalance:qs,sourceBalance:mn,feesExceedAmount:qr},status:{activity:be,finalizing:an||Vr,finalizationError:Nt,step:Tt&&se==="success"?"executing":se,statusMsg:Tt?Nt??"Transaction confirmed. Updating application...":Ne,txHash:jt,isExecuting:ct||rt||Vr,error:K||Nt||Be||Je?.reason||null,showStatusPanel:Ie,paymentResult:Tt&&vt?.status==="success"?{...vt,status:"processing"}:vt},flags:{directExecutionFeeNote:Ws},retryFinalization:Yl,fundEmbeddedSource:tc,canExecute:Zr,submit:v?Hr:Wr,submitSupply:Wr,submitPay:Hr,retrySupply:So,dismissPaymentStatus:_l,resolveMaxAmount:zr,max:()=>j?zr(j.asset):Promise.resolve(null),resetAfterSuccess:ec,resetPaymentState:Xl}}function mp(e){const{asset:t,amount:n,recipient:s,owner:o,onSuccess:r}=e,a=!!t&&!!e.destination&&e.destination.chainId!==t.chainId,l=e.destination?.chainId??t?.chainId??e.sourceChains?.[0]??0,c=p.useMemo(()=>S.getTokensForChain(l).find(v=>v.equivalenceGroup==="USDC"),[l]),d=p.useCallback((v,C)=>{const k=!a&&v===0n?n:v;if(!t||n<=0n||n>t.balance||!a&&k>n||!s||!o||u.addressesEqual(o,s))throw new Error("Enter a valid withdrawal amount and recipient.");if(C.chainId!==l||!u.addressesEqual(C.executorAddress??C.userAddress,o))throw new Error("The withdrawal wallet or network changed. Review the withdrawal again.");if(a&&(!e.destination||e.destination.symbol!=="USDC"||v<=0n))throw new Error("A USDC withdrawal quote is required for this network.");return go(l,a?e.destination.address:t.address,[{recipient:s,amount:k}]).calls},[t?.address,t?.chainId,t?.balance,n,s,o,l,a,e.destination?.address,e.destination?.symbol]),m=p.useMemo(()=>t?[{address:t.address,chainId:t.chainId,symbol:t.symbol,decimals:t.decimals,logoURI:t.logoURI}]:void 0,[t?.address,t?.chainId,t?.symbol,t?.decimals,t?.logoURI]),f=Os({enabled:e.enabled&&!!c&&!!t&&n>0n&&!!s&&!!o&&!u.addressesEqual(o,s),amountDirection:"input-inclusive",quotedInclusivePlatformFee:!0,feeFunding:wo,destinationToken:e.destination??{address:t?.address??S.ZERO_ADDRESS,symbol:t?.symbol??"",decimals:t?.decimals??6,chainId:l},recipient:s,selectedAsset:t?{asset:t,amount:T.formatUnits(n,t.decimals)}:null,additionalSourceTokens:m,sourceChains:e.sourceChains,includeCrossChainEmbeddedAssets:!0,includeExternalWalletAssets:!1,feeExecutionMode:a?"user-transfer":"backend-transfer",buildActionCalls:d,buildSpicenetBatch:Fs,onError:(v,C)=>e.onError?.(v.message,C),onSuccess:async()=>{if(!t)return;const v=f.fees.destinationAmount;if(a&&(v==null||v<=0n))throw new Error("The confirmed withdrawal amount is unavailable.");window.dispatchEvent(new CustomEvent("withdraw-completed")),await r?.({token:a?"USDC":t.symbol,amount:T.formatUnits(a?v:n,a?e.destination.decimals:t.decimals),chainId:l})}}),h=`${e.enabled}:${t?.chainId}:${t?.address}:${n}:${s}:${o}:${l}:${e.destination?.address}`,w=p.useRef(h);p.useEffect(()=>{w.current===h||f.status.isExecuting||(w.current=h,(f.status.step==="success"||f.status.paymentResult?.status==="success")&&f.resetAfterSuccess())},[h,f.status.isExecuting,f.status.step,f.status.paymentResult?.status,f.resetAfterSuccess]);const g=f.fees.fundingSource,y=g?.kind==="input"?f.fees.fundingConversion?.amountInMax??f.fees.proceedsUsed??0n:0n,x=g?.kind==="input"?t:g?.asset,b=x?x._source==="wallet"?f.fees.fundingConversion?.amountInMax??f.fees.proceedsUsed:f.amount.sourceRequiredAmount:null;return{supply:f,source:x,maximumFeeFunding:b,feeFromAmount:y}}const Dl=u.font.ui,hp=({label:e,loading:t,balance:n,dark:s,dk:o})=>{const r=s?o.textSecondary:"#7D7C7B",a=s?o.textSecondary:"#71757A";return i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[i.jsx("span",{style:{fontFamily:Dl,fontSize:"17px",fontWeight:500,color:r,lineHeight:"24px"},children:e}),i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px",fontFamily:Dl,fontSize:"13px",fontWeight:500,color:a,lineHeight:"16px"},children:["Balance:"," ",t?"...":n===null?"\u2014":u.formatBalance(n)]})]})},Ol=({isOpen:e,position:t,title:n,items:s,selectedId:o,onSelect:r,portalAttribute:a})=>{const{dark:l,dk:c,primaryColor:d}=u.useSpiceBrand(),[m,f]=p.useState(null),[h,w]=p.useState(!1);return p.useEffect(()=>{if(!e){w(!1);return}const g=requestAnimationFrame(()=>{requestAnimationFrame(()=>w(!0))});return()=>cancelAnimationFrame(g)},[e]),!e||!t||s.length===0?null:Gn.createPortal(i.jsxs("div",{[`data-${a}-popover`]:"true",style:{position:"fixed",top:`${t.top}px`,left:`${t.left}px`,opacity:h?1:0,transform:h?"scale(1) translateY(0)":"scale(0.96) translateY(-6px)",transition:`opacity 200ms ${u.easing.out}, transform 200ms ${u.easing.out}`,backgroundColor:l?c.shell:"#ffffff",borderRadius:"10px",padding:"10px 12px",boxShadow:l?"0 16px 48px rgba(0,0,0,0.45)":"0 12px 32px rgba(0,0,0,0.12)",border:`1px solid ${c.cardBorder}`,minWidth:"220px",zIndex:u.z.dropdown,fontFamily:u.font.mono},children:[i.jsx("div",{style:{marginBottom:"6px"},children:i.jsx("span",{style:{fontSize:"11px",fontWeight:500,color:l?c.textPrimary:"#0e0d0b",textTransform:"uppercase",letterSpacing:"1px"},children:n})}),i.jsx("div",{style:{borderBottom:`1px solid ${c.cardBorder}`,marginBottom:"6px"}}),i.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"2px"},children:s.map(g=>{const y=o===g.id,x=m===g.id;return i.jsxs("button",{onClick:b=>{b.stopPropagation(),r(g.id)},onMouseEnter:()=>f(g.id),onMouseLeave:()=>f(null),style:{display:"flex",alignItems:"center",gap:"8px",padding:"6px 4px",borderRadius:"8px",border:"none",cursor:"pointer",backgroundColor:y?l?c.hoverBg:"#f3f4f6":x?l?c.cardBg:"#f9fafb":"transparent",transition:"background-color 0.15s",width:"100%",fontFamily:u.font.mono},children:[g.icon&&i.jsx("img",{src:g.icon,alt:g.label,style:{width:"22px",height:"22px",borderRadius:"50%"}}),i.jsx("span",{style:{fontSize:"13px",fontWeight:y?700:500,textTransform:"uppercase",color:l?c.textPrimary:"#0e0d0b",letterSpacing:"0.5px",flex:1,textAlign:"left"},children:g.label}),g.detail&&i.jsx("span",{style:{fontSize:"11px",fontWeight:500,color:c.textSecondary},children:g.detail}),y&&i.jsx(yi,{color:d,style:{flexShrink:0}})]},g.id)})})]}),document.body)},Co=u.font.ui,gp=u.font.mono,xp=170,yp=({header:e,amount:t,receiveAmountDisplay:n,receiveUsdEstimate:s,selectedDestToken:o,destTokenSymbol:r,destChainName:a,destChainLogo:l,compatibleDestinationChains:c,networkSwitchRef:d,onOpenNetworkPopover:m,showNetworkPopover:f,setShowNetworkPopover:h,networkPopoverPos:w,selectedChainId:g,setSelectedChainId:y,dark:x,dk:b})=>{const v=x?b.cardBg:"#E9E9E9",C=x?b.cardBorder:"#C6C6C6",k=x?b.textSecondary:"#71757A",A=x?b.textPrimary:"#0E0D0B",I=x?b.cardBorder:"#C5C5C4",E=x?"rgba(255,255,255,0.08)":"#D4D3D3",N=r.length>8?"14px":r.length>6?"16px":"18px";return i.jsxs("div",{style:{backgroundColor:v,border:`1px solid ${C}`,borderRadius:"7px",padding:"14px 16px 12px 16px",minHeight:"138px",display:"flex",flexDirection:"column",gap:"6px"},children:[e,i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"12px",flex:1},children:[i.jsxs("div",{style:{flex:1,minWidth:0,alignSelf:"flex-start",paddingTop:"4px"},children:[i.jsx(Mn,{element:"div",value:n,title:n,fontFamily:Co,color:t?A:"#A8A8A7",lineHeight:"0.95",maxFontSize:54,minFontSize:32,overflow:"wrap"}),i.jsx("div",{style:{fontSize:"12px",fontWeight:500,color:k,fontFamily:Co,marginTop:"10px"},children:s})]}),i.jsxs("div",{style:{width:`${xp}px`,flexShrink:0,display:"flex",flexDirection:"column",alignItems:"stretch",gap:"8px"},children:[i.jsxs("div",{style:{backgroundColor:"transparent",border:`1px solid ${I}`,borderRadius:"8px",overflow:"hidden",width:"100%",display:"flex",flexDirection:"column",boxSizing:"border-box"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px",padding:"9px 10px 8px 10px"},children:[i.jsx("img",{src:o?.logoURI||Jc,alt:r,style:{width:"24px",height:"24px",borderRadius:"50%"}}),i.jsx("span",{style:{fontSize:N,fontWeight:500,color:A,lineHeight:"1.3",fontFamily:Co,flex:1,minWidth:0,letterSpacing:0},children:r})]}),i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"5px 10px",backgroundColor:E,borderTop:`1px solid ${I}`},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"4px"},children:[l&&i.jsx("img",{src:l,alt:a,style:{width:"13px",height:"13px",borderRadius:"50%",flexShrink:0}}),i.jsx("span",{style:{fontSize:"11px",fontWeight:400,color:A,fontFamily:Co,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",textTransform:"uppercase"},children:a})]}),i.jsx("button",{ref:d,onClick:R=>{R.stopPropagation(),m(d.current)},style:{background:"none",border:"none",cursor:c.length>1?"pointer":"not-allowed",padding:"0 0 0 8px",fontSize:"9.5px",fontFamily:gp,color:k,textDecoration:"underline",fontWeight:600,opacity:c.length>1?1:.45},children:"Switch"}),i.jsx(Ol,{isOpen:f,position:w,title:"SELECT NETWORK",portalAttribute:"network",items:c.map(R=>{const B=u.getChainConfig(R);return{id:String(R),label:B?.displayName||String(R),icon:Fn[R]||ys}}),selectedId:g!==null?String(g):null,onSelect:R=>{y(Number(R)),h(!1)}})]})]}),i.jsx("div",{style:{minHeight:"14px"}})]})]})]})},wp=u.font.ui,jn=u.font.mono,bp=({show:e,onToggle:t,showCustomAddress:n,setShowCustomAddress:s,customRecipient:o,setCustomRecipient:r,externalAddress:a,recipientAddress:l,destChainName:c,destChainLogo:d,compatibleDestinationChains:m,txDetailsChainSwitchRef:f,onOpenNetworkPopover:h,sourceChainLabel:w,sourceDetailsLogo:g,sourceTokenLabel:y,amount:x,totalSourceDebitDisplay:b,receiveAmountDisplay:v,destTokenSymbol:C,shouldQuoteWithdrawGas:k,estimatingFee:A,feeError:I,displayedGasFee:E,selectedDestToken:N,theme:R,styles:B,dark:U,dk:O})=>{const W=U?O.textSecondary:"#71757A",D=U?O.textPrimary:"#0E0D0B",F=m.length>1,P=n&&o?T.isAddress(o)?u.truncateAddress(o):o:l?u.truncateAddress(l):"\u2014";return i.jsxs(i.Fragment,{children:[i.jsxs("div",{onClick:t,style:{display:"flex",alignItems:"center",gap:"6px",marginBottom:e?"10px":"0",cursor:"pointer",userSelect:"none"},children:[i.jsx("span",{style:{fontSize:"13px",color:W,fontFamily:wp,fontWeight:600},children:"Transaction Details"}),i.jsx($d,{size:12,color:W,style:{transform:e?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.2s"}})]}),e&&i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"7px"},children:[i.jsxs("div",{children:[i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[i.jsx("span",{style:{fontSize:"12px",color:W,fontFamily:jn,fontWeight:500,letterSpacing:"0.03em"},children:"TO"}),i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.jsx("span",{style:{fontSize:"13px",color:D,fontFamily:jn,fontWeight:500},children:P}),i.jsx("button",{onClick:()=>{s(q=>!q),!n&&a&&r(a)},style:{background:"none",border:"none",cursor:"pointer",padding:"0",fontSize:"9.5px",fontFamily:jn,color:W,textDecoration:"underline",fontWeight:600},children:n?"Reset":"Switch"})]})]}),n&&i.jsxs("div",{style:{marginTop:"6px"},children:[i.jsx("div",{style:{marginBottom:"6px",padding:"7px 9px",borderRadius:"6px",border:"1px solid rgba(239, 68, 68, 0.55)",backgroundColor:"rgba(239, 68, 68, 0.12)",color:"#ef4444",fontSize:"10px",lineHeight:1.35,fontFamily:jn,fontWeight:700,letterSpacing:0,textTransform:"uppercase"},children:"CAUTION: ENTERING AN INCORRECT ADDRESS WILL RESULT IN LOSS OF FUNDS"}),i.jsx("input",{type:"text",autoComplete:"off",spellCheck:!1,"aria-label":"Recipient address","aria-invalid":o&&!T.isAddress(o)?!0:void 0,"data-spiceflow-focus":!0,value:o,onChange:q=>r(q.target.value),placeholder:"0x...",style:{width:"100%",padding:"8px 10px",borderRadius:"6px",border:`1px solid ${o&&!T.isAddress(o)?U?O.errorBorder:"#fca5a5":U?O.inputBorder:"#d1d5db"}`,backgroundColor:U?O.inputBg:"#f9fafb",color:U?O.inputText:"#111827",fontSize:"12px",fontFamily:jn,outline:"none",boxSizing:"border-box"}}),o&&!T.isAddress(o)&&i.jsx("span",{style:{fontSize:"11px",color:O.errorText,marginTop:"3px",display:"block"},children:"Invalid address"})]})]}),i.jsx(on,{palette:O,labelColor:W,valueColor:D,label:"RECEIVING CHAIN",value:i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"7px"},children:[d&&i.jsx("img",{src:d,alt:c,style:{width:"14px",height:"14px",borderRadius:"50%"}}),i.jsx("span",{style:{fontSize:"13px",color:D,fontWeight:500,fontFamily:jn,textTransform:"uppercase"},children:c}),i.jsx("button",{ref:f,onClick:q=>{q.stopPropagation(),h(f.current)},style:{background:"none",border:"none",cursor:F?"pointer":"not-allowed",padding:"0",fontSize:"9.5px",fontFamily:jn,color:W,textDecoration:"underline",fontWeight:600,opacity:F?1:.45},children:"Switch"})]})}),i.jsx(on,{palette:O,labelColor:W,valueColor:D,label:"REQUESTED WITHDRAWAL",value:i.jsxs(Rr,{logo:g||null,alt:w,primaryText:D,children:[x||"0"," ",y]})}),k&&i.jsx(on,{palette:O,labelColor:W,valueColor:D,label:"TOTAL SOURCE DEBIT",value:i.jsxs(Rr,{logo:g||null,alt:w,primaryText:D,children:[b," ",y]})}),i.jsx(on,{palette:O,labelColor:W,valueColor:D,label:"YOU RECEIVE",value:i.jsxs(Rr,{logo:d,alt:c,primaryText:D,gap:"4px",children:[v," ",C]})}),k&&i.jsxs(i.Fragment,{children:[i.jsx(on,{palette:O,labelColor:W,label:"EST. NETWORK FEE",valueColor:I?"#f87171":D,value:A?"Estimating...":I?"Unavailable":E!==null&&N?`${gr(E,N.decimals)} ${N.symbol}`:"Estimating..."}),I&&i.jsx(Xt,{variant:"error",size:"compact",palette:O,fontFamily:B?.fontFamily||R.typography.fontFamily,children:I})]})]})]})},vp=p.memo(bp),Rr=({logo:e,alt:t,primaryText:n,gap:s="6px",children:o})=>i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:s},children:[e&&i.jsx("img",{src:e,alt:t,style:{width:"13px",height:"13px",borderRadius:"50%"}}),i.jsx("span",{style:{fontSize:"13px",color:n,fontWeight:500,fontFamily:jn},children:o})]}),Ns=u.font.ui,Cp=170,kp=({header:e,amount:t,setAmount:n,isInsufficient:s,sourceAmountDecimals:o,selectedSourceAsset:r,resolvedSelectedSourceAsset:a,spiceAssets:l,setSelectedSourceAsset:c,sourceUsdEstimate:d,sourceTokenLabel:m,sourceChainLabel:f,totalSelectedBalance:h,showSourceTokenPopover:w,setShowSourceTokenPopover:g,tokenPopoverPos:y,setTokenPopoverPos:x,tokenTriggerRef:b,primaryColor:v,dark:C,dk:k})=>{const A=u.useAssetDisplay(),I=a?A({...a,logoURI:a._source==="wallet"?a.logoURI:xs}).logoURI:xs,E=C?k.cardBg:"#E9E9E9",N=C?k.cardBorder:"#C6C6C6",R=C?k.textSecondary:"#71757A",B=C?k.textPrimary:"#0E0D0B",U=C?k.cardBorder:"#C5C5C4",O=C?"rgba(255,255,255,0.08)":"#D4D3D3",W=m.length>8?"14px":m.length>6?"16px":"18px";return i.jsxs("div",{style:{backgroundColor:E,border:`1px solid ${N}`,borderRadius:"7px",padding:"14px 16px 12px 16px",minHeight:"138px",display:"flex",flexDirection:"column",gap:"6px",position:"relative"},children:[e,i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"12px",flex:1},children:[i.jsxs("div",{style:{flex:1,minWidth:0,alignSelf:"flex-start",paddingTop:"4px"},children:[i.jsx(Mn,{element:"input",ariaLabel:"Withdraw amount",ariaInvalid:s,dataSpiceflowFocus:!0,value:t,onChange:D=>{const F=D.target.value;if(F===""){n("");return}/^\d*\.?\d*$/.test(F)&&n(u.parseNumericInput(F.startsWith(".")?`0${F}`:F,o??r?.decimals))},placeholder:"0.0",fontFamily:Ns,color:s?"#ef4444":t?B:"#A8A8A7",lineHeight:"0.95",maxFontSize:54,minFontSize:32,style:{width:"100%"}}),i.jsx("div",{style:{fontSize:"12px",fontWeight:500,color:R,fontFamily:Ns,marginTop:"10px"},children:d})]}),i.jsx("div",{style:{width:`${Cp}px`,flexShrink:0},children:i.jsxs("div",{style:{backgroundColor:"transparent",border:`1px solid ${U}`,borderRadius:"8px",overflow:"hidden",width:"100%",display:"flex",flexDirection:"column",boxSizing:"border-box"},children:[i.jsxs("div",{ref:b,onClick:D=>{if(D.stopPropagation(),!w&&b.current){const F=b.current.getBoundingClientRect(),P=220,q=16;x({top:F.bottom+8,left:Math.min(Math.max(q,F.right-P),window.innerWidth-P-q)})}g(F=>!F)},style:{display:"flex",alignItems:"center",gap:"6px",padding:"9px 10px 8px 10px",cursor:"pointer"},children:[I&&i.jsx("img",{src:I,alt:m,style:{width:"24px",height:"24px",borderRadius:"50%"}}),i.jsx("span",{style:{fontSize:W,fontWeight:500,color:B,lineHeight:"1.3",fontFamily:Ns,flex:1,minWidth:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",letterSpacing:0},children:m}),i.jsx(Jn,{size:15,color:B,strokeWidth:2.25})]}),i.jsx(Ol,{isOpen:w,position:y,title:"SELECT TOKEN",portalAttribute:"token",items:(l||[]).map(D=>({id:ye(D),label:A({...D,displaySymbol:D.displaySymbol||(D._source==="wallet"?D.symbol:D.receiptTokenName)}).symbol,icon:A({...D,logoURI:D._source==="wallet"?D.logoURI:xs}).logoURI||void 0,detail:`${u.formatBalance(D.balanceFormatted)} \xB7 ${D._source==="wallet"?u.getChainConfig(D.chainId)?.displayName||D.chainId:"Spicenet"}`})),selectedId:a?ye(a):null,onSelect:D=>{const F=(l||[]).find(P=>ye(P)===D);F&&(c(F),n("")),g(!1)}}),i.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"5px 10px",backgroundColor:O,borderTop:`1px solid ${U}`},children:i.jsx("span",{style:{fontSize:"11px",fontWeight:400,color:B,fontFamily:Ns,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",textTransform:"uppercase"},children:f})})]})})]}),i.jsxs("div",{style:{minHeight:"18px",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[s?i.jsx("span",{style:{fontSize:"12px",color:k.errorText,fontFamily:Ns,fontWeight:500},children:"Insufficient Balance"}):i.jsx("span",{}),i.jsx("div",{style:{display:"flex",justifyContent:"flex-end",gap:"0px",minHeight:"32px",marginRight:"-9px"},children:[0,25,50,75,100].map((D,F)=>{const P=F===4,q=parseFloat(t)||0,L=h>0&&Math.abs(q/h*100-D)<1;return i.jsx("button",{type:"button","aria-label":`Set amount to ${D}%`,"aria-pressed":L,onClick:()=>{const ne=a?.balance??0n;n(D===0?"":T.formatUnits(ne*BigInt(D)/100n,o??r?.decimals??6))},title:`${D}%`,disabled:h===0,"data-spiceflow-focus":!0,style:{width:"32px",height:"32px",padding:"9px",border:"none",backgroundColor:"transparent",cursor:h===0?"not-allowed":"pointer",opacity:L?1:.5,transition:"opacity 0.15s ease",display:"flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box"},children:i.jsx(lr,{pct:D,isMax:P,primaryColor:v,dark:C,fillColor:C?k.textSecondary:"#3C3E42"})},D)})})]})]})},Sp=({dark:e,dk:t})=>i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"5px"},children:[i.jsx("img",{src:Jo,alt:"","aria-hidden":"true",style:{width:"13px",height:"13px",flexShrink:0,...e?{filter:"invert(0.6)"}:{}}}),i.jsx("p",{style:{fontSize:"13px",color:e?t.textSecondary:"#979AA0",margin:"0",lineHeight:"1.4",fontFamily:u.font.ui},children:"Withdraw collateral from your account to 10+ EVM blockchains."})]}),Ip=({isOpen:e,onClose:t,closeOnBackdropClick:n=!1,styles:s,onWithdrawExecute:o,onWithdrawSuccess:r,onWithdrawError:a,availableTokens:l,initialSourceAssetId:c,walletAssets:d,buildSpicenetBatch:m=Fs})=>{const f=p.useContext(u.SpiceFlowProviderContext);if(!f)return i.jsx("div",{children:"Error: SpiceWithdraw must be used within SpiceFlowProvider"});const h=f.mode||"7702",w=h==="presign"||h==="ondemand",g=f.supportedChainIds,y=f.allowedTokens,x=d?.initialAsset,b=p.useMemo(()=>[...d?.extraAssets??[],...x?[x]:[]].map(re=>({address:re.address,chainId:re.chainId,symbol:re.symbol,decimals:re.decimals})),[d?.extraAssets,x]),v=f.isWhitelistGateActive,{theme:C,dark:k,dk:A}=u.useSpiceBrand(s),I=u.useAssetDisplay(),E=f.network,N=()=>w?"select":"provider-login",[R,B]=p.useState(N()),[U,O]=p.useState(!1),[W,D]=p.useState(null),[F,P]=p.useState(null),[q,L]=p.useState(""),[ne,pe]=p.useState(!1),[ce,X]=p.useState(!1),[z,V]=p.useState(!1),[fe,Y]=p.useState(""),[Ce,be]=p.useState(!0),j=p.useRef(null),Z=p.useRef(null),$=p.useRef(null),[H,me]=p.useState(null),[ge,je]=p.useState(null),K=u.useWallet(),{isReady:M,isAuthenticated:J,address:ae}=K,oe=f?.embeddedWalletAddress,{address:ee,chainId:Ae}=yn.useAccount(),te=f.externalWalletAddress||ee,[Re,We]=p.useState(!1),[ot,ve]=p.useState(null),Ge=p.useRef(a);Ge.current=a;const De=p.useCallback(re=>{ve(re),typeof re=="string"&&re&&Ge.current?.(re,u.getRelayerErrorDetail(re))},[]),[at,Pe]=p.useState(null),it=p.useRef(null),nt=p.useRef(!0),xt=p.useRef(null);p.useEffect(()=>(nt.current=!0,()=>{nt.current=!1}),[]);const{execute:Ke,estimate:lt}=Ss(),Ee=pr(ae,e),[st,Je]=p.useState(null),[ft,yt]=p.useState(null),[Xe,ct]=p.useState(!1),[Ue,rt]=p.useState(null),{assets:Le,loading:ie,error:ue,refresh:Te}=Xn({owner:oe,role:"holding",includeWalletAssets:!0,additionalSourceTokens:b,enabled:e&&!!oe}),Be=p.useMemo(()=>{if(v)return[];const re=(_,Se)=>(Se.balanceUsd||0)-(_.balanceUsd||0);return(Le??[]).filter(_=>_.balance>0n&&En(_,"holding",{allowedTokens:y,isWhitelistGateActive:v}).eligible).sort(re)},[Le,y,v]),de=p.useMemo(()=>[...new Set([...g??[],...Object.keys(l??{}).map(Number),...(Be||[]).map(re=>re.chainId),...(Be||[]).flatMap(re=>Object.keys(re.chainTokens??{}).map(_=>{const[,Se]=_.split(":"),Ze=Number(Se);return Number.isFinite(Ze)?Ze:null}).filter(_=>_!==null))])].filter(re=>u.getChainConfig(re)?.network===E),[g,l,Be,E]),Oe=p.useMemo(()=>{if(l)return l;const re={};for(const _ of Be||[]){const Se=Object.entries(_.chainTokens??{});if(Se.length>0){for(const[Ze,et]of Se){const[Ye,qe,Ut]=Ze.split(":");if(Ye!=="evm"||!qe||!Ut)continue;const Bt=Number(qe);if(!Number.isFinite(Bt))continue;const Zt=Ut.startsWith("0x")?Ut.toLowerCase():`0x${Ut.toLowerCase()}`,tn=u.getChainConfig(Bt)?.supportedTokens?.find(At=>u.addressesEqual(At.address,Zt));tn&&Uo(_,Zt,Bt)&&(re[Bt]||(re[Bt]=[]),re[Bt].find(At=>u.addressesEqual(At.address,Zt))||re[Bt].push({address:Zt,symbol:tn?.symbol||et?.name||_.symbol,name:tn?.name||et?.name||_.displayName||_.name||_.symbol,decimals:tn?.decimals??et?.decimals??_.decimals,logoURI:tn?.logo||_.logoURI}))}continue}re[_.chainId]||(re[_.chainId]=[]),re[_.chainId].find(Ze=>u.addressesEqual(Ze.address,_.address))||re[_.chainId].push({address:_.address,symbol:_.symbol,name:_.displayName||_.name||_.symbol,decimals:_.decimals,logoURI:_.logoURI})}return re},[l,Be]),le=p.useCallback((re,_)=>{const Se=Iu(re,_,_?re?._source==="wallet"?l?.[_]??[]:Oe[_]??[]:[]);return!re||!Se||!_?null:re._source==="wallet"||En(re,"withdraw-destination",f,{...Se,chainId:_}).eligible?Se:null},[Oe,l,f.allowedTokens,f.rpcOverrides,f.isWhitelistGateActive]),se=p.useMemo(()=>W?Be.find(re=>ye(re)===ye(W))??null:null,[W,Be]),Qe=se?se.balanceError:ue,Ne=se?._source==="wallet",pt=p.useMemo(()=>{if(!se)return[];const re=Object.keys(se.chainTokens??{}).map(_=>gn(_)?.chainId??null).filter(_=>_!==null);return Array.from(new Set([...re,se.chainId,...de].filter(Number.isFinite))).filter(_=>u.getChainConfig(_)?.network===E&&(se._source==="wallet"||le(se,_)!==null))},[se,de,le,E]),jt=p.useMemo(()=>{if(!se||typeof window>"u")return null;const re=`spiceflow:withdraw-chain:${se.receiptTokenId||se.address.toLowerCase()}`,_=window.localStorage.getItem(re),Se=_?Number(_):null;return Se!==null&&Number.isFinite(Se)&&pt.includes(Se)?Se:null},[se,pt]),It=p.useMemo(()=>se?se._source==="wallet"?se.chainId:jt!==null?jt:Ae&&pt.includes(Ae)?Ae:se.chainId&&pt.includes(se.chainId)?se.chainId:pt[0]??null:de[0]??null,[se,jt,Ae,pt,de]),Ie=p.useMemo(()=>le(se,F),[le,se,F]);p.useEffect(()=>{e&&(D(null),L(""))},[e,c,x?.address,x?.chainId]),p.useEffect(()=>{if(!e||!Be.length||W)return;const re=x?Be.find(_=>_.chainId===x.chainId&&u.addressesEqual(_.address,x.address)&&_._source==="wallet"):c?Be.find(_=>_.receiptTokenId===c):Be[0];D(re??null),L("")},[e,Be,W,c,x]);const _e=p.useRef(null);p.useEffect(()=>{if(!se){_e.current=null;return}const re=ye(se),_=_e.current!==re;_e.current=re,(_&&se._source==="wallet"||F===null||!pt.includes(F))&&P(It)},[se,F,It,pt]),p.useEffect(()=>{if(!ne&&!ce)return;const re=_=>{const Se=_.target;ne&&!j.current?.contains(Se)&&!Z.current?.contains(Se)&&!Se?.closest?.("[data-network-popover]")&&pe(!1),ce&&!$.current?.contains(Se)&&!Se?.closest?.("[data-token-popover]")&&X(!1)};return document.addEventListener("mousedown",re),()=>document.removeEventListener("mousedown",re)},[ne,ce]);const vt=p.useCallback(re=>{if(!re||pt.length<=1)return;const _=re.getBoundingClientRect(),Se=220,Ze=16;me({top:_.bottom+8,left:Math.min(Math.max(Ze,_.right-Se),window.innerWidth-Se-Ze)}),pe(et=>!et)},[pt.length]),Et=p.useCallback(()=>be(re=>!re),[]);p.useEffect(()=>{if(!se||F===null||typeof window>"u")return;const re=`spiceflow:withdraw-chain:${se.receiptTokenId||se.address.toLowerCase()}`;window.localStorage.setItem(re,String(F))},[se,F]);const dt=z?T.isAddress(fe)?fe:void 0:te||(Ne?void 0:oe),Dt=Xn({owner:dt,role:"holding",includeRollupAssets:!1,sourceChains:F?[F]:[],additionalSourceTokens:Ie&&F?[{...Ie,chainId:F}]:[],enabled:e&&!!dt&&!!Ie&&!!F}),Dn=Dt.walletAssets.find(re=>u.addressesEqual(re.owner,dt)&&re.chainId===F&&u.addressesEqual(re.address,Ie?.address)),mt=se?.balanceFormatted??0,rn=se?I(Ne?se:{...se,displaySymbol:se.displaySymbol||se.receiptTokenName,logoURI:xs}):void 0,Ft=rn?.symbol||"Select token",Lt=se?.displayChainName||(Ne?u.getChainConfig(se.chainId)?.displayName:"Spicenet")||"Network",Ct=se?.receiptTokenDecimals??se?.decimals,Qt=p.useMemo(()=>{if(!Ie||Ct===void 0)return 0n;try{return Vt(q||"0",Ct)}catch{return 0n}},[q,Ie,Ct]),Pt=p.useMemo(()=>!Ie||Ct===void 0?0n:ju(Qt,Ct,Ie.decimals),[Ie,Ct,Qt]),Mt=ft??st,Gt=Qt,ht=mp({enabled:e&&Ne&&!!Ie,destination:Ie&&F?{...Ie,chainId:F}:null,asset:Ne?se:null,amount:Qt,recipient:dt,owner:oe,sourceChains:g,onSuccess:r,onError:a}),Fe=ht.supply,kt=Ne&&F!==se?.chainId,qt=Ne?Fe.fees.ready?Fe.fees.destinationAmount??0n:0n:Pt>(Mt??0n)?Pt-(Mt??0n):0n,Kt=Ne&&F?Ie?En(se,"spend-source",f,{...Ie,chainId:F}).reason:"USDC withdrawal is unavailable on this network. Choose another network.":null,Ot=Re||Ne&&(Fe.status.isExecuting||Fe.status.finalizing),Me=Fe.status.step==="success"||Fe.status.paymentResult?.status==="success",Jt=p.useCallback(re=>{if(Ne||!F||!Ie)return[];if(Qt===0n||Pt===0n||!dt)return[];const _=Array.isArray(re)?re.filter(Ye=>Ye.amount>0n):[{token:Ie.address,recipient:dt,amount:re??Pt}],Se=_.reduce((Ye,qe)=>Ye+qe.amount,0n);if(Se<=0n)return[];const Ze={chainId:F,calls:[],tokenTransfers:_.map(Ye=>({from:"escrow",to:Ye.recipient,token:Ye.token,amount:Ye.amount}))},et=m({destinationChainId:F,deliveryToken:Ie.address,deliveryAmount:Se,deliveryRecipient:dt,deliveryTransfers:_,requestTimestampMs:xt.current??Date.now()});return et?[et,Ze]:[Ze]},[Ne,F,Ie,Qt,Pt,dt,m]),zt=p.useMemo(()=>Jt(),[Jt]),Nt=p.useMemo(()=>Du(zt,Ie?.address),[zt,Ie?.address]),$t=p.useRef(null),an=!Ne&&e&&!w&&!Re&&!!Ie&&!!F&&Qt!==0n;$o({shouldRun:an&&zt.length>0&&!!Nt,deps:[an,zt.length>0,Nt],delayMs:500,onSkip:()=>{$t.current=null,Je(null),rt(null),ct(an&&zt.length===0)},onCleanup:()=>ct(!1),run:async({isCurrent:re,signal:_})=>{const Se=Nt;ct(!0),rt(null);try{const Ze=await Ru({batches:zt,tokenAddress:Ie.address,chainId:F,estimate:lt,signal:_});if(!re())return;$t.current={key:Se,quote:Ze},Je(Ze.gasFee)}catch(Ze){if(!re())return;$t.current=null,Je(null),rt(Ze instanceof Error?Ze.message:"Failed to estimate gas fee")}finally{re()&&ct(!1)}}}),p.useEffect(()=>{Re||yt(null)},[Re,q,F,Ie?.address]);const Sn=p.useCallback(()=>{O(!0),B("select")},[]),In=p.useCallback(()=>{Ot||t()},[t,Ot]),fn=p.useRef(null);fn.current={batches:zt,walletAddress:ae,recipient:dt,token:Ie,chainId:F,amount:q,grossAmountRaw:Pt,gasFee:st,feeEstimate:Nt&&$t.current?.key===Nt?$t.current.quote.feeEstimate:null,isNon7702:w,buildWithdrawBatches:Jt,execution:{estimate:lt,execute:Ke},ui:{setIsExecuting:We,setExecutionError:De,setExecutionProgress:Pe,setLockedGasFee:yt},executionContextRef:it,isMountedRef:nt,onWithdrawExecute:o,onWithdrawSuccess:r,buildSpicenetBatch:m};const Ht=p.useCallback(()=>(xt.current=Date.now(),zi(fn.current)),[]),Tt=p.useCallback(()=>Hi(fn.current),[]);if(p.useEffect(()=>{if(!e){const re=setTimeout(()=>{B(N()),O(!1),D(null),P(null),L(""),pe(!1),X(!1),V(!1),Y(""),We(!1),De(null),Pe(null),it.current=null},300);return()=>clearTimeout(re)}},[e,w]),p.useEffect(()=>{if(!w&&e&&R==="provider-login"&&M&&J&&oe&&!U){const re=setTimeout(()=>{O(!0),B("select")},100);return()=>clearTimeout(re)}},[w,e,R,M,J,oe,U]),!e)return null;if(R==="provider-login"&&!w)return i.jsx(fr,{onAuthSuccess:Sn,autoTrigger:!0});if(R==="select"){const re=parseFloat(q)||0,_=Ct?gr(Gt,Ct):q||"0",Se=!!se&&Gt>se.balance,Ze=(F?u.getChainConfig(F):null)?.displayName||"Network",et=F?Fn[F]||ys:null,Ye=Ie?.symbol||"\u2014",qe=Ft,Ut=Ie?gr(qt,Ie.decimals):"0",Bt=se&&se.balanceFormatted>0?se.balanceUsd/se.balanceFormatted:void 0,Zt=se?.priceStatus==="stale",tn=Vi(re,Bt,Zt),At=Vi(parseFloat(Ut)||0,kt?void 0:Bt,Zt),An=(!z||T.isAddress(fe))&&(!Ne||!u.addressesEqual(dt,oe)),Wt=!w&&!Ne&&re>0&&Ie!==null,Ln=!Wt||st!==null&&!Xe&&!Ue,Q=re>0&&!Se&&!ie&&!Qe&&se!==null&&F!==null&&Ie!==null&&!Kt&&dt&&An&&Ln&&qt>0n&&(!Ne||Fe.canExecute&&!Me),xe=!Q,we=ie?"LOADING BALANCES":Qe?"BALANCES UNAVAILABLE":se===null?"NO BALANCE":re===0?"ENTER AMOUNT":Se?"INSUFFICIENT BALANCE":Wt&&!Ln?Ue?"GAS UNAVAILABLE":"ESTIMATING GAS":Wt&&qt===0n?"AMOUNT TOO SMALL":Ne&&!Fe.canExecute?"REVIEW FEES":"WITHDRAW",ke=!!at&&(at.step==="success"||at.step==="error"),wt=s?.primaryColor||C.colors.primary,ut=402,mn=(qn,zn,ln)=>i.jsx(hp,{label:qn,loading:ln,balance:zn,dark:k,dk:A});return i.jsx(pn,{isOpen:!0,onClose:In,title:"Withdraw",subtitle:i.jsx(Sp,{dark:k,dk:A}),styles:s,theme:C,dark:k,maxWidth:"486px",footerLinkText:"Spicenet accounts \u2192",overlayDimmed:!1,closeOnBackdropClick:n,overlayContent:ke?i.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",flexDirection:"column",justifyContent:"flex-end",pointerEvents:"none",zIndex:20},children:i.jsx("div",{style:{pointerEvents:"auto"},children:i.jsx(mr,{type:"withdraw",isOpen:!0,isProcessing:Ot,onRetryTx:()=>{Tt()},onNewTx:()=>{Pe(null),L(""),De(null),it.current=null},onClose:()=>{Pe(null),De(null),We(!1),it.current=null},onComplete:()=>{Pe(null),De(null),We(!1),it.current=null},results:[{asset:{symbol:Ie?.symbol||"Token",address:Ie?.address||""},txHash:at?.txHash||"",success:at?.step==="success",error:at?.error,amount:q}],chainId:F??void 0,theme:C})})}):null,children:i.jsxs("fieldset",{disabled:Ot,style:{border:0,minWidth:0,width:"calc(100% - 32px)",maxWidth:`${ut}px`,margin:"0 auto",padding:"0 0 4px 0",position:"relative"},children:[i.jsx(mo,{activity:Ee,palette:A,onRefresh:()=>{Te()}}),i.jsxs("div",{style:{marginTop:"16px",marginBottom:"16px",display:"flex",flexDirection:"column",gap:"16px"},children:[i.jsx(kp,{header:mn("Source",mt,ie),amount:q,setAmount:L,isInsufficient:Se,sourceAmountDecimals:Ct,selectedSourceAsset:se,resolvedSelectedSourceAsset:se,spiceAssets:Be,setSelectedSourceAsset:D,sourceUsdEstimate:tn,sourceTokenLabel:qe,sourceChainLabel:Lt,totalSelectedBalance:mt,showSourceTokenPopover:ce,setShowSourceTokenPopover:X,tokenPopoverPos:ge,setTokenPopoverPos:je,tokenTriggerRef:$,primaryColor:wt,dark:k,dk:A}),i.jsx(yp,{header:mn("Destination",Dn?.balanceFormatted??null,Dt.loading),amount:q,receiveAmountDisplay:Ut,receiveUsdEstimate:At,selectedDestToken:Ie,destTokenSymbol:Ye,destChainName:Ze,destChainLogo:et,compatibleDestinationChains:pt,networkSwitchRef:j,onOpenNetworkPopover:vt,showNetworkPopover:ne,setShowNetworkPopover:pe,networkPopoverPos:H,selectedChainId:F,setSelectedChainId:P,dark:k,dk:A})]}),i.jsxs("div",{style:{marginBottom:C.spacing.sm},children:[i.jsx(vp,{show:Ce,onToggle:Et,showCustomAddress:z,setShowCustomAddress:V,customRecipient:fe,setCustomRecipient:Y,externalAddress:te,recipientAddress:dt,destChainName:Ze,destChainLogo:et,compatibleDestinationChains:pt,txDetailsChainSwitchRef:Z,onOpenNetworkPopover:vt,sourceChainLabel:Lt,sourceDetailsLogo:se?rn?.logoURI:xs,sourceTokenLabel:qe,amount:q,totalSourceDebitDisplay:_,receiveAmountDisplay:Ut,destTokenSymbol:Ye,shouldQuoteWithdrawGas:Wt,estimatingFee:Xe,feeError:Ue,displayedGasFee:Mt,selectedDestToken:Ie,theme:C,styles:s,dark:k,dk:A}),kt&&i.jsx(Xt,{variant:"info",size:"compact",palette:A,children:Fe.fees.ready?`You receive ${Ut} USDC on ${Ze}`:`USDC on ${Ze} \u2014 ${Kt||Fe.fees.error||Fe.quote.quoteError||"waiting for quote"}`}),Ne&&Fe.fees.ready&&i.jsxs(i.Fragment,{children:[i.jsx(on,{palette:A,label:"TOTAL SOURCE DEBIT",value:`${_} ${qe}`}),i.jsx(on,{palette:A,label:"MINIMUM RECEIVED",value:`${Ut} ${Ye}`}),i.jsx(on,{palette:A,label:kt?"DESTINATION FEES":"EST. FEE",value:Fe.fees.preview?.totalFee!==void 0?`${T.formatUnits(Fe.fees.preview.totalFee,Fe.fees.preview.decimals)} ${Fe.fees.preview.symbol}`:"Unavailable"})]}),kt&&Fe.fees.ready&&Fe.fees.source&&i.jsx(on,{palette:A,label:"SOURCE NETWORK FEE",value:`${T.formatUnits(Fe.fees.source.gasFee,Fe.fees.source.decimals)} ${Fe.fees.source.symbol}`}),Kt&&i.jsx(Xt,{variant:"warning",size:"compact",palette:A,children:Kt}),Ne&&i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[!kt&&i.jsx(on,{palette:A,label:"FEE ASSET",value:Fe.fees.isLoading?"Estimating...":ht.source?`${I(ht.source).symbol} \xB7 ${ht.source._source==="spice"?"Spicenet":u.getChainConfig(ht.source.chainId)?.displayName}`:"Unavailable"}),!kt&&i.jsx(on,{palette:A,label:"MAXIMUM FEE FUNDING",value:Fe.fees.isLoading?"Estimating...":Fe.fees.ready&&ht.source&&ht.maximumFeeFunding!=null?`${T.formatUnits(ht.maximumFeeFunding,ht.source.decimals)} ${I(ht.source).symbol}`:"Unavailable"}),!Me&&(Fe.status.error||Fe.fees.error||Fe.quote?.quoteError)&&i.jsx(Xt,{variant:"error",size:"compact",palette:A,children:Fe.status.error||Fe.fees.error||Fe.quote?.quoteError}),!Me&&Fe.status.finalizationError&&i.jsx(u.Button,{variant:"outline",dark:k,disabled:Fe.status.finalizing,onClick:()=>void Fe.retryFinalization(),children:"Retry application update"}),!Me&&Fe.status.step==="error"&&Fe.status.error==="Transaction fees changed. Refresh the quote before submitting."&&i.jsx(u.Button,{variant:"outline",dark:k,disabled:Fe.status.isExecuting,onClick:Fe.retrySupply,children:"Refresh quote"}),Fe.status.statusMsg&&i.jsx("span",{role:"status",children:Fe.status.statusMsg})]}),se&&!ie&&pt.length===0&&i.jsx(Xt,{variant:"warning",size:"compact",palette:A,children:"No withdrawal networks are available for this asset."}),ot&&i.jsx(Xt,{variant:"error",size:"compact",palette:A,fontFamily:s?.fontFamily||C.typography.fontFamily,style:{marginBottom:"12px"},children:ot}),ue&&i.jsxs(Xt,{variant:Qe?"error":"warning",size:"compact",palette:A,children:[Qe?"Unable to load this balance. Please try again.":"Some other balances could not be refreshed."," ",i.jsx("button",{type:"button",onClick:()=>void Te(),children:"Retry"})]}),i.jsx(u.Button,{variant:"outline",fullWidth:!0,onClick:()=>{if(Q)if(Ne){if(kt&&qt<=0n)return;Fe.submitSupply()}else Ht()},disabled:xe||Ot,theme:C,dark:k,styles:s,style:{marginTop:"8px"},children:Ot?"EXECUTING...":Ne&&Me?"WITHDRAWN":we})]})]})})}return null},jr=Ip,Ap=({onDepositClick:e,onWithdrawClick:t,depositDisabled:n=!1,withdrawDisabled:s=!1,primaryColor:o="#EA4B4B",buttonStyles:r,dark:a=!1})=>{if(!e&&!t)return null;const l={button:{backgroundColor:o,...r}};return i.jsxs("div",{style:{display:"flex",gap:"8px"},children:[e&&i.jsx(u.Button,{variant:"outline",onClick:e,disabled:n,dark:a,styles:l,style:{flex:1,height:"44px",fontSize:"12px"},children:"Deposit"}),t&&i.jsx(u.Button,{variant:"outline",onClick:()=>t(),disabled:s,dark:a,styles:l,style:{flex:1,height:"44px",fontSize:"12px"},children:"Withdraw"})]})},Ep=p.memo(Ap),Fp=({section:e,dk:t,dark:n=!1})=>{const s=o=>{switch(o){case"green":return"#10b981";case"red":return"#ef4444";default:return t.textPrimary}};return i.jsxs("div",{children:[i.jsx("div",{style:{fontSize:"11px",fontWeight:600,letterSpacing:"1px",color:t.textSecondary,marginBottom:"8px",textTransform:"uppercase"},children:e.title}),i.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"6px"},children:e.items.map((o,r)=>i.jsxs("div",{role:o.onClick?"button":void 0,tabIndex:o.onClick?0:void 0,onClick:o.onClick,onKeyDown:o.onClick?a=>{(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),o.onClick?.())}:void 0,style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 12px",backgroundColor:t.cardBg,border:n?`1px solid ${t.cardBorder}`:"1px solid #e5e7eb",borderRadius:"8px"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[o.tokenLogoURI?i.jsx("img",{src:o.tokenLogoURI,alt:o.tokenSymbol,style:{width:"20px",height:"20px",borderRadius:"50%"}}):i.jsx("div",{style:{width:"20px",height:"20px",borderRadius:"50%",backgroundColor:n?t.hoverBg:"#e5e7eb",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"10px",fontWeight:600,color:t.textSecondary},children:o.tokenSymbol.charAt(0)}),i.jsxs("div",{children:[i.jsx("div",{style:{fontSize:"13px",fontWeight:500,color:t.textPrimary},children:o.tokenSymbol}),i.jsx("div",{style:{fontSize:"11px",color:t.textSecondary},children:o.label})]})]}),i.jsx("div",{style:{fontSize:"13px",fontWeight:600,color:s(o.valueColor)},children:o.displayValue})]},r))})]})},Tp=p.memo(Fp);var Bp="data:image/svg+xml,%3csvg width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='black' stroke-opacity='0.5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3e%3cpolyline points='17 1 21 5 17 9' /%3e%3cpath d='M3 11V9a4 4 0 0 1 4-4h14' /%3e%3cpolyline points='7 23 3 19 7 15' /%3e%3cpath d='M21 13v2a4 4 0 0 1-4 4H3' /%3e%3c/svg%3e";const Rp=({appName:e,status:t,statusLabel:n,totalUsdValue:s,breakdownSubtitle:o,showUsdSummary:r=!0,address:a,dk:l,dark:c=!1,showModeToggle:d,isEmbeddedMode:m=!0,onModeToggle:f})=>{const[h,w]=p.useState(!1),g=async()=>{a&&await u.copyToClipboard(a)&&(w(!0),setTimeout(()=>w(!1),2e3))},y=t==="active",x=n||(y?"Active":"Inactive"),b=y?"#10b981":"#9ca3af",v=i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"6px"},children:[i.jsxs("div",{children:[i.jsx("strong",{children:"Embedded:"})," Deposit assets into ",e," account and use them here."]}),i.jsxs("div",{children:[i.jsx("strong",{children:"External:"})," Use assets from your connected wallet here."]})]});return i.jsxs("div",{children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"4px"},children:[i.jsxs("div",{style:{fontSize:"13px",fontWeight:600,color:l.textPrimary},children:[e," Account"]}),d?i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[i.jsxs("button",{onClick:f,style:{display:"flex",alignItems:"center",gap:"4px",padding:"2px 8px",borderRadius:"9999px",backgroundColor:c?l.hoverBg:"#f3f4f6",border:c?`1px solid ${l.cardBorder}`:"1px solid #e5e7eb",cursor:"pointer",fontSize:"11px",fontWeight:600,fontFamily:u.font.mono,color:l.textSecondary,transition:"background-color 150ms ease, border-color 150ms ease, color 150ms ease",letterSpacing:"0.02em"},children:[i.jsx("span",{children:m?"Embedded":"External"}),i.jsx("img",{src:Bp,alt:"","aria-hidden":"true",style:{width:"11px",height:"11px",display:"block",...c?{filter:"invert(0.65)"}:{}}})]}),i.jsx(xi,{content:v,label:"Account mode info",textColor:c?l.textPrimary:"#f9fafb",backgroundColor:c?l.cardBg:"#111827",borderColor:c?l.cardBorder:"rgba(255,255,255,0.08)",accentColor:c?l.textSecondary:"#6b7280",children:i.jsx("img",{src:Jo,alt:"","aria-hidden":"true",style:{width:"12px",height:"12px",display:"block",...c?{filter:"invert(0.65)"}:{}}})})]}):i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"4px",padding:"2px 8px",borderRadius:"9999px",backgroundColor:c?l.hoverBg:y?"#ecfdf5":"#f3f4f6",border:c?`1px solid ${l.cardBorder}`:y?"1px solid #a7f3d0":"1px solid #e5e7eb"},children:[i.jsx("div",{style:{width:"6px",height:"6px",borderRadius:"50%",backgroundColor:b}}),i.jsx("span",{style:{fontSize:"11px",fontWeight:500,color:c?l.textSecondary:y?"#065f46":"#6b7280"},children:x})]})]}),r&&i.jsx("div",{style:{fontSize:"28px",fontWeight:700,color:l.textPrimary,lineHeight:1.2,marginBottom:"2px"},children:u.formatUsd(s)}),r&&o&&i.jsx("div",{style:{fontSize:"12px",color:l.textSecondary,marginBottom:"8px"},children:o}),a&&i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[i.jsx("span",{style:{fontSize:"12px",fontFamily:u.font.mono,color:c?l.textSecondary:"#9ca3af"},children:u.truncateAddress(a)}),i.jsx("button",{onClick:g,style:{padding:"2px 6px",fontSize:"10px",fontWeight:500,backgroundColor:"transparent",color:c?l.textSecondary:"#9ca3af",border:"none",cursor:"pointer",borderRadius:"4px",transition:"background-color 150ms ease, color 150ms ease"},title:"Copy address",children:h?"Copied":"Copy"})]})]})},jp=p.memo(Rp),Dp=({asset:e,label:t,logo:n,dk:s,dark:o})=>{const r=cr(n,e.chainId,e.tokenAddress),[a,l]=p.useState();return n===null?null:r&&r!==a?i.jsx("img",{src:r,alt:t,onError:()=>l(r),style:{width:"24px",height:"24px",borderRadius:"50%"}}):i.jsx("div",{style:{width:"24px",height:"24px",borderRadius:"50%",backgroundColor:o?s.hoverBg:"#e5e7eb",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"11px",fontWeight:600,color:s.textSecondary},children:t.charAt(0)})},Op=e=>`${e.tokenAddress}-${e.chainId}`,Np=({spiceAssets:e,loading:t,dk:n,dark:s=!1,canDirectWithdraw:o=!1,onDirectWithdraw:r,directWithdrawState:a,onWithdrawClick:l,limit:c})=>{const d=u.useAssetDisplay(),[m,f]=p.useState(!1),h=c!==void 0&&!m?Math.max(e.length-c,0):0,w=h>0?e.slice(0,c):e,g={fontSize:"11px",fontWeight:600,letterSpacing:"1px",color:n.textSecondary,marginBottom:"8px",textTransform:"uppercase"},y={backgroundColor:n.cardBg,border:s?`1px solid ${n.cardBorder}`:"1px solid #e5e7eb",borderRadius:"8px"};return t?i.jsxs("div",{children:[i.jsx("div",{style:g,children:"Idle Balances"}),[1,2].map(x=>i.jsx("div",{style:{...y,padding:"12px",marginBottom:"6px",height:"48px",animation:"pulse 1.5s ease-in-out infinite",opacity:.5}},x))]}):e.length===0?i.jsxs("div",{children:[i.jsx("div",{style:g,children:"Idle Balances"}),i.jsx("div",{style:{...y,padding:"16px",textAlign:"center",fontSize:"13px",color:s?n.textSecondary:"#9ca3af"},children:"No assets yet. Deposit to get started."})]}):i.jsxs("div",{children:[i.jsx("div",{style:g,children:"Idle Balances"}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"6px"},children:[w.map(x=>{const b=u.getChainConfig(x.chainId),v=x.chainDisplayName||b?.displayName||`Chain ${x.chainId}`,C=d({symbol:x.tokenSymbol,displaySymbol:x.tokenDisplaySymbol||x.tokenDisplayName,displayName:x.tokenDisplayName,receiptTokenId:x.receiptTokenId,receiptTokenName:x.receiptTokenName,location:x.location,logoURI:x.logoURI}),k=C.symbol,A=Op(x),I=x.receiptTokenId&&l,E=I||o&&x.directWithdraw&&!!r,N=!I&&a?.key===A?a:null,R=N?.step==="pending";return i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 12px",...y},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.jsx(Dp,{asset:x,label:k,logo:C.logoURI,dk:n,dark:s}),i.jsxs("div",{children:[i.jsx("div",{style:{fontSize:"13px",fontWeight:500,color:n.textPrimary},children:k}),i.jsx("div",{style:{fontSize:"11px",color:s?n.textSecondary:"#9ca3af"},children:v})]})]}),i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"10px"},children:[i.jsxs("div",{style:{textAlign:"right"},children:[i.jsx("div",{style:{fontSize:"13px",fontWeight:500,color:n.textPrimary},children:u.formatAssetBalance({balance:BigInt(x.balance),decimals:x.tokenDecimals})}),i.jsx("div",{style:{fontSize:"11px",color:N?.step==="error"?n.errorText:s?n.textSecondary:"#9ca3af"},children:N?.step==="error"?N.message||"Withdraw failed":!Number.isFinite(x.usdValue)||x.usdValue<=0?"\u2014":`${u.formatUsd(x.usdValue)}${x.priceStatus==="stale"?" (stale)":""}`})]}),E&&i.jsx("button",{onClick:()=>{R||(I?I(x.receiptTokenId):r(x))},disabled:R,title:I?"Choose withdrawal network":"Withdraw to external wallet",style:{padding:"6px 10px",borderRadius:"6px",border:s?`1px solid ${n.cardBorder}`:"1px solid #e5e7eb",backgroundColor:s?n.hoverBg:"#ffffff",color:n.textPrimary,fontSize:"11px",fontWeight:600,cursor:R?"default":"pointer",opacity:R?.6:1,whiteSpace:"nowrap"},children:R?"Withdrawing\u2026":"Withdraw"})]})]},x.positionId??`${x.owner??""}:${x.location??""}:${x.receiptTokenId??`${x.tokenAddress}-${x.chainId}`}`)}),c!==void 0&&e.length>c&&i.jsxs("button",{onClick:()=>f(!m),style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"6px",width:"100%",padding:"8px 12px",...y,cursor:"pointer",color:n.textSecondary,fontSize:"12px",fontWeight:500},children:[i.jsx("span",{children:m?"Show less":`Show ${h} more`}),i.jsx("span",{style:{transform:m?"rotate(180deg)":"rotate(0deg)",transition:"transform 200ms ease",fontSize:"10px"},children:"\u25BE"})]})]})]})},Pp=p.memo(Np),Mp=({pendingDeposits:e,onCompleteDeposit:t,dk:n,dark:s=!1})=>e.length===0?null:i.jsxs("div",{children:[i.jsx("div",{style:{fontSize:"11px",fontWeight:600,letterSpacing:"1px",color:n.textSecondary,marginBottom:"8px",textTransform:"uppercase"},children:"Pending Deposits"}),i.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"6px"},children:e.map((o,r)=>{const a=u.getChainConfig(o.chainId)?.displayName||`Chain ${o.chainId}`;return i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 12px",backgroundColor:s?n.warningBg:"#fffbeb",border:s?`1px solid ${n.warningBorder}`:"1px solid #fde68a",borderRadius:"8px"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.jsx("div",{style:{width:"24px",height:"24px",borderRadius:"50%",backgroundColor:s?n.hoverBg:"#fde68a",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"11px",fontWeight:600,color:n.warningText},children:o.tokenSymbol.charAt(0)}),i.jsxs("div",{children:[i.jsxs("div",{style:{fontSize:"13px",fontWeight:500,color:n.textPrimary},children:[o.amount," ",o.tokenSymbol]}),i.jsxs("div",{style:{fontSize:"11px",color:n.warningText},children:["on ",a]})]})]}),i.jsx("button",{onClick:()=>t?.(o),style:{padding:"4px 12px",fontSize:"11px",fontWeight:600,backgroundColor:s?n.hoverBg:"#fef3c7",color:s?n.textPrimary:"#92400e",border:s?`1px solid ${n.warningBorder}`:"1px solid #fde68a",borderRadius:"9999px",cursor:"pointer",transition:"background-color 150ms ease, border-color 150ms ease, color 150ms ease"},children:"Complete"})]},`${o.tokenAddress}-${o.chainId}-${r}`)})})]}),Up=p.memo(Mp),Wp=({appName:e,status:t,statusLabel:n,totalUsdValue:s,breakdownSubtitle:o,showUsdSummary:r,address:a,spiceAssets:l,spiceAssetsLoading:c,pendingDeposits:d,customSections:m,notice:f,onDepositClick:h,onWithdrawClick:w,depositDisabled:g,onCompleteDeposit:y,primaryColor:x,buttonStyles:b,dk:v,dark:C=!1,showModeToggle:k,isEmbeddedMode:A,onModeToggle:I,showConnectExternalCta:E,onConnectExternalWallet:N,connectExternalError:R,showHowItWorks:B=!0,canDirectWithdraw:U,onDirectWithdraw:O,directWithdrawState:W,idleBalancesLimit:D})=>{const[F,P]=p.useState(!1);return i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px",padding:"16px",maxHeight:"calc(80vh - 32px)",overflowY:"auto"},children:[i.jsx(jp,{appName:e,status:t,statusLabel:n,totalUsdValue:s,breakdownSubtitle:o,showUsdSummary:r,address:a,dk:v,dark:C,showModeToggle:k,isEmbeddedMode:A,onModeToggle:I}),f&&i.jsx("div",{style:{padding:"10px 12px",borderRadius:"8px",backgroundColor:f.tone==="warning"?C?"rgba(245, 158, 11, 0.12)":"#fffbeb":f.tone==="success"?C?"rgba(16, 185, 129, 0.12)":"#ecfdf5":v.cardBg,border:f.tone==="warning"?C?"1px solid rgba(245, 158, 11, 0.35)":"1px solid #fde68a":f.tone==="success"?C?"1px solid rgba(16, 185, 129, 0.35)":"1px solid #a7f3d0":C?`1px solid ${v.cardBorder}`:"1px solid #e5e7eb",color:f.tone==="warning"?C?"#fbbf24":"#92400e":f.tone==="success"?C?"#34d399":"#047857":v.textSecondary,fontSize:"12px",lineHeight:1.45,fontWeight:500},children:f.message}),E&&i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"6px"},children:[i.jsx("button",{onClick:N,style:{width:"100%",padding:"10px 14px",borderRadius:"8px",backgroundColor:x||"#EA4B4B",color:"#ffffff",border:"none",cursor:"pointer",fontSize:"13px",fontWeight:600,fontFamily:u.font.ui,transition:"opacity 150ms ease"},children:"Connect External Wallet"}),R&&i.jsx("span",{style:{fontSize:"11px",color:C?v.errorText:"#b91c1c",lineHeight:1.4},children:R})]}),i.jsx("div",{style:{height:"1px",backgroundColor:C?"#2d2d2d":"#e5e7eb"}}),i.jsx(Ep,{onDepositClick:h,onWithdrawClick:w,depositDisabled:g,primaryColor:x,buttonStyles:b,dark:C}),B&&i.jsxs("div",{children:[i.jsxs("button",{onClick:()=>P(!F),style:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",padding:"8px 12px",backgroundColor:v.cardBg,border:C?`1px solid ${v.cardBorder}`:"1px solid #e5e7eb",borderRadius:"8px",cursor:"pointer",color:v.textSecondary,fontSize:"12px",fontWeight:500},children:[i.jsx("span",{children:"How It Works"}),i.jsx("span",{style:{transform:F?"rotate(180deg)":"rotate(0deg)",transition:"transform 200ms ease",fontSize:"10px"},children:"\u25BE"})]}),F&&i.jsxs("div",{style:{marginTop:"6px",padding:"10px 12px",backgroundColor:C?v.cardBg:"#f0fdf4",border:C?`1px solid ${v.cardBorder}`:"1px solid #bbf7d0",borderRadius:"8px",fontSize:"12px",lineHeight:1.5,color:C?v.textSecondary:"#374151"},children:["Fund your ",e," Account from any supported chain. Once funded, transact gas-free and asset-abstracted on ",e,"."]})]}),i.jsx(Up,{pendingDeposits:d,onCompleteDeposit:y,dk:v,dark:C}),i.jsx(Pp,{spiceAssets:l,loading:c,dk:v,dark:C,canDirectWithdraw:U,onDirectWithdraw:O,directWithdrawState:W,onWithdrawClick:w,limit:D}),m.map((q,L)=>i.jsx(Tp,{section:q,dk:v,dark:C},L))]})},Lp=p.memo(Wp);function qp({dark:e,onSuccess:t,onError:n}){const{disconnect:s}=yn.useDisconnect(),{logout:o}=ps.usePrivy(),[r,a]=p.useState(!1);return i.jsx(u.Button,{variant:"ghost",fullWidth:!0,dark:e,loading:r,onClick:async()=>{a(!0);try{s(),await o(),t()}catch(l){n(u.sanitizeError(l,"Unable to disconnect. Please try again."))}finally{a(!1)}},children:"Disconnect"})}const Dr=380,Wn=8,zp=[],Hp={};function Nl(e){return e?.trim().replace(/^spice/i,"").replace(/[^a-z0-9]/gi,"").toUpperCase()||void 0}function Vp(e,t){const n=new Map;Object.entries(t).forEach(([o,r])=>{if(!Number.isFinite(r)||r<=0)return;n.set(o,r),n.set(o.toUpperCase(),r);const a=Nl(o);a&&n.set(a,r)});const s=[e.symbol,e.displaySymbol,e.receiptTokenName,e.name,e.displayName];for(const o of s){if(!o)continue;const r=n.get(o)??n.get(o.toUpperCase());if(r!==void 0)return r;const a=Nl(o);if(!a)continue;const l=n.get(a);if(l!==void 0)return l}return 0}const Pl=({appName:e,status:t="active",statusLabel:n,customSections:s=zp,extraAssets:o=[],tokenPrices:r={},tokenLogos:a=Hp,breakdownLabels:l=[],notice:c,styles:d,dark:m,onDepositSuccess:f,onDepositClick:h,onWithdrawClick:w,onCompleteDeposit:g,showModeToggle:y=!1,defaultMode:x,showUsdSummary:b=!0,alwaysShowEmbeddedIdle:v=!1,idleBalancesLimit:C,showDisconnect:k=!1})=>{const A=p.useContext(u.SpiceFlowProviderContext),I=A?.mode!=="7702",E=!!A?.isWhitelistGateActive,N=!!A?.isWhitelistConfigured&&A?.isUserWhitelisted!==!0,R=p.useRef(!1);p.useEffect(()=>{if(!R.current){if(u.hasStoredSpiceFlowMode()){R.current=!0;return}x&&A?.setMode&&(A.setMode(x==="non7702"?"ondemand":"7702"),R.current=!0)}},[A,x]);const[B,U]=p.useState(!1),[O,W]=p.useState(null),[D,F]=p.useState({top:0,bottom:0,left:0,placement:"below"}),P=p.useRef(null),q=p.useRef(null),{address:L,isConnected:ne}=u.useWallet(),pe=A?.embeddedWalletAddress,ce=A?.externalWalletAddress,{embeddedAddress:X}=u.useProviderWallets(),{brand:z,dark:V,primaryColor:fe,dk:Y}=u.useSpiceBrand(d,m),Ce=e??z?.appName??"Spice",be=I&&!ce,j=!I||v,Z=j?pe||X:L,$=p.useMemo(()=>A?.supportedChainIds??S.getChainIdsByNetwork("mainnet"),[A?.supportedChainIds]),H=Xn({owner:j?Z:ce,role:"holding",sourceChains:$,additionalSourceTokens:o.filter(ie=>!ie.receiptTokenId&&(!ie.owner||u.addressesEqual(ie.owner,j?Z:ce))).map(ie=>({address:ie.tokenAddress,chainId:ie.chainId,decimals:ie.tokenDecimals,symbol:ie.tokenSymbol,logoURI:ie.logoURI})),includeRollupAssets:j,enabled:j?!!Z:!!ce}),me=H.assets.filter(ie=>ie._source==="spice"),ge=H.walletAssets,je=H.loading,K=H.refresh,M=j?Z:ce,J=p.useMemo(()=>o.filter(ie=>!ie.owner||ie.owner.toLowerCase()===M?.toLowerCase()).map(ie=>({...ie,owner:ie.owner??M,location:ie.location??(ie.receiptTokenId?"rollup":j?"embedded":"external")})),[o,M,j]),ae=p.useMemo(()=>{const ie=new Map(Object.entries(r).filter(([,ue])=>Number.isFinite(ue)&&ue>0).map(([ue,Te])=>[ue.toLowerCase(),Te]));return ge.map(ue=>({owner:ue.owner,location:ue.location,positionId:ye(ue),tokenAddress:ue.address,tokenSymbol:ue.symbol,tokenDecimals:ue.decimals,chainId:ue.chainId,chainDisplayName:u.getChainName(ue.chainId),balance:ue.balance.toString(),balanceFormatted:ue.balanceFormatted,usdValue:ue.balanceUsd||(ie.get(`${ue.chainId}:${ue.address.toLowerCase()}`)??0)*ue.balanceFormatted,logoURI:ue.logoURI||a[ue.symbol],directWithdraw:j}))},[ge,J,a,r,j]),oe=p.useMemo(()=>{const ie=j?me.map(de=>{const Oe=de.balanceUsd||0,le=Number.isFinite(de.balanceFormatted)?de.balanceFormatted:0,se=Vp(de,r),Qe=de.priceStatus&&se>0?se*le:Oe>0?Oe:se*le;return{owner:de.owner,location:de.location,positionId:ye(de),tokenAddress:de.address,tokenSymbol:de.symbol,tokenDisplaySymbol:u.getAssetDisplaySymbol(de),tokenDisplayName:u.getAssetDisplayName(de),tokenDecimals:de.decimals,chainId:de.chainId,chainDisplayName:u.getAssetDisplayChainName(de),balance:de.balance.toString(),balanceFormatted:de.balanceFormatted,usdValue:Qe,priceStatus:se>0?void 0:de.priceStatus,logoURI:de.logoURI,receiptTokenId:de.receiptTokenId,receiptTokenName:de.receiptTokenName}}):[],ue=de=>`${de.owner?.toLowerCase()}:${de.location}:${de.chainId}:${de.receiptTokenId??S.normalizeNativeTokenAddress(de.tokenAddress).toLowerCase()}`,Te=new Map([...H.rollupAssets,...ge].map(de=>[ue({...de,tokenAddress:de.address}),de])),Be=new Map([...ie,...ae].map(de=>[ue(de),de]));for(const de of be?[]:J){const Oe=ue(de),le=Be.get(Oe);Be.set(Oe,le?{...de,...le,logoURI:de.logoURI??le.logoURI,tokenDisplayName:de.tokenDisplayName??le.tokenDisplayName,tokenDisplaySymbol:de.tokenDisplaySymbol??le.tokenDisplaySymbol}:de)}return[...Be.values()].filter(de=>BigInt(de.balance)>0n&&Oa({isDiscovered:Te.get(ue(de))?.isDiscovered,balanceUsd:de.usdValue},!0)&&u.isAssetAllowed(Te.get(ue(de))??{address:de.tokenAddress,symbol:de.tokenSymbol,displaySymbol:de.tokenDisplaySymbol},A?.allowedTokens)).sort((de,Oe)=>Oe.usdValue-de.usdValue)},[j,be,me,H.rollupAssets,r,ae,J,A?.allowedTokens]),ee=p.useMemo(()=>oe.reduce((ie,ue)=>ie+ue.usdValue,0),[oe]),{pendingDeposits:Ae,refresh:te}=ei({chainIds:$,enabled:!!L,discoverWalletBalances:!0}),Re=p.useMemo(()=>s.reduce((ie,ue)=>ie+(ue.totalValue??0),0),[s]),We=ee+Re,ot=p.useMemo(()=>{const ie=[];ee>0&&ie.push(`${u.formatUsd(ee)} idle`);for(const ue of s){const Te=l.find(Be=>Be.sectionTitle===ue.title)?.label||ue.title.toLowerCase();ie.push(`${u.formatUsd(ue.totalValue??0)} ${Te}`)}return ie.join(" \xB7 ")},[ee,s,l]),ve=p.useCallback(ie=>{g?g(ie):W(ie)},[g]),Ge=p.useCallback(()=>{W(null)},[]),De=p.useCallback(()=>{W(null),f?.()},[f]),at=p.useCallback(()=>{if(!P.current)return;const ie=P.current.getBoundingClientRect(),ue=window.innerHeight-ie.bottom-Wn,Te=ie.top-Wn,Be=ue>=400||ue>=Te?"below":"above",de=Math.max(Wn,Math.min(ie.right-Dr,window.innerWidth-Dr-Wn)),Oe=Be==="below"?ie.bottom+Wn:ie.top-Wn,le=Be==="above"?window.innerHeight-Oe:0;F({top:Oe,bottom:le,left:de,placement:Be})},[]);p.useLayoutEffect(()=>{B&&at()},[B,at]),p.useEffect(()=>{if(!B)return;const ie=Be=>{P.current&&!P.current.contains(Be.target)&&q.current&&!q.current.contains(Be.target)&&U(!1)},ue=Be=>{Be.key==="Escape"&&U(!1)},Te=()=>at();return document.addEventListener("mousedown",ie),document.addEventListener("keydown",ue),window.addEventListener("scroll",Te,{passive:!0}),window.addEventListener("resize",at),()=>{document.removeEventListener("mousedown",ie),document.removeEventListener("keydown",ue),window.removeEventListener("scroll",Te),window.removeEventListener("resize",at)}},[B,at]);const Pe=j?pe||X||L:ce||L,it=p.useCallback(()=>{A?.setMode&&A.setMode(I?"7702":"ondemand")},[A,I]),[nt,xt]=p.useState(null);let Ke=null;try{Ke=ps.useConnectWallet({onSuccess:()=>xt(null),onError:ie=>xt(u.sanitizeError(ie,"Failed to connect wallet."))}).connectWallet}catch{Ke=null}const lt=p.useCallback(()=>{Ke&&(U(!1),xt(null),Ke({walletChainType:"ethereum-only"}))},[Ke]),Ee=!ce&&!!Ke,st=p.useCallback(()=>{U(!1),h?.()},[h]),Je=p.useCallback(ie=>{U(!1),w?.(ie)},[w]),ft=p.useCallback(ie=>{U(!1),ve(ie)},[ve]),[yt,Xe]=p.useState(null),ct=j&&!!ce&&!u.addressesEqual(M,ce),Ue=p.useCallback(ie=>{const ue=ge.find(Te=>Te.chainId===ie.chainId&&u.addressesEqual(Te.address,ie.tokenAddress));ue&&(U(!1),Xe(ue))},[ge]);if(typeof window>"u")return null;const rt=i.jsxs("button",{ref:P,onClick:()=>U(!B),style:{display:"inline-flex",alignItems:"center",gap:"6px",padding:"8px 14px",borderRadius:"9999px",backgroundColor:V?Y.hoverBg:"#ffffff",border:V?`1px solid ${Y.cardBorder}`:"1px solid #e5e7eb",cursor:"pointer",fontSize:"13px",fontWeight:500,fontFamily:u.font.ui,color:V?Y.textPrimary:"#111827",transition:"background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease",boxShadow:V?"none":"0 1px 2px rgba(0,0,0,0.05)"},children:[i.jsxs("span",{children:[Ce," Account"]}),ne&&b&&i.jsxs("span",{style:{color:V?Y.textSecondary:"#6b7280"},children:["\xB7 ",u.formatUsd(We)]}),i.jsx("span",{style:{fontSize:"10px",color:V?Y.textSecondary:"#9ca3af",transform:B?"rotate(180deg)":"rotate(0deg)",transition:"transform 200ms ease"},children:"\u25BE"})]}),Le=B?Gn.createPortal(i.jsxs(i.Fragment,{children:[i.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(0, 0, 0, 0.08)",zIndex:u.z.popover},onClick:()=>U(!1)}),i.jsxs("div",{ref:q,style:{position:"fixed",top:D.placement==="below"?`${D.top}px`:"auto",bottom:D.placement==="above"?`${D.bottom}px`:"auto",left:`${D.left}px`,width:`${Dr}px`,maxWidth:`calc(100vw - ${Wn*2}px)`,maxHeight:"80vh",backgroundColor:V?Y.shell:"#ffffff",border:V?`1px solid ${Y.cardBorder}`:"1px solid #e5e7eb",borderRadius:"12px",boxShadow:V?"0 10px 40px rgba(0, 0, 0, 0.5)":"0 10px 40px rgba(0, 0, 0, 0.12)",zIndex:u.z.popover+1,overflow:"hidden",animation:`accountDisplayFadeIn 200ms ${u.easing.out}`},children:[i.jsx(Lp,{appName:Ce,status:t,statusLabel:n,totalUsdValue:We,breakdownSubtitle:ot,showUsdSummary:b,address:j?Pe:L,spiceAssets:oe,spiceAssetsLoading:je,pendingDeposits:Ae,customSections:s,notice:c,onDepositClick:h?st:void 0,onWithdrawClick:w?Je:void 0,depositDisabled:N,onCompleteDeposit:ft,primaryColor:fe,buttonStyles:d?.button,dk:Y,dark:V,showModeToggle:y,isEmbeddedMode:!I,onModeToggle:it,showConnectExternalCta:Ee,onConnectExternalWallet:lt,connectExternalError:nt,showHowItWorks:!E,canDirectWithdraw:ct,onDirectWithdraw:Ue,idleBalancesLimit:C}),k&&ne&&i.jsx("div",{style:{padding:"0 16px 16px"},children:i.jsx(qp,{dark:V,onSuccess:()=>U(!1),onError:xt})})]}),i.jsx("style",{children:`
|
|
44
|
+
`,Pi=({title:e,showChevron:t,expanded:n,onToggleDetails:s,showClose:o,onClose:r,fontFamily:a,labelColor:l,textPrimary:c,closeHoverBg:d,closePressedBg:m})=>{const[f,h]=p.useState(!1),[w,g]=p.useState(!1);return i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"16px"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",cursor:s?"pointer":"default"},onClick:s,children:[i.jsxs("span",{style:{fontSize:"13px",fontWeight:500,color:l,fontFamily:a},children:[e," "]}),t&&i.jsx(Jn,{color:l,direction:n?"up":"down"})]}),o&&i.jsx("button",{onClick:r,onMouseEnter:()=>h(!0),onMouseLeave:()=>{h(!1),g(!1)},onMouseDown:()=>g(!0),onMouseUp:()=>g(!1),style:{background:w?m:f?d:"none",border:"none",borderRadius:"4px",cursor:"pointer",padding:"4px",display:"flex",alignItems:"center",justifyContent:"center",color:f||w?c:l,transform:w?"scale(0.9)":f?"scale(1.1)":"scale(1)",transition:u.transition.interactive},children:i.jsx(As,{size:16})})]})},Mi=({chainName:e,bg:t,border:n,textPrimary:s,labelColor:o,primaryColor:r})=>i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"20px 16px",borderRadius:"8px",backgroundColor:t,border:`1px solid ${n}`,gap:"12px"},children:[i.jsx(u.Spinner,{size:24,borderWidth:3,color:r}),i.jsxs("div",{children:[i.jsx("p",{style:{margin:0,fontSize:"14px",fontWeight:600,fontFamily:u.font.mono,letterSpacing:"0.5px",color:s},children:"PROCESSING TRANSACTION"}),i.jsxs("p",{style:{margin:"2px 0 0 0",fontSize:"12px",color:o},children:["on ",e]})]})]}),Ui=({bg:e,border:t,left:n,right:s})=>i.jsxs("div",{style:{padding:"10px 12px",borderRadius:"6px",backgroundColor:e,border:`1px solid ${t}`,display:"flex",justifyContent:"space-between",alignItems:"center"},children:[n,s]}),hr=({isOpen:e,onClose:t,onComplete:n,closeOnComplete:s=!1,type:o,results:r,chainId:a,chainName:l,explorerUrl:c,theme:d,styles:m,dark:f,intentStatus:h,onRetry:w,onNewTx:g,onRetryTx:y,asOverlay:x=!0,isProcessing:b=!1,showStepBreakdown:v=!0})=>{const{theme:C,primaryColor:k,dark:I,dk:A}=u.useSpiceBrand(m,f),E=d||C,[D,R]=p.useState(!1),B=l??(a?u.getChainName(a):"Network"),W=c??(a&&u.getExplorerUrl(a,"").replace(/\/tx\/.*$/,"")||void 0),O=I?A.cardBg:"#ffffff",M=I?"0 4px 20px rgba(0, 0, 0, 0.4)":"0 4px 20px rgba(0, 0, 0, 0.1)",U=I?"0 -4px 8px -2px rgba(0, 0, 0, 0.4)":"0 -4px 8px -2px rgba(0, 0, 0, 0.15)",F=A.textSecondary,N=I?A.textPrimary:"#374151",L=I?A.inputBg:"#f9fafb",q=I?A.inputBorder:"#e5e7eb",oe=I?A.inputBg:"#f3f4f6",pe=I?A.inputBorder:"#e5e7eb",[ae,Q]=p.useState(!0),$=I?A.inputBg:"#f9fafb",X=I?A.hoverBg:"#f3f4f6",ee=I?{successBg:A.successBg,successBorder:A.successBorder,successText:A.successText,errorBg:A.errorBg,errorBorder:A.errorBorder,errorText:A.errorText}:{},Y=h?.steps.find(G=>G.status==="failed")?.error;p.useEffect(()=>{!e&&!h&&R(!1)},[e,h]);const we=()=>{R(!0),setTimeout(()=>{window.dispatchEvent(new CustomEvent("tx-complete",{detail:{type:o,results:r}})),window.dispatchEvent(new CustomEvent("spiceflow:action",{detail:{type:o,status:"success",results:r}})),n?.(),s&&t()},300)},be=()=>{Q(!ae)};if(h){const{steps:G,overallStatus:ue}=h,me=ue==="processing",Se=ue==="success",J=ue==="failed",P=G.filter(ne=>ne.transactionHash)[0],_=G.length>1?G.map(ne=>ne.chainName).filter(Boolean).join(" and "):B!=="Network"?B:G[0]?.chainName||B,le=W||(P?u.getExplorerUrl(P.chainId,P.transactionHash||"").replace(/\/tx\/.*$/,""):void 0),te=i.jsxs(i.Fragment,{children:[i.jsx(Pi,{title:me?`Processing ${o.charAt(0).toUpperCase()+o.slice(1)}`:`${o.charAt(0).toUpperCase()+o.slice(1)} results`,showChevron:v,expanded:ae,onToggleDetails:be,showClose:!me,onClose:t,fontFamily:m?.fontFamily||E.typography.fontFamily,labelColor:F,textPrimary:N,closeHoverBg:$,closePressedBg:X}),i.jsx("div",{style:{marginBottom:"16px"},children:me?i.jsx(Mi,{chainName:_,bg:oe,border:pe,textPrimary:N,labelColor:F,primaryColor:k}):i.jsx(Oi,{isSuccess:Se,type:o,chainName:_,explorerUrl:le,txHash:P?.transactionHash,dark:I,...ee,textSecondary:F})}),v&&i.jsx("div",{style:{overflow:"hidden",maxHeight:ae?"300px":"0px",opacity:ae?1:0,transition:"max-height 0.3s ease, opacity 0.3s ease",marginBottom:ae?"16px":"0"},children:i.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:G.map((ne,Ie)=>{const ge=ne.transactionHash?u.getExplorerUrl(ne.chainId,ne.transactionHash):null;return i.jsx(Ui,{bg:L,border:q,left:i.jsx("span",{style:{fontSize:"13px",color:N},children:ne.chainName?`On ${ne.chainName}`:ne.description||`Step ${Ie+1}`}),right:i.jsxs("span",{style:{display:"flex",alignItems:"center",gap:"8px",fontSize:"12px",color:ne.status==="success"?"#10b981":ne.status==="failed"?"#ef4444":F,fontWeight:500},children:[ge&&i.jsx("a",{href:ge,target:"_blank",rel:"noopener noreferrer",style:{color:I?A.infoText:"#2563eb",textDecoration:"none"},onClick:fe=>fe.stopPropagation(),children:"View"}),ne.status==="success"?"\u2713":ne.status==="failed"?"\u2717":"\u25CB"]})},Ie)})})}),!me&&i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:[J&&w&&i.jsx(u.Button,{variant:"outline",fullWidth:!0,onClick:w,theme:E,styles:m,dark:I,children:"TRY AGAIN"}),g&&i.jsxs(u.Button,{variant:"outline",fullWidth:!0,onClick:g,theme:E,styles:m,dark:I,children:["NEW ",o.toUpperCase()," \u2192"]})]})]});return x?i.jsxs("div",{style:{position:"absolute",bottom:0,left:0,right:0,zIndex:10,animation:D?"slideDown 0.3s ease-in forwards":"slideUp 0.3s ease-out forwards",pointerEvents:"auto"},children:[i.jsx("div",{style:{backgroundColor:O,borderRadius:"12px 12px 0 0",width:"100%",padding:"18px 24px 24px",boxShadow:U},children:te}),i.jsx("style",{children:Ni})]}):i.jsx("div",{style:{backgroundColor:O,borderRadius:"12px",padding:"24px",width:"100%",boxShadow:M},children:te})}if(!e&&!b||!b&&(!r||r.length===0))return null;const j=r?r.every(G=>G.success):!1,K=r?.[0],Z=[...r??[]].reverse().find(G=>G.txHash)?.txHash||K?.txHash;return i.jsxs("div",{style:{position:x?"absolute":"relative",bottom:x?0:void 0,left:x?0:void 0,right:x?0:void 0,zIndex:x?10:void 0,animation:x?D?"slideDown 0.3s ease-in forwards":"slideUp 0.3s ease-out forwards":void 0,pointerEvents:"auto",width:"100%"},children:[i.jsx("div",{style:{backgroundColor:O,borderRadius:x?"12px 12px 0 0":"12px",width:"100%",padding:"18px 0 24px",boxShadow:x?U:M},children:i.jsxs("div",{style:{width:"100%",boxSizing:"border-box",padding:"0 24px"},children:[i.jsx(Pi,{title:b?`Processing ${o.charAt(0).toUpperCase()+o.slice(1)}`:`${o.charAt(0).toUpperCase()+o.slice(1)} results`,showChevron:!b&&v,expanded:ae,onToggleDetails:b?void 0:be,showClose:!b,onClose:t,fontFamily:m?.fontFamily||E.typography.fontFamily,labelColor:F,textPrimary:N,closeHoverBg:$,closePressedBg:X}),i.jsx("div",{style:{marginBottom:"16px",animation:"statusFadeIn 220ms cubic-bezier(0.22, 1, 0.36, 1) both"},children:b?i.jsx(Mi,{chainName:B,bg:oe,border:pe,textPrimary:N,labelColor:F,primaryColor:k}):i.jsx(Oi,{isSuccess:j,type:o,chainName:B,explorerUrl:W,txHash:Z,dark:I,...ee,textSecondary:F})},b?"processing":j?"success":"error"),!b&&v&&r&&r.length>1&&i.jsx("div",{style:{overflow:"hidden",maxHeight:ae?"200px":"0px",opacity:ae?1:0,transition:"max-height 0.3s ease, opacity 0.3s ease",marginBottom:ae?"16px":"0"},children:i.jsx("div",{style:{maxHeight:"180px",overflowY:"auto",display:"flex",flexDirection:"column",gap:"8px"},children:r.map((G,ue)=>i.jsx(Ui,{bg:L,border:q,left:i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.jsx("span",{style:{fontWeight:600,fontSize:"13px",color:A.textPrimary,fontFamily:u.font.mono},children:G.asset.symbol}),G.amount&&i.jsx("span",{style:{fontSize:"12px",color:F},children:G.amount})]}),right:i.jsx("span",{style:{fontSize:"12px",color:G.success?"#10b981":"#ef4444",fontWeight:500},children:G.success?"\u2713":"\u2717"})},ue))})}),!b&&!j&&r&&i.jsx("div",{style:{padding:"12px",backgroundColor:A.errorBg,border:`1px solid ${A.errorBorder}`,borderRadius:"8px",marginBottom:"16px"},children:i.jsx("p",{style:{fontSize:"13px",color:A.errorText,margin:0,lineHeight:1.5},children:Y||r.find(G=>!G.success)?.error||`${o.charAt(0).toUpperCase()+o.slice(1)} failed. Please try again.`})}),!b&&i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:[!j&&y&&i.jsxs(u.Button,{variant:"outline",fullWidth:!0,onClick:y,theme:E,styles:m,dark:I,children:["TRY AGAIN ",o.toUpperCase()]}),j&&i.jsx(u.Button,{variant:"outline",fullWidth:!0,onClick:we,theme:E,styles:m,dark:I,children:"DONE"})]})]})}),i.jsx("style",{children:Ni})]})};function ho({activity:e,palette:t,onRefresh:n}){return i.jsxs(i.Fragment,{children:[e.actions.length>0&&i.jsx(Jt,{variant:"info",palette:t,style:{marginTop:12,marginBottom:12},children:i.jsxs("details",{children:[i.jsx("summary",{children:"Recent wallet activity"}),e.actions.map(s=>{const o=s.intents.flatMap(l=>l.steps),r=o.filter(l=>["success","completed"].includes(l.status)).length,a=o.some(l=>["error","reverted"].includes(l.status));return i.jsxs("p",{children:[s.actionId,": ",r,"/",o.length," steps completed.",a?" Remaining work stopped; completed transfers are retained.":r<o.length?" Awaiting backend confirmation.":" Completed."]},s.actionId)}),i.jsx("button",{type:"button",onClick:()=>{e.refresh(),n?.()},children:n?"Refresh activity and balances":"Refresh activity"})]})}),e.error&&i.jsx(Jt,{variant:"warning",palette:t,children:e.error})]})}function Wi(e){const t=new Set(S.getEquivalentAddresses(e).map(n=>n.toLowerCase()));return t.add(e.toLowerCase()),t}const Cu=["USDC","USDT","WETH","WBTC"];function Li(e,t){const n=u.getChainConfig(t);if(!n)return;if(n.nativeCurrency.symbol.toUpperCase()===e.toUpperCase())return{address:S.ZERO_ADDRESS,symbol:n.nativeCurrency.symbol,decimals:n.nativeCurrency.decimals,chainId:t};const s=n.supportedTokens?.find(o=>o.symbol.toUpperCase()===e.toUpperCase());if(s)return{address:s.address.toLowerCase(),symbol:s.symbol,decimals:s.decimals,chainId:t}}function En(e,t,n){const s=u.getChainConfig(t);if(!s)return;if(n!==void 0){if(S.isNativeToken(e)&&!S.getTokenByAddress(e,n))return;const a=Lo(e,n,t);return a?{address:a.address.toLowerCase(),symbol:a.symbol,decimals:a.decimals,chainId:t}:void 0}if(S.isNativeToken(e))return;const o=Wi(e),r=s.supportedTokens?.find(a=>o.has(a.address.toLowerCase()));if(r)return{address:r.address.toLowerCase(),symbol:r.symbol,decimals:r.decimals,chainId:t}}function ku(e){const{sourceAsset:t,outputAsset:n,sourceChainId:s,destinationChainId:o,intermediaryCandidates:r=Cu}=e;if($s(t,n))return{strategy:"direct",sourceAsset:t,outputAsset:n,sourceChainId:s,destinationChainId:o,summary:`${t.symbol} fronted directly`};if(s===o&&(S.isNativeToken(t.address)||!S.getTokenByAddress(t.address,s)))return{strategy:"direct-swap",sourceAsset:t,outputAsset:n,sourceChainId:s,destinationChainId:o,summary:`${t.symbol} \u2192 ${n.symbol} on chain ${s}, no escrow`};if(En(t.address,o,s))return{strategy:"direct",sourceAsset:t,outputAsset:n,sourceChainId:s,destinationChainId:o,summary:`${t.symbol} fronted on destination, swapped to ${n.symbol}`};if(En(n.address,s,o))return{strategy:"source-swap",sourceAsset:t,outputAsset:n,sourceChainId:s,destinationChainId:o,summary:`${t.symbol} \u2192 ${n.symbol} on source chain, then fronted`};for(const a of r){const l=Li(a,s);if(!l||$s(t,l)||$s(n,l))continue;const c=Li(a,o);if(c&&$s(l,c))return{strategy:"intermediary",sourceAsset:t,outputAsset:n,intermediaryAsset:c,sourceChainId:s,destinationChainId:o,summary:`${t.symbol} \u2192 ${a} on source, fronted, then ${a} \u2192 ${n.symbol} on destination`}}throw new u.SpiceflowError("ROUTE_STRATEGY_ERROR",`No viable cross-chain route found from ${t.symbol} (chain ${s}) to ${n.symbol} (chain ${o}). No intermediary asset is available on both chains.`,{sourceAsset:t.symbol,outputAsset:n.symbol,sourceChainId:s,destinationChainId:o,candidatesChecked:r})}async function Su(e){const{route:t,sourceAmount:n,userAddress:s,registry:o,actionCalls:r,slippage:a}=e;async function l(c,d,m,f){const h=await o.resolveSwap({type:"swap",tokenIn:d,tokenOut:m,amountIn:f,maxSlippage:a},c,s);if(!h)throw new u.SpiceflowError("NO_LIQUIDITY",`No venue returned a quote for ${d} \u2192 ${m} on chain ${c}. No liquidity available for this pair.`,{chainId:c,tokenIn:d,tokenOut:m,amountIn:f.toString()});return h}switch(t.strategy){case"direct-swap":{const c=await l(t.destinationChainId,t.sourceAsset.address,t.outputAsset.address,n);return{chainBatches:[{chainId:t.destinationChainId,calls:[...c.calls,...r]}],solverFrontToken:t.outputAsset,solverFrontAmount:0n,resolvedSwaps:{sourceSwap:c}}}case"direct":{const c=En(t.sourceAsset.address,t.destinationChainId,t.sourceChainId)||t.sourceAsset;if(Wi(c.address).has(t.outputAsset.address.toLowerCase()))return{chainBatches:[{chainId:t.destinationChainId,calls:r}],solverFrontToken:c,solverFrontAmount:n,resolvedSwaps:{}};const d=await l(t.destinationChainId,c.address,t.outputAsset.address,n);return{chainBatches:[{chainId:t.destinationChainId,calls:[...d.calls,...r]}],solverFrontToken:c,solverFrontAmount:n,resolvedSwaps:{destinationSwap:d}}}case"source-swap":{const c=En(t.outputAsset.address,t.sourceChainId,t.destinationChainId);if(!c)throw new u.SpiceflowError("ROUTE_TOKEN_NOT_FOUND",`Output asset ${t.outputAsset.symbol} (${t.outputAsset.address}) not found on source chain ${t.sourceChainId}`,{token:t.outputAsset.symbol,address:t.outputAsset.address,chainId:t.sourceChainId,side:"source"});const d=En(t.outputAsset.address,t.destinationChainId,t.destinationChainId);if(!d)throw new u.SpiceflowError("ROUTE_TOKEN_NOT_FOUND",`Output asset ${t.outputAsset.symbol} (${t.outputAsset.address}) not found on destination chain ${t.destinationChainId}`,{token:t.outputAsset.symbol,address:t.outputAsset.address,chainId:t.destinationChainId,side:"destination"});const m=await l(t.sourceChainId,t.sourceAsset.address,c.address,n);return{chainBatches:[{chainId:t.sourceChainId,calls:m.calls},{chainId:t.destinationChainId,calls:r}],solverFrontToken:d,solverFrontAmount:m.amountOutMinimum,resolvedSwaps:{sourceSwap:m}}}case"intermediary":{if(!t.intermediaryAsset)throw new u.SpiceflowError("ROUTE_STRATEGY_ERROR","Intermediary strategy requires an intermediary asset but none was provided in the route plan.",{strategy:t.strategy});const c=En(t.intermediaryAsset.address,t.sourceChainId,t.destinationChainId);if(!c)throw new u.SpiceflowError("ROUTE_TOKEN_NOT_FOUND",`Intermediary ${t.intermediaryAsset.symbol} (${t.intermediaryAsset.address}) not found on source chain ${t.sourceChainId}`,{token:t.intermediaryAsset.symbol,address:t.intermediaryAsset.address,chainId:t.sourceChainId,side:"source"});const d=await l(t.sourceChainId,t.sourceAsset.address,c.address,n),m=await l(t.destinationChainId,t.intermediaryAsset.address,t.outputAsset.address,d.amountOutMinimum);return{chainBatches:[{chainId:t.sourceChainId,calls:d.calls},{chainId:t.destinationChainId,calls:[...m.calls,...r]}],solverFrontToken:t.intermediaryAsset,solverFrontAmount:d.amountOutMinimum,resolvedSwaps:{sourceSwap:d,destinationSwap:m}}}default:throw new u.SpiceflowError("ROUTE_STRATEGY_ERROR",`Unknown route strategy: ${t.strategy}`,{strategy:t.strategy})}}function Iu(e,t,n){if(!e||!t)return null;if(e._source==="wallet"){if(t===e.chainId)return{address:e.address,symbol:e.symbol,name:e.name||e.symbol,decimals:e.decimals,logoURI:e.logoURI};const f=S.getTokensForChain(t).find(h=>h.equivalenceGroup==="USDC"&&h.symbol.toUpperCase()==="USDC");return!f||n.length>0&&!n.some(h=>u.addressesEqual(h.address,f.address))?null:{address:f.address,symbol:"USDC",name:f.name||"USD Coin",decimals:f.decimals,logoURI:f.logo}}const s=Kn(e,t),o=Object.entries(e.chainTokens??{}).flatMap(([f,h])=>{const w=hn(f);return w?.chainId===t?[{parsed:w,detail:h}]:[]}),r=f=>n.find(h=>u.addressesEqual(h.address,f))??null,a=f=>{const h=o.find(({parsed:y})=>u.addressesEqual(y.address,f));if(!h)return null;const w=u.getChainConfig(t);if(S.isNativeToken(f))return w?{address:S.ZERO_ADDRESS,symbol:w.nativeCurrency.symbol,name:w.nativeCurrency.name,decimals:w.nativeCurrency.decimals,logoURI:e.logoURI}:null;const g=w?.supportedTokens?.find(y=>u.addressesEqual(y.address,f));return!g||!Wo(e,f,t)?null:{address:h.parsed.address,symbol:g.symbol,name:g.name||h.detail?.name||e.displayName||e.name||e.symbol,decimals:g.decimals,logoURI:g.logo||e.logoURI}},l=o.map(({parsed:f})=>f.address).filter(S.isNativeToken);for(const f of[...s,...l]){if(S.isNativeToken(f)){const g=a(f);if(g)return g}const h=r(f);if(h)return h;const w=a(f);if(w)return w}if(e.chainTokens||e.receiptTokenId)return null;const c=rn(e,t);if(c){const f=r(c);if(f)return f}const d=En(e.address,t,e.chainId);return d?r(d.address)||(n.length>0?null:{address:d.address,symbol:d.symbol||e.symbol,name:e.displayName||e.name||e.symbol,decimals:d.decimals??e.decimals,logoURI:e.logoURI}):null}function Au(e){const t=e.find(n=>S.isSpicenetChainId(n.chainId))?.calls?.[0]?.data;if(!t)return null;try{const n=T.decodeFunctionData({abi:S.spicenetAbi,data:t});return n.functionName!=="createWithdrawalRequest"?null:n.args[0].transfers.map(s=>({token:s.token,recipient:s.to,amount:s.amount}))}catch{return null}}function Eu(e,t){if(!e||e.length!==t.length)return!1;const n=s=>s.reduce((o,r)=>o+r.amount,0n);return n(e)!==n(t)?!1:e.every((s,o)=>{const r=t[o];return s.token.toLowerCase()!==r.token.toLowerCase()||s.recipient.toLowerCase()!==r.recipient.toLowerCase()?!1:s.recipient.toLowerCase()===S.SPICE_GAS_FEE_RECIPIENT.toLowerCase()?u.amountsWithinBps(s.amount,r.amount,100n):s.recipient.toLowerCase()!==S.SPICE_PLATFORM_FEE_RECIPIENT.toLowerCase()||s.amount===r.amount})}function Fu(e,t){const n=e.intents.flatMap(r=>r.batches).filter(r=>{const a=u.getBatchFees(r);return BigInt(r.quotedAmount)>0n||BigInt(r.totalDebit)>0n||a.totalFee>0n}),s=n.filter(r=>r.chainId===t),o=s.length>0?s:n;return o.length===1?o[0]:null}function Tu(e){const t=new Map;for(const n of e){if(n.amount<=0n)continue;const s=n.token.toLowerCase(),o=n.recipient.toLowerCase(),r=`${s}:${o}`,a=t.get(r);a?a.amount+=n.amount:t.set(r,{...n})}return[...t.values()]}function qi(e,t){if(!e.token||!e.recipient||e.chainId===null)return null;const n=Fu(t,e.chainId);if(!n)return null;const{gasFee:s,bridgeFee:o,spicenetFee:r}=u.getBatchFees(n),a=s+o,l=e.grossAmountRaw-a-r;if(l<=0n)throw new Error("Withdrawal amount does not cover the network fee.");const c=[{token:e.token.address,recipient:e.recipient,amount:l}];return a>0n&&c.push({token:e.token.address,recipient:S.SPICE_GAS_FEE_RECIPIENT,amount:a}),r>0n&&c.push({token:e.token.address,recipient:S.SPICE_PLATFORM_FEE_RECIPIENT,amount:r}),Tu(c)}function Bu(e,t,n){const s=qi(e,t);return!s||Eu(Au(n),s)?null:e.buildWithdrawBatches(s)}async function zi(e){if(e.executionContextRef.current){await Hi(e);return}if(!e.batches.length||!e.walletAddress||!e.recipient)return;const t=u.relayerService.getBaseUrl();e.ui.setIsExecuting(!0),e.ui.setExecutionError(null),e.ui.setExecutionProgress(null),e.executionContextRef.current=null,e.ui.setLockedGasFee(e.gasFee);try{let n=e.batches;if(e.isNon7702&&e.onWithdrawExecute)await e.onWithdrawExecute(e.amount);else{if(!e.isNon7702&&!n.some(r=>S.isSpicenetChainId(r.chainId)))throw new Error("Spice withdrawals must include a Spicenet funding batch before the destination chain batch.");const s=e.token?.address||"",o={useCustomTransfers:!0};if(e.buildSpicenetBatch){const r=e.feeEstimate??await e.execution.estimate(n,s,0n,o),a=qi(e,r);a&&(n=e.buildWithdrawBatches(a));const l=r.intents[0]?.batches.find(c=>c.chainId===e.chainId)??r.intents[0]?.batches[0]??null;l&&e.ui.setLockedGasFee(u.getBatchFees(l).totalFee)}else{const r=(e.feeEstimate??await e.execution.estimate(n,s,0n,o)).intents[0]?.batches[0]??null;r&&e.ui.setLockedGasFee(u.getBatchFees(r).totalFee)}await e.execution.execute(n,s,0n,r=>{r.actionId&&r.intentId&&typeof r.intentIndex=="number"&&typeof r.totalSteps=="number"&&(e.executionContextRef.current={actionId:r.actionId,intentId:r.intentId,intentIndex:r.intentIndex,totalSteps:r.totalSteps,autoContinue:r.autoContinue,apiUrl:t,finish:()=>gr(e)}),e.ui.setExecutionProgress(r)},void 0,e.buildSpicenetBatch?{...o,adjustBatchesForEstimate:({feeEstimate:r,chainBatches:a})=>Bu(e,r,a)}:{...o,skipPreSubmitFeeEstimate:!0})}await gr(e)}catch(n){const s=n instanceof Error?n.message:"Withdraw failed";e.ui.setExecutionError(s)}finally{e.ui.setIsExecuting(!1)}}async function gr(e){window.dispatchEvent(new CustomEvent("withdraw-completed")),await e.onWithdrawSuccess?.({token:e.token?.symbol||"",amount:e.amount,chainId:e.chainId})}async function Hi(e){const t=e.executionContextRef.current;if(!t){if(e.isNon7702&&e.onWithdrawExecute){await zi(e);return}e.ui.setExecutionError("The previous withdrawal action is unavailable. Reconcile it before starting another.");return}const n=t.apiUrl?new u.RelayerService:u.relayerService;t.apiUrl&&n.setBaseUrl(t.apiUrl),e.ui.setIsExecuting(!0),e.ui.setExecutionError(null),e.ui.setExecutionProgress({step:"executing",message:"Resuming existing action...",actionId:t.actionId,intentId:t.intentId,intentIndex:t.intentIndex,totalSteps:t.totalSteps});try{let s=t.totalSteps;for(let o=0;o<t.totalSteps;o++)if((await n.checkStepStatus(t.intentId,o)).data.status!=="success"){s=o;break}if(s>=t.totalSteps)e.ui.setExecutionProgress(o=>({...o||{step:"success",message:"Transaction successful!",actionId:t.actionId,intentId:t.intentId,intentIndex:t.intentIndex,totalSteps:t.totalSteps},step:"success",message:"Transaction successful!"}));else for(let o=s;o<t.totalSteps;o++){const r=await ui({actionId:t.actionId,intentIndex:t.intentIndex,intentId:t.intentId,stepIndex:o,chainId:e.chainId??void 0,observeOnly:t.autoContinue,maxPolls:t.autoContinue?Number.POSITIVE_INFINITY:void 0,relayer:n,completeOnExecution:!e.isNon7702&&o===t.totalSteps-1,onStatusMessage:(a,l)=>{e.isMountedRef.current&&e.ui.setExecutionProgress({step:"executing",message:a,txHash:l,actionId:t.actionId,intentId:t.intentId,intentIndex:t.intentIndex,totalSteps:t.totalSteps})}});if(!e.isMountedRef.current)return;e.ui.setExecutionProgress({step:o===t.totalSteps-1?"success":"executing",message:o===t.totalSteps-1?"Transaction successful!":"Executing remaining steps...",txHash:r,actionId:t.actionId,intentId:t.intentId,intentIndex:t.intentIndex,totalSteps:t.totalSteps})}await(t.finish?.()??gr(e))}catch(s){const o=s instanceof Error?s.message:"Withdraw failed";e.ui.setExecutionError(o)}finally{e.ui.setIsExecuting(!1)}}async function Ru(e){const t=await e.estimate(e.batches,e.tokenAddress,0n,{useCustomTransfers:!0,signal:e.signal}),n=t.intents.flatMap(o=>o.batches).filter(o=>u.getBatchFees(o).totalFee>0n),s=n.filter(o=>o.chainId===e.chainId)[0]??n[0]??t.intents[0]?.batches[0];if(!s)throw new Error("No gas fee estimate was returned for this withdraw.");return{gasFee:u.getBatchFees(s).totalFee,feeEstimate:t}}function xr(e,t){return T.formatUnits(e,t).replace(/(\.\d*?[1-9])0+$|\.0+$/,"$1")}function ju(e,t,n){return sn(e,t,n,"floor")}function Vi(e,t,n=!1){if(e<=0)return"$0";if(!t||!Number.isFinite(t)||t<=0)return"\u2014";const s=e*t;return`$${s>=1?s.toFixed(3).replace(/0+$/,"").replace(/\.$/,""):s.toFixed(4).replace(/0+$/,"").replace(/\.$/,"")}${n?" (stale)":""}`}function Du(e,t){return t?JSON.stringify({tokenAddress:t.toLowerCase(),batches:e.map(n=>({chainId:n.chainId,calls:n.calls.map(s=>({to:s.to.toLowerCase(),value:s.value.toString(),data:s.data})),tokenTransfers:(n.tokenTransfers??[]).map(s=>({from:s.from,to:s.to.toLowerCase(),token:s.token.toLowerCase(),amount:s.amount.toString()}))}))}):null}const Ou=36;function es(e){return typeof e=="number"&&Number.isInteger(e)&&e>=0&&e<=Ou}function Ts(e){return!e.balanceError&&e.balanceStatus!=="stale"&&e.balance>=0n&&es(e.decimals)&&!e.isNative&&!S.isNativeToken(e.address)}function yr(e,t){if(!e.chainTokens||Array.isArray(e.chainTokens))return null;let n;for(const[s,o]of Object.entries(e.chainTokens)){const r=hn(s);if(!(!r||r.chainId!==t)){if(n)return null;n={address:r.address,decimals:o?.decimals}}}return n??null}function wr(e,t,n){if(e<0n)return null;const s=S.convertAmountBetweenDecimals(e,t,n);return S.convertAmountBetweenDecimals(s,n,t)===e?s:null}function jn(e,t){return es(e.receiptTokenDecimals)&&wr(t,e.decimals,e.receiptTokenDecimals)!==null}function Nu(e,t){if(!es(e.receiptTokenDecimals))return-1n;const n=S.convertAmountBetweenDecimals(t,e.decimals,e.receiptTokenDecimals),s=S.convertAmountBetweenDecimals(n,e.receiptTokenDecimals,e.decimals);return s<=t?s:-1n}function go(e,t){return e.owner?.toLowerCase()===t.toLowerCase()}function Pu(e,t,n,s,o){if(!e)return[];const r=[];for(const a of Array.isArray(e)?e:[e]){if(a.amount<0n||!go(a.asset,s)||a.asset.chainId!==o)return null;const l=xe(a.asset);if(l!==xe(t)&&l!==xe(n))return null;const c=r.find(d=>d.positionId===l);c?c.amount+=a.amount:r.push({positionId:l,amount:a.amount})}return r}function Qi(e,t,n,s,o,r){if(!n||!/^0x[0-9a-f]{40}$/i.test(n)||!go(e,n)||e.chainId!==s||!Ts(e))return;let a,l,c;if(e.location==="embedded"&&e._source!=="spice"){a=e,c=e.address;const C=t.filter(k=>{const I=yr(k,s);return k.location==="rollup"&&k._source!=="wallet"&&go(k,n)&&k.chainId===s&&Ts(k)&&!!k.receiptTokenId&&!!I&&u.addressesEqual(I.address,c)});if(C.length!==1)return;[l]=C}else if(e.location==="rollup"&&e._source!=="wallet"&&e.receiptTokenId){l=e;const C=yr(e,s);if(!C)return;c=C.address;const k=t.filter(I=>I.location==="embedded"&&I._source!=="spice"&&go(I,n)&&I.chainId===s&&Ts(I)&&u.addressesEqual(I.address,c));if(k.length!==1)return;[a]=k}else return;if(!a||!l||!c||!Ts(a)||!Ts(l)||a.location!=="embedded"||l.location!=="rollup"||!l.receiptTokenId||!es(a.decimals)||a.decimals!==l.decimals||!es(l.receiptTokenDecimals))return;const d=yr(l,s);if(!d||!u.addressesEqual(d.address,c)||d.decimals!==void 0&&d.decimals!==a.decimals)return;const m=xe(a),f=xe(l);if(m===f||t.filter(C=>xe(C)===m).length!==1||t.filter(C=>xe(C)===f).length!==1)return;let h=a.balance,w=o??l.balance;if(w<0n||w>l.balance)return;const g=Pu(r,a,l,n,s);if(g===null)return;for(const C of g)if(C.positionId===m){if(C.amount>h)return;h-=C.amount}else{if(C.amount>w||!jn(l,C.amount))return;w-=C.amount}const y=xe(e),x=e.decimals;if(!es(x))return;const b=wr(h,a.decimals,x),v=wr(w,l.decimals,x);if(!(b===null||v===null))return{wallet:a,escrow:l,owner:n,chainId:s,token:c,decimals:a.decimals,representativePositionId:y,representativeDecimals:x,walletAvailable:h,escrowAvailable:w,availableBalance:b+v,...g.length===1?{reserve:g[0]}:{},reserves:g}}function Gi(e,t,n,s){const o=xe(e);return{positionId:o,asset:e,amount:t,reservedAmount:n.find(r=>r.positionId===o)?.amount??0n,availableAmount:s}}function br(e,t,n,s){if(t<=0n)throw new RangeError("Enter an amount within the available balance.");const o=s?.quoteOnly===!0;if(!o&&t>e.availableBalance)throw new RangeError("Enter an amount within the available balance.");let r,a,l=0n,c=0n,d=0n;if(n==="escrow"){const m=t<e.escrowAvailable?t:e.escrowAvailable;if(a=Nu(e.escrow,m),a<0n)throw new RangeError("Enter an amount within the available balance.");if(l=t-a,r=l,c=t,!o&&l>e.walletAvailable||!jn(e.escrow,l)||!jn(e.escrow,c))throw new RangeError("Enter an amount within the available balance.")}else if(r=t<e.walletAvailable?t:e.walletAvailable,d=r,c=t-r,a=c,!o&&c>e.escrowAvailable||!jn(e.escrow,c))throw new RangeError("Enter an amount within the available balance.");return{owner:e.owner,chainId:e.chainId,token:e.token,decimals:e.decimals,representativePositionId:e.representativePositionId,representativeDecimals:e.representativeDecimals,route:n,grossAmount:t,insufficient:r>e.walletAvailable||a>e.escrowAvailable,positions:[Gi(e.wallet,r,e.reserves,e.walletAvailable),Gi(e.escrow,a,e.reserves,e.escrowAvailable)],walletDeposit:l,escrowWithdrawal:c,walletInPlace:d}}function vr(e,t,n,s,o){if(!e.positions.find(m=>m.positionId===e.representativePositionId))throw new Error("The source balance changed. Review the available amount before continuing.");const r=t.filter(m=>xe(m)===e.representativePositionId);if(r.length!==1)throw new Error("The source balance changed. Review the available amount before continuing.");if(e.insufficient)throw new Error("The source balance changed. Review the available amount before continuing.");const a=e.positions.filter(m=>m.reservedAmount>0n).map(m=>({asset:m.asset,amount:m.reservedAmount})),l=Qi(r[0],t,n,s,o,a);if(!l||l.representativePositionId!==e.representativePositionId||l.representativeDecimals!==e.representativeDecimals||l.owner.toLowerCase()!==e.owner.toLowerCase()||l.chainId!==e.chainId||!u.addressesEqual(l.token,e.token)||l.decimals!==e.decimals)throw new Error("The source balance changed. Review the available amount before continuing.");if(e.grossAmount<=0n||e.positions.length!==2)throw new Error("The source balance changed. Review the available amount before continuing.");const c=e.positions.find(m=>m.positionId===xe(l.wallet)),d=e.positions.find(m=>m.positionId===xe(l.escrow));if(!c||!d||c.positionId===d.positionId||c.amount<0n||d.amount<0n||c.reservedAmount<0n||d.reservedAmount<0n)throw new Error("The source balance changed. Review the available amount before continuing.");if(e.route==="escrow"){if(e.walletDeposit!==c.amount||e.walletInPlace!==0n||e.escrowWithdrawal!==e.grossAmount||c.amount+d.amount!==e.grossAmount||!jn(l.escrow,d.amount)||!jn(l.escrow,c.amount)||!jn(l.escrow,e.escrowWithdrawal))throw new Error("The source balance changed. Review the available amount before continuing.")}else if(e.walletDeposit!==0n||e.walletInPlace!==c.amount||e.escrowWithdrawal!==d.amount||c.amount+d.amount!==e.grossAmount||!jn(l.escrow,d.amount))throw new Error("The source balance changed. Review the available amount before continuing.");if(c.amount>l.walletAvailable||d.amount>l.escrowAvailable)throw new Error("The source balance changed. Review the available amount before continuing.");for(const m of e.positions){const f=t.find(h=>xe(h)===m.positionId);if(!f||f.decimals!==m.asset.decimals||f.receiptTokenDecimals!==m.asset.receiptTokenDecimals||f.receiptTokenId!==m.asset.receiptTokenId)throw new Error("The source balance changed. Review the available amount before continuing.")}}function xo(e,t,n){const s=n.filter(o=>o.amount>0n);return{chainId:e,domain:"evm",tokenTransfers:[],calls:S.isNativeToken(t)?s.map(o=>({to:o.recipient,value:o.amount,data:"0x"})):s.map(o=>({to:t,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[o.recipient,o.amount]})}))}}new Set([S.SPICE_GAS_FEE_RECIPIENT,S.SPICE_PLATFORM_FEE_RECIPIENT].map(e=>e.toLowerCase()));function Mu(e){const t=new Map;for(const n of e){if(n.amount<=0n)continue;const s=T.getAddress(n.token),o=T.getAddress(n.to),r=`${s.toLowerCase()}:${o.toLowerCase()}`,a=t.get(r);a?a.amount+=n.amount:t.set(r,{token:s,to:o,amount:n.amount})}return[...t.values()]}function Uu(e,t){return`0x${t}${e.slice(4)}`}function Ki(e,t,n,s){if(e.some(m=>m.domain==="spicenet"))return e;const o=n?.intents.flatMap(m=>m.batches),r=m=>m.from==="escrow",a=e.map(m=>{const f=o?.find(E=>E.chainId===m.chainId);if(!f)return m;const h=u.getBatchFees(f),w=h.totalFee;if(w<=0n)return m;const g=(m.tokenTransfers??[]).filter(E=>r(E)&&T.getAddress(E.to).toLowerCase()===t.toLowerCase()),y=g.find(E=>!S.isNativeToken(T.getAddress(E.token)))??g[0];if(!y)return m;const x=T.getAddress(y.token),b=S.isNativeToken(x);let v=!1;const C=(m.tokenTransfers??[]).map(E=>v||!r(E)||T.getAddress(E.to).toLowerCase()!==t.toLowerCase()||T.getAddress(E.token).toLowerCase()!==x.toLowerCase()?E:(v=!0,{...E,amount:s?.payoutAlreadyGross?BigInt(E.amount):BigInt(E.amount)+w}));if(!v)return m;const k=(E,D)=>b?{to:E,value:D,data:"0x"}:{to:x,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[E,D]})},I=[];h.spicenetFee>0n&&I.push(k(S.SPICE_PLATFORM_FEE_RECIPIENT,h.spicenetFee));const A=h.gasFee+h.bridgeFee;return A>0n&&I.push(k(S.SPICE_GAS_FEE_RECIPIENT,A)),{...m,tokenTransfers:C,calls:[...I,...m.calls]}}),l=a.flatMap(m=>(m.tokenTransfers??[]).filter(r).map(f=>{const h=T.getAddress(f.token),w=T.getAddress(f.to),g=[{token:h,to:w,amount:BigInt(f.amount)}];return{chainId:m.chainId,transfers:Mu(g)}}));if(l.length===0)return e;const c=s?.requestTimestampMs??Date.now(),d=BigInt(Math.floor(c/1e3))+3600n;return[{chainId:S.SPICENET_NATIVE_CHAIN_ID,domain:"spicenet",tokenTransfers:[],calls:l.map((m,f)=>{const h=T.keccak256(T.encodeAbiParameters([{type:"address"},{type:"address"},{type:"uint256"},{type:"uint256"},{type:"uint256"}],[t,m.transfers[0].token,m.transfers.reduce((g,y)=>g+y.amount,0n),BigInt(m.chainId),BigInt(c+f)])),w=Uu(h,"77");return{to:"0x0000000000000000000000000000000000000000",value:0n,data:T.encodeFunctionData({abi:S.spicenetAbi,functionName:"createWithdrawalRequest",args:[{chainId:`evm:${m.chainId}`,idempotenceKey:w,nbf:0n,exp:d,metadata:"{}",transfers:m.transfers.map(g=>({token:g.token.toLowerCase(),to:g.to,amount:g.amount}))}]})}})},...a]}function Dn(e,t,n,s){const o=e.filter(a=>a.domain!=="spicenet"),r=a=>(a.tokenTransfers??[]).some(l=>l.from==="escrow");return[...o.filter(a=>!r(a)),...Ki(o.filter(r),t,n,s)]}class ts extends Error{constructor(t,n){super("The selected balance cannot cover the fee funding amount"),this.requiredAmount=t,this.balance=n,this.name="InsufficientFeeFundingBalanceError"}}function Cr(e,t,n,s,o){const r=e[e.length-1];if(!r?.calls.length||r.domain==="spicenet")throw new Error("Proceeds fees require a final destination action");const a=[{to:S.SPICE_PLATFORM_FEE_RECIPIENT,amount:o},{to:S.SPICE_GAS_FEE_RECIPIENT,amount:s}].filter(l=>l.amount>0n);return e.map(l=>l===r?{...l,calls:[...l.calls,...a.map(c=>({to:n,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[c.to,c.amount]})}))],tokenTransfers:[...l.tokenTransfers??[],...a.map(c=>({from:t,to:c.to,token:n,amount:c.amount}))]}:l)}async function Zi(e,t,n,s,o){const r=S.hashChainBatches(e),a=await u.relayerService.estimateBatchGas({user:t,outputToken:n,signal:s,requireSimulation:!0,includePlatformFee:o!==void 0,chainBatches:e.map((l,c)=>({...l,hash:r[c].hash}))});if(a.gasQuoteSource!=="estimated"||!a.simulationVerified)throw new Error("Action proceeds require a successful live batch simulation; fallback gas pricing is not sufficient");if(o!==void 0&&(a.platformFee===void 0||a.platformFee>o))throw new Error("Fee conversion platform price changed; refresh before retrying");return a.gasFee}async function Yi(e){if(e.proceeds.token.toLowerCase()!==e.token.toLowerCase())throw new Error("Action proceeds must use the destination fee token");const t=await e.proceeds.resolve(e.signal);if(e.signal?.aborted)throw new Error("Action proceeds quote was cancelled");if(t<0n)throw new Error("Action proceeds cannot be negative");const n=await e.baseline();if(!n?.preview)throw new Error("Action fee quote is unavailable");let s=n.preview.gasFee;const o=n.preview.spicenetFee,r=n.preview.bridgeFee??0n;for(let a=0;a<5;a++){const l=s+o+r,c=t<l?t:l,d=l-c;if(d>0n&&e.fundShortfall===!1)throw new ts(l,t);const m=d>0n?(d*110n+99n)/100n+2n:0n;let f=m,h;const w=Dn(await e.buildBatches(m,{actionAmountOverride:e.actionAmountFor?.(l),onSourceSpend:x=>{f=x},onActionCalls:x=>{h=x}}),e.owner),g=Cr(w,e.owner,e.token,s+r,o),y=await Zi(g,e.owner,e.token,e.signal);if(y<=s&&(s-y)*100n<=y*15n)return{preview:{...n.preview,grossAmount:m,netAmount:0n,gasFee:s,totalFee:l,gasQuoteSource:"estimated"},feeEstimate:n.feeEstimate,grossFundingAmount:m,proceedsAvailable:t,proceedsUsed:c,fundingBatches:g,sourceSpendCap:f,destinationAmount:0n,actionDefinition:h};s=y}throw new Error("Action proceeds fee estimate did not converge")}function Xi(e,t){let n,s;if(S.isNativeToken(t)){if(e.data!=="0x")return null;n=e.to,s=e.value}else{if(!u.addressesEqual(e.to,t))return null;try{const o=T.decodeFunctionData({abi:T.erc20Abi,data:e.data});if(o.functionName!=="transfer")return null;[n,s]=o.args}catch{return null}}return u.addressesEqual(n,S.SPICE_GAS_FEE_RECIPIENT)?{gas:s,platform:0n}:u.addressesEqual(n,S.SPICE_PLATFORM_FEE_RECIPIENT)?{gas:0n,platform:s}:null}async function Wu(e,t,n){const s=u.getClientForChain(e);return S.isNativeToken(n)?s.getBalance({address:t}):s.readContract({address:n,abi:T.erc20Abi,functionName:"balanceOf",args:[t]})}function ns(e,t,n){return e.map(s=>s.chainId===t?{...s,calls:s.calls.filter(o=>!Xi(o,n))}:s)}function Ji(e,t,n){if(!e.feeOnlyAction)return{};const s=e.embeddedWalletAddress??e.providerEmbeddedAddress,o=e.feeQuote?.fundingSource,r=o&&o.kind!=="proceeds"?void 0:e.actionProceeds,a=o&&(o.kind==="input"||o.kind==="balance"&&o.asset?._source==="wallet")?o:void 0;if(r||e.feeQuote?.fundingConversion||a){const m=e.feeQuote?.fundingConversion,f=r??{token:t,resolve:async()=>0n},h=e.feeQuote?.preview,w=e.feeQuote?.proceedsUsed,g=m?.fromProceeds?m.tokenIn:t;if(!h||w===void 0||!a&&f.token.toLowerCase()!==g.toLowerCase())throw new Error("Refresh the action proceeds quote");const y=h.gasFee+(h.bridgeFee??0n),x=h.spicenetFee,b=a?async()=>{e.validateFeeQuote?.();const C=await Wu(e.resolvedChainId,s,a.token);e.validateFeeQuote?.();const k=a.kind==="input"?a.amount:(m?.amountInMax??w)+(a.reservedAmount??0n);if(e.signal?.aborted||C<k||m&&m.amountOut<y+x)throw new Error("The fee funding balance changed; refresh before retrying");return m?[{chainId:e.resolvedChainId,token:t,amount:m.amountOut}]:[]}:async()=>{e.validateFeeQuote?.();const C=await f.resolve(e.signal);if(e.validateFeeQuote?.(),e.signal?.aborted||(m?.fromProceeds?C<m.amountInMax||m.amountOut<y+x:C<w||C+(m?.amountOut??n)<y+x))throw new Error("Action proceeds changed; refresh before retrying");return m?.fromProceeds?[{chainId:e.resolvedChainId,token:m.tokenIn,amount:m.amountInMax},{chainId:e.resolvedChainId,token:t,amount:m.amountOut}]:[{chainId:e.resolvedChainId,token:t,amount:w+(m?.amountOut??0n)}]},v=async C=>{await b();const k=await Zi(C,s,t,e.signal,m?x:void 0);if(await b(),(k>h.gasFee?k-h.gasFee:h.gasFee-k)*100n>k*15n)throw new Error("Action gas quote changed; refresh before retrying")};return{resolveActionOutputCredits:b,prepareForSigning:async C=>{if(e.feeQuote?.sourceAllocation||e.feeQuote?.feeSourceAllocation)return await v(C),C;const k=ns(C,e.resolvedChainId,t).map(A=>({...A,tokenTransfers:A.tokenTransfers?.filter(E=>!(typeof E.from=="string"&&u.addressesEqual(E.from,s)&&(u.addressesEqual(E.to,S.SPICE_GAS_FEE_RECIPIENT)||u.addressesEqual(E.to,S.SPICE_PLATFORM_FEE_RECIPIENT))))})),I=Cr(k,s,t,y,x);return await v(I),I},validateBeforeSubmit:v}}const l=S.getTokenByAddress(t,e.resolvedChainId),c={chainId:e.resolvedChainId,tokenAddress:t,symbol:l?.symbol??e.destinationToken.symbol,decimals:e.executionTokenDecimals??l?.decimals??e.destinationToken.decimals},d=async m=>{e.validateFeeQuote?.();const f=ns(m,e.resolvedChainId,t),h=await e.execution.estimate(f,t,n,{userOverride:s,useCustomTransfers:!0,feeExecutionMode:"backend-transfer"});e.validateFeeQuote?.();const w=u.getSupplyFeePreview(h,c);if(!w||w.chainId!==e.resolvedChainId)throw new Error("The fee service did not return the destination action's fee quote");if(w.gasFee+w.spicenetFee+(w.bridgeFee??0n)+2n>n)throw new Error("Fees exceed the displayed maximum funding; refresh the quote before retrying");return{raw:f,feeEstimate:h,fees:w}};return{prepareForSigning:async m=>{const{raw:f,feeEstimate:h}=await d(m);return e.feeQuote?.sourceAllocation||e.feeQuote?.feeSourceAllocation?m:Dn(f,s,h,{payoutAlreadyGross:!0})},validateBeforeSubmit:async m=>{const{fees:f}=await d(m);let h=0n,w=0n;for(const y of m)if(y.chainId===e.resolvedChainId)for(const x of y.calls){const b=Xi(x,t);b&&(h+=b.gas,w+=b.platform)}if(h+w+2n>n)throw new Error("Signed fees exceed the displayed maximum funding");const g=f.gasFee+(f.bridgeFee??0n);if((h>g?h-g:g-h)*100n>g*15n||w!==f.spicenetFee)throw new Error("The signed gas quote changed materially; refresh before retrying")}}}const Lu="0xa9059cbb";function Bs(e,t,n){return S.isNativeToken(e)?{to:n,value:t,data:"0x"}:{to:e,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[n,t]})}}function kr(e,t,n){return{chainId:n,calls:[Bs(e,t,S.getEscrowContractAddress(n))]}}function qu(e,t,n,s){const o=t.source.chainId;return{chainId:o,calls:[...e.calls,Bs(t.source.address,n,S.getEscrowContractAddress(o)),...s>0n?[Bs(t.source.address,s,S.SPICE_GAS_FEE_RECIPIENT)]:[]]}}function $i(e,t){const n=e.amountOutMinimum-t;if(n<=0n)throw new Error("Amount is too small to cover fees. Increase the amount and retry.");return n}function _i(e,t,n){return e?.asset?._source==="wallet"&&e?.asset.chainId===n}function el(e){return e.isNative||S.isNativeToken(e.address)?!0:!S.getTokenByAddress(e.address,e.chainId)}function tl(e,t,n,s){return t!=="user-transfer"||!n||e.length===0||e[0]?.to.toLowerCase()!==s.toLowerCase()||!e[0]?.data.startsWith(Lu)?{feeCall:null,remainingCalls:e}:{feeCall:e[0],remainingCalls:e.slice(1)}}async function ss(e,t,n,s){const o=await(t??Fs)({...n,requestTimestampMs:s});return o?[o,e]:[e]}function zu(e){return e.filter(t=>t.domain!=="spicenet")}function os(e,t){const n=(e.tokenTransfers??[]).filter(s=>s.from==="escrow").map(s=>({token:S.normalizeNativeTokenAddress(s.token),recipient:s.to,amount:BigInt(s.amount)})).filter(s=>s.amount>0n);return t!==void 0&&n.length===1&&(n[0]={...n[0],amount:t}),n.length>0?n:void 0}function rs(e,t,n){return sn(e,t,n,"ceil")}function nl(e){const t=e.selectedAsset?.asset;return e.isPayMode&&!!t&&t._source==="wallet"&&t.chainId!==e.resolvedChainId&&!!e.pivot}function Sr(e){const t=e.selectedAsset?.asset;return!e.isPayMode&&!!t&&t._source==="wallet"&&t.chainId!==e.resolvedChainId&&!!e.sourceSwap&&!!e.pivot}function Rs(e,t){if(t?.sourceSpendCap!==void 0&&e>t.sourceSpendCap)throw new Error("The source amount increased. Review the updated quote before submitting.");t?.onSourceSpend?.(e)}async function sl(e,t,n){let s;const o=await e({...t,buildActionCalls:async(r,a)=>{s=r;const l=await t.buildActionCalls(r,a);return n?.onActionCalls?.({amount:r,context:a,calls:l}),l}},n);if(s!==void 0){if(n?.minimumDestinationAmount!==void 0&&s<n.minimumDestinationAmount)throw new Error("The destination amount decreased. Review the refreshed quote before submitting.");n?.onDestinationAmount?.(s)}return o}const yo=(e,t)=>sl(Hu,e,t),wo=async(e,t)=>{const n=await sl(Vu,e,t),s=t?.actionContextOverride?.feeBreakdown,o=n[n.length-1];if(e.feeExecutionMode!=="user-transfer"||!s||!o)return n;const r=e.needsSwap&&e.resolvedTokenIn?e.resolvedTokenIn:e.destinationToken.address,[a]=ns([o],e.resolvedChainId,r),l=xo(e.resolvedChainId,r,[{recipient:S.SPICE_PLATFORM_FEE_RECIPIENT,amount:s.spicenetFee},{recipient:S.SPICE_GAS_FEE_RECIPIENT,amount:s.gasFee+(s.bridgeFee??0n)}]).calls,c=o.calls.filter(d=>!a.calls.includes(d));return c.length===l.length&&l.every(d=>c.some(m=>m.to.toLowerCase()===d.to.toLowerCase()&&m.value===d.value&&m.data===d.data))?n:[...n.slice(0,-1),{...a,calls:[...l,...a.calls]}]};async function Hu(e,t){const{currentPaymentAmount:n,destinationToken:s,embeddedWalletAddress:o,providerEmbeddedAddress:r,address:a,isNon7702:l,resolvedChainId:c,buildActionCalls:d,feeExecutionMode:m,buildSpicenetBatch:f,needsSwap:h,exactOutputSwap:w,resolvedTokenIn:g,requestTimestampMs:y}=e,x=t?.sourceAssetOverride?{asset:t.sourceAssetOverride}:e.selectedAsset,b=t?.fundingTokenOverride??g,v=Xt(n,s.decimals),C=t?.actionAmountOverride??(e.feeOnlyAction?0n:v),k=!!e.feeOnlyAction&&(t?.fundingAmountOverride??0n)>0n,I=o||r||a;if(!I)throw new Error("Embedded wallet address is not available. Please sign in and try again.");const A={userAddress:e.recipient??I,executorAddress:I,beneficiary:e.recipient??I,outputRecipient:h?I:void 0,chainId:c,destinationToken:s.address,grossAmount:t?.fundingAmountOverride??v,netAmount:C,combinedFeeAmount:t?.actionContextOverride?.combinedFeeAmount,feeExecutionMode:m,feeBreakdown:t?.actionContextOverride?.feeBreakdown,...t?.actionContextOverride},E=await d(C,A),D={chainId:c,calls:E},R=!!x&&x.asset._source!=="wallet",B=_i(x??null,l,c),W=R||B&&!!x&&!el(x.asset),O=(F,N)=>({token:S.normalizeNativeTokenAddress(F),from:"escrow",to:I,amount:N}),M=(F,N,L)=>B?[kr(F,N,c),...L]:L;if(v===0n&&!k)return[D];const U=t?.combinedSourceGroupOverride===null?void 0:t?.combinedSourceGroupOverride??e.combinedSourceGroup;if(U&&(!h||b?.toLowerCase()===U.token.toLowerCase())){if(h&&!w)throw new Error("The action quote is unavailable.");const F=h?{...D,calls:[...w.calls,...E]}:D,N=t?.fundingAmountOverride??(h?w?.amountInMax??0n:v),L=br(U,N,"in-place",{quoteOnly:!0});if(t?.onSourceAllocation?.(L),Rs(_n(N,U.decimals,U.representativeDecimals),t),L.escrowWithdrawal===0n)return[F];const q={...F,tokenTransfers:[O(U.token,L.escrowWithdrawal)]};return ss(q,f,{userAddress:I,destinationChainId:c,deliveryToken:U.token,deliveryAmount:L.escrowWithdrawal,deliveryRecipient:I,deliveryTransfers:os(q),sourceAsset:U.escrow},y)}if(x?.asset._source==="wallet"&&x.asset.chainId!==c&&!e.pivot)throw new Error("A current source-to-destination funding route is required");if(e.feeOnlyAction&&t?.fundingTokenOverride&&B)return Rs(t.fundingAmountOverride??0n,t),[D];if(nl(e)){if(h&&!w)throw new Error("Swap quote not available yet");const F=t?.fundingAmountOverride??(w?w.amountInMax:v),N=t?.sourceGasSkimOverride??0n,L=sn(F,e.pivot.destination.decimals,e.pivot.source.decimals,"ceil"),q=L+N,oe=e.sourceExactOutputSwap,pe=oe&&(t?.reuseQuotedSourceSwap||oe.amountOut>=q)?oe:e.resolveSourceExactOutputSwap?await e.resolveSourceExactOutputSwap(q):null;if(!pe)throw new Error("Swap quote not available yet");Rs(pe.amountInMax,t);const ae=x.asset;if(pe.amountInMax>ae.balance)throw new Error(`Insufficient ${ae.symbol} for this payment. Required ${T.formatUnits(pe.amountInMax,ae.decimals)} ${ae.symbol}; available ${T.formatUnits(ae.balance,ae.decimals)} ${ae.symbol}.`);const Q=pe.amountOut>=q?L:pe.amountOut-N;if(Q<=0n)throw new Error("Amount is too small to cover fees. Increase the amount and retry.");const $={chainId:e.pivot.source.chainId,calls:[...pe.calls,Bs(e.pivot.source.address,Q,S.getEscrowContractAddress(e.pivot.source.chainId)),...N>0n?[Bs(e.pivot.source.address,N,S.SPICE_GAS_FEE_RECIPIENT)]:[]]},X={chainId:c,calls:[...w?.calls??[],...E],tokenTransfers:[O(e.pivot.destination.address,F),...D.tokenTransfers??[]]},ee=await ss(X,f,{userAddress:I,destinationChainId:c,deliveryToken:e.pivot.destination.address,deliveryAmount:F,deliveryRecipient:I,deliveryTransfers:os(X),sourceAsset:x.asset},y);return[$,...ee]}if(x){const F=t?.fundingAmountOverride??w?.amountInMax??v;Rs(rs(F,await Sn(x.asset,b??x.asset.address,c,s),x.asset.decimals),t)}if(h&&w){const F=b??rn(x.asset,c)??x.asset.address,N=t?.fundingAmountOverride??w.amountInMax,L=W?[O(F,N)]:[],q={chainId:c,calls:[...w.calls,...E],tokenTransfers:[...L,...D.tokenTransfers??[]]};if(!W)return[q];const oe=await ss(q,f,{userAddress:I,destinationChainId:c,deliveryToken:F,deliveryAmount:N,deliveryRecipient:I,deliveryTransfers:os(q),sourceAsset:x.asset},y);return M(F,N,oe)}if(W){const F=b??rn(x.asset,c)??s.address;if(B&&!e.feeOnlyAction&&F.toLowerCase()===s.address.toLowerCase())return[D];const N=t?.fundingAmountOverride??v,L={...D,tokenTransfers:[O(F,N),...D.tokenTransfers??[]]},q=await ss(L,f,{userAddress:I,destinationChainId:c,deliveryToken:F,deliveryAmount:N,deliveryRecipient:I,deliveryTransfers:os(L),sourceAsset:x.asset},y);return M(F,N,q)}return[D]}async function Vu(e,t){const{selectedAsset:n,embeddedWalletAddress:s,recipient:o,resolvedChainId:r,destinationToken:a,buildActionCalls:l,feeExecutionMode:c,buildSpicenetBatch:d,isPayMode:m,isNon7702:f,needsSwap:h,resolvedSwap:w,quoteAmountOut:g,resolvedTokenIn:y,requestTimestampMs:x}=e;if(!n?.asset||!s)return[];const b=o??s;if(!b)return[];const v=Sr(e);let C=e.sourceSwap,k=Xt(n.amount,n.asset.decimals),I=v?e.sourceSwap.amountOutMinimum:null;if(v&&e.isFeeInclusiveInput&&(I=$i(e.sourceSwap,t?.sourceGasSkimOverride??0n)),v&&!e.isFeeInclusiveInput&&(t?.fundingAmountOverride!==void 0||(t?.sourceGasSkimOverride??0n)>0n)){I=t?.fundingAmountOverride!==void 0?rs(t.fundingAmountOverride,e.pivot.destination.decimals,e.pivot.source.decimals):e.sourceSwap.amountOutMinimum;const be=I+(t?.sourceGasSkimOverride??0n);if(!e.resolveSourceExactOutputSwap)throw new Error("The source quote cannot include fees yet.");const j=await e.resolveSourceExactOutputSwap(be);if(j.amountOut<be)throw new Error("The source quote does not cover the accepted funding amount.");k=j.amountInMax,C={...j,amountOutMinimum:j.amountOut}}const A=v?e.pivot.destination.address:y??rn(n.asset,r)??a.address,E=v?e.pivot.destination.decimals:await Sn(n.asset,A,r,a),D=t?.fundingAmountOverride??t?.actionAmountOverride??(v?sn(I,e.pivot.source.decimals,E,"floor"):_n(Xt(n.amount,n.asset.decimals),n.asset.decimals,E)),R=t?.fundingAmountOverride??D,B=t?.combinedSourceGroupOverride===null?void 0:t?.combinedSourceGroupOverride??e.combinedSourceGroup,W=B&&!v?br(B,R,"escrow",{quoteOnly:!0}):void 0;W&&t?.onSourceAllocation?.(W);const O=W?.walletDeposit??t?.sourceFundingAmountOverride??rs(D,E,n.asset.decimals);Rs(W&&B?_n(R,B.decimals,B.representativeDecimals):v?k:O,t);const M=t?.deliveryAmountOverride??(c==="user-transfer"?R:t?.actionContextOverride?.netAmount??R),U=t?.withdrawalAmountOverride??M,F=t?.actionAmountOverride??t?.actionContextOverride?.netAmount??D;let N=w;if(h&&!m&&(t?.actionContextOverride?.netAmount!==void 0||v&&(t?.sourceGasSkimOverride??0n)>0n&&!t?.reuseQuotedSourceSwap)){if(!e.resolveInputSwap)throw new Error("Swap quote cannot be refreshed for the amount after fees.");const be=t?.actionContextOverride?.netAmount??F;(!N||e.swapInputAmount!==be)&&(N=await e.resolveInputSwap(be,w??void 0))}N&&t?.onSwap?.(N,t?.actionContextOverride?.netAmount??e.swapInputAmount??F);const L=N?.amountOutMinimum??g,q={userAddress:b,executorAddress:s,beneficiary:b,outputRecipient:h?s:void 0,chainId:r,destinationToken:a.address,feeToken:c==="user-transfer"&&h&&y?y:a.address,grossAmount:R,netAmount:F,combinedFeeAmount:t?.actionContextOverride?.combinedFeeAmount,feeExecutionMode:c,feeBreakdown:t?.actionContextOverride?.feeBreakdown,...t?.actionContextOverride},oe=()=>l(F,q),pe=n.asset?._source==="wallet";if(!m&&pe&&n.asset.chainId===r&&el(n.asset)){if(h){if(!y)throw new Error("Swap input token could not be resolved");if(!N||L===null)throw new Error("Swap quote not available yet")}if(h&&N&&L){const be=await l(t?.actionAmountOverride??L,{...q,netAmount:t?.actionAmountOverride??L}),{feeCall:j,remainingCalls:K}=tl(be,c,h,q.feeToken);return[{chainId:r,calls:[...j?[j]:[],...N.calls,...K]}]}return[{chainId:r,calls:await oe()}]}if(!m&&pe&&n.asset.chainId!==r&&!v)throw new Error("A current source-to-destination funding route is required");const ae=n.asset._source!=="wallet",Q=_i(n,f,r);if(!(ae||Q||v))return[{chainId:r,calls:await oe()}];const $=v?qu(C,e.pivot,I,t?.sourceGasSkimOverride??0n):W&&B?W.walletDeposit>0n?kr(B.token,W.walletDeposit,r):null:Q?kr(y??S.normalizeNativeTokenAddress(n.asset.address),O,r):null,X=(be,j)=>({token:S.normalizeNativeTokenAddress(be),from:"escrow",to:s,amount:j});if(h){if(!y)throw new Error("Swap input token could not be resolved");if(!N||L===null)throw new Error("Swap quote not available yet")}if(h&&N&&L&&y){const be=await l(t?.actionAmountOverride??L,{...q,netAmount:t?.actionAmountOverride??L}),{feeCall:j,remainingCalls:K}=tl(be,c,h,q.feeToken),Z={chainId:r,calls:[...j?[j]:[],...N.calls,...K],tokenTransfers:[X(y,M)]},G=await ss(Z,d,{userAddress:s,destinationChainId:r,deliveryToken:y,deliveryAmount:M,withdrawalAmount:U,deliveryRecipient:s,deliveryTransfers:os(Z,U),sourceAsset:n.asset},x);return $?[$,...G]:G}const ee=y??rn(n.asset,r)??a.address,Y={chainId:r,calls:await oe(),tokenTransfers:[X(ee,M)]},we=await ss(Y,d,{userAddress:s,destinationChainId:r,deliveryToken:ee,deliveryAmount:M,withdrawalAmount:U,deliveryRecipient:s,deliveryTransfers:os(Y,U),sourceAsset:n.asset},x);return $?[$,...we]:we}async function Qu(e,t,n,s,o){let r=e;for(let a=0;a<4;a++){const l=await t(r),c=await s(l,n,r,o),d=u.getSingleNetOutput(c);if(d===null||d>=e)return r;const m=r-d,f=e+m;if(f<=r)return r;r=f}return r}function Gu(e){return{...e,resolve:async(t,n,s)=>{const o=await e.resolve(t,n,s),r=o?.calls[0]?.to;return!o||!r||S.isNativeToken(t.tokenIn)?o:{...o,calls:[{to:t.tokenIn,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"approve",args:[r,o.amountInMax]})},...o.calls]}}}}function js(e){const t=(e?.customVenues??[]).map(s=>xc(Gu(s)));async function n(s,o,r){const a=t.filter(d=>d.chainIds.includes(o));if(a.length===0)throw new u.SpiceflowError("NO_SWAP_ROUTE",`No exact-output venue supports chain ${o}`,{chainId:o,tokenIn:s.tokenIn,tokenOut:s.tokenOut});const l=(await Promise.allSettled(a.map(async d=>({venue:d,quote:await d.resolve(s,o,r)})))).filter(d=>d.status==="fulfilled").map(d=>d.value).filter(d=>d.quote!==null);if(l.length===0)throw new u.SpiceflowError("NO_SWAP_ROUTE",`All aggregators failed for ${s.tokenIn} \u2192 ${s.tokenOut} on chain ${o}`,{chainId:o,tokenIn:s.tokenIn,tokenOut:s.tokenOut,amountOut:s.amountOut.toString()});const c=l.find(d=>d.venue.preferred);return c?c.quote:(l.sort((d,m)=>d.quote.amountIn<m.quote.amountIn?-1:d.quote.amountIn>m.quote.amountIn?1:0),l[0].quote)}return{getQuote:n,venues:t}}function ol(e,t,n){if(e._source==="wallet")return e.chainId===t?e.address:null;const s=Kn(e,t);return s.find(o=>o.toLowerCase()===n.toLowerCase())??s[0]??null}async function rl(e,t,n,s){const o=S.hashChainBatches(s),r=await u.relayerService.estimateBatchGas({user:t,outputToken:n,requireSimulation:!0,includePlatformFee:!0,signal:e.signal,chainBatches:s.map((a,l)=>({...a,hash:o[l].hash}))});if(!r.simulationVerified||r.gasQuoteSource!=="estimated"||r.platformFee===void 0||r.gasFee<=0n)throw new Error("Fee funding requires verified gas and platform pricing");return r}async function Ds(e,t){const n=e.selectedAsset?.asset,s=!t&&!!e.actionProceeds&&e.actionProceeds.token.toLowerCase()!==e.destinationToken.address.toLowerCase(),o=!!t||s,r=e.embeddedWalletAddress||e.providerEmbeddedAddress;if(!r||!o&&(!n||n._source!=="spice"&&!(n._source==="wallet"&&n.chainId===e.resolvedChainId)))throw new Error("A local embedded or Spice balance is required for fee conversion");const a=t?t.token:s?e.actionProceeds.token:ol(n,e.resolvedChainId,e.destinationToken.address);if(!a)throw new Error("This receipt has no registered destination withdrawal token");const l=S.getTokenByAddress(a,e.resolvedChainId)?.decimals??(S.isNativeToken(a)?18:o?await u.getClientForChain(e.resolvedChainId).readContract({address:a,abi:T.erc20Abi,functionName:"decimals"}):n?._source==="wallet"?n.decimals:void 0);if(l===void 0)throw new Error("Fee funding token metadata is unavailable");const c=e.destinationToken.address;if(e.actionProceeds&&!s&&e.actionProceeds.token.toLowerCase()!==c.toLowerCase())throw new Error("Action proceeds must use the destination fee token");const d=t?t.amount:e.actionProceeds?await e.actionProceeds.resolve(e.signal):0n;if(d<0n||e.signal?.aborted)throw new Error("Action proceeds quote was cancelled or invalid");const m=js({customVenues:[...e.resolveExactOutputSwap?[{name:"consumer-exact-output",chainIds:[e.resolvedChainId],preferred:!0,resolve:e.resolveExactOutputSwap}]:[],...Mn(e.liquidityVenues).output]}),f=w=>rl(e,r,c,w);let h=await f(await e.buildPayChainBatches({fundingAmountOverride:0n}));for(let w=0;w<8;w++){const g=h.gasFee+h.platformFee,y=o?0n:d<g?d:g,x=g-y,b=x>0n?(x*110n+99n)/100n+2n:0n,v=b>0n?await m.getQuote({tokenIn:a,tokenOut:c,amountOut:b,maxSlippage:e.maxSlippage},e.resolvedChainId,r):null;if(e.signal?.aborted)throw new Error("Fee conversion quote was cancelled");if(v&&(v.amountOut!==b||v.amountInMax<=0n||v.amountInMax<v.amountIn||!v.calls.length))throw new Error("Invalid exact-output fee conversion quote");const C=v?.amountInMax??0n,k=o?0n:rs(C,l,n.decimals);if(o&&C>d)throw new ts(C,d);if(!o&&k>n.balance)throw new ts(k,n.balance);let I,A=Dn(await e.buildPayChainBatches({fundingAmountOverride:o?0n:C,...o?{}:{fundingTokenOverride:a},...t?{actionAmountOverride:t.amount-C}:{},onActionCalls:D=>{I=D}}),r);if(v){const D=A.length-1;A=A.map((R,B)=>B===D?{...R,calls:[...R.calls,...v.calls]}:R)}A=Cr(A,r,c,h.gasFee,h.platformFee);const E=await f(A);if(E.gasFee<=h.gasFee&&(h.gasFee-E.gasFee)*100n<=E.gasFee*15n&&E.platformFee===h.platformFee){const D={tokenIn:a,tokenOut:c,amountInMax:C,amountOut:b,sourceAmountMax:k,...s?{fromProceeds:!0}:{},...t?{fromInput:!0}:{}};return{feeEstimate:null,preview:{symbol:e.destinationToken.symbol,decimals:e.destinationToken.decimals,grossAmount:o?0n:b,netAmount:0n,gasFee:h.gasFee,spicenetFee:h.platformFee,totalFee:g,gasQuoteSource:"estimated"},grossFundingAmount:o?0n:C,proceedsAvailable:d,proceedsUsed:o?g:y,fundingConversion:D,fundingBatches:A,sourceSpendCap:k,destinationAmount:0n,actionDefinition:I}}h=E}throw new Error("Fee conversion pricing did not converge")}const bo=["input","proceeds","balance"];function Ku(e){if(e.reserve&&e.reserve.amount<0n)throw new Error("Fee funding reserve cannot be negative");if(e.reserves?.some(l=>l.amount<0n))throw new Error("Fee funding reserve cannot be negative");const t=l=>u.addressesEqual(l,e.feeToken),n=(l,c)=>Number(l.swap)-Number(c.swap),s={input:[],proceeds:[],balance:[]};for(const l of e.inputs??[])l.amount>0n&&s.input.push({kind:"input",...l,swap:!t(l.token)});s.input.sort(n),e.proceeds&&e.proceeds.amount>0n&&s.proceeds.push({kind:"proceeds",...e.proceeds,swap:!t(e.proceeds.token)});const o=e.balances.filter(l=>l._source==="wallet"&&l.chainId===e.chainId&&l.location!=="external"),r=e.balances.filter(l=>l._source==="spice"),a=l=>{const c=[];for(const d of l){const m=[...e.reserves??[],...e.reserve?[e.reserve]:[]].filter(g=>xe(d)===xe(g.asset)).reduce((g,y)=>y.amount>g?y.amount:g,0n),f=d.balance-m;if(f<=0n)continue;const h=m>0n?{...d,balance:f,balanceFormatted:Number(T.formatUnits(f,d.decimals)),balanceUsd:d.balanceUsd*Number(f)/Number(d.balance)}:d,w=ol(h,e.chainId,e.feeToken);w&&(e.inputs?.some(g=>u.addressesEqual(g.token,w)&&![...e.reserves??[],...e.reserve?[e.reserve]:[]].some(y=>u.addressesEqual(y.asset.address,g.token)))||c.push({kind:"balance",token:w,amount:h.balance,asset:h,...m>0n?{reservedAmount:m}:{},swap:!t(w)}))}return c.sort((d,m)=>n(d,m)||m.asset.balanceUsd-d.asset.balanceUsd)};return s.balance=[...a(o),...a(r)],(e.order??bo).flatMap(l=>s[l])}function Zu(e){return e instanceof ts||e instanceof u.SpiceflowError&&e.code==="NO_SWAP_ROUTE"}async function al(e,t){const n=e.embeddedWalletAddress||e.providerEmbeddedAddress;if(!n||!e.ready||!e.authenticated)return null;const s=e.destinationToken.address;let o;const r=()=>o??(o=(async()=>{const d=await rl(e,n,s,await e.buildPayChainBatches({fundingAmountOverride:0n}));return{feeEstimate:null,preview:{symbol:e.destinationToken.symbol,decimals:e.destinationToken.decimals,gasFee:d.gasFee,spicenetFee:d.platformFee,bridgeFee:0n,totalFee:d.gasFee+d.platformFee,grossAmount:0n,netAmount:0n,gasQuoteSource:"estimated"}}})()),a=(d,m)=>e.buildPayChainBatches({...m,fundingAmountOverride:d}),l=(d,m)=>Yi({proceeds:{token:s,resolve:async()=>d},owner:n,token:s,signal:e.signal,baseline:r,buildBatches:a,fundShortfall:!1,actionAmountFor:m}),c=async d=>{if(d.kind==="input")return d.swap?Ds({...e,actionProceeds:void 0},d):l(d.amount,g=>d.amount-g);if(d.kind==="proceeds"){const g={...e.actionProceeds,resolve:async()=>d.amount};return d.swap?Ds({...e,actionProceeds:g}):l(d.amount)}const m=d.asset;if(m._source==="wallet"&&!d.swap)return l(m.balance);let f=!d.swap&&m._source==="spice"?e.getCombinedSourceGroup?.(m):void 0;if(f){const g=[xe(f.wallet),xe(f.escrow)],y=[...e.feeFundingReserves??[],...e.feeFundingReserve?[e.feeFundingReserve]:[]].filter(x=>g.includes(xe(x.asset)));y.length&&(f=e.getCombinedSourceGroup?.(m,y))}const h={...e,selectedAsset:{asset:m,amount:"0"},combinedSourceGroup:f,resolvedTokenIn:d.token,actionInput:void 0,actionProceeds:void 0,buildPayChainBatches:g=>e.buildPayChainBatches({...g,sourceAssetOverride:m,combinedSourceGroupOverride:f??null,fundingTokenOverride:g?.fundingTokenOverride??d.token})};if(d.swap)return Ds(h);const w=await t(h);if(w&&(w.sourceSpendCap??0n)>(f?.availableBalance??m.balance))throw new ts(w.sourceSpendCap,f?.availableBalance??m.balance);return w};for(const d of e.feeFunding??bo){const m=d==="proceeds"&&e.actionProceeds?{token:e.actionProceeds.token,amount:await e.actionProceeds.resolve(e.signal)}:void 0;if(e.signal?.aborted)throw new Error("Fee funding quote was cancelled");if(m&&m.amount<0n)throw new Error("Action proceeds cannot be negative");const f=Ku({feeToken:s,chainId:e.resolvedChainId,inputs:e.actionInput,proceeds:m,balances:e.feeFundingBalances??[],order:[d],reserve:e.feeFundingReserve,reserves:e.feeFundingReserves});for(const h of f)try{const w=await c(h);if(!w)continue;const{swap:g,...y}=h;return{...w,fundingSource:y}}catch(w){if(e.signal?.aborted||!Zu(w))throw w}}throw new Error(`No available balance can cover this action's ${e.destinationToken.symbol} execution cost`)}async function Yu(e,t,n,s=!1){const o=e.selectedAsset,r=e.embeddedWalletAddress||e.providerEmbeddedAddress;if(!o||!r||!e.ready||!e.authenticated||e.isQuoting)return null;if(!e.combinedSourceGroup&&o.asset._source!=="wallet"||o.asset.chainId!==e.resolvedChainId||!_s(o.asset)&&o.asset.owner&&!u.addressesEqual(o.asset.owner,r))throw new Error("Funded fee hierarchy requires principal on the action chain in the executing wallet.");if(s&&(e.isPayMode||!e.isFeeInclusiveInput||t.recipient&&!u.addressesEqual(t.recipient,r)))throw new Error("Output-funded actions require an input-inclusive amount left in the executing wallet.");if(e.isPayMode&&e.needsSwap&&!e.exactOutputSwap)return null;const a=e.isPayMode?Xt(e.currentPaymentAmount,e.destinationToken.decimals):void 0;if(e.isPayMode&&e.needsSwap&&e.exactOutputSwap.amountOut!==a)throw new Error("Wait for the payment quote for the current amount.");const l=S.getTokensForChain(e.resolvedChainId).find(k=>k.equivalenceGroup==="USDC");if(!l)throw new Error("Configure the execution fee token for this chain.");const c={...l,address:l.address,chainId:e.resolvedChainId},d=a!==void 0?e.needsSwap?e.exactOutputSwap.amountInMax:a:Xt(o.amount,o.asset.decimals);if(d<=0n||d>(e.combinedSourceGroup?.availableBalance??o.asset.balance))throw new Error("Enter an amount within the available balance.");if(!e.isPayMode&&e.needsSwap&&t.swapInputAmount!=null&&t.swapInputAmount!==d)throw new Error("Wait for the action quote for the current amount.");const m=a??(e.needsSwap?t.resolvedSwap?.amountOutMinimum??0n:d);let f=t.resolvedSwap??void 0,h=d,w=m;const g=e.combinedSourceGroup?br(e.combinedSourceGroup,d,"in-place"):void 0,y={...e,feeOnlyAction:!0,selectedAsset:null,isPayMode:!0,isFeeInclusiveInput:!1,parsedAmount:0,currentPaymentAmount:"0",destinationToken:c,resolvedTokenIn:c.address,executionTokenAddress:c.address,needsSwap:!1,resolvedSwap:null,isDirect:!0,actionInput:!e.isPayMode&&e.isFeeInclusiveInput?[{token:o.asset.address,amount:d}]:void 0,actionProceeds:s?{token:e.destinationToken.address,resolve:async()=>m>0n?m-1n:0n}:e.actionProceeds,feeFundingBalances:e.feeFundingBalances?.filter(k=>!k.balanceError&&!(e.feeFundingReserve&&xe(e.feeFundingReserve.asset)!==xe(o.asset)&&xe(k)===xe(e.feeFundingReserve.asset))&&!_s(k)&&(!k.owner||u.addressesEqual(k.owner,r))),feeFundingReserves:g?.positions.map(k=>({asset:k.asset,amount:k.amount})),feeFundingReserve:g?void 0:{asset:o.asset,amount:e.feeFundingReserve&&xe(e.feeFundingReserve.asset)===xe(o.asset)&&e.feeFundingReserve.amount>d?e.feeFundingReserve.amount:d},buildPayChainBatches:async k=>{const I=k?.actionAmountOverride??d;if(I<=0n)throw new ts(d+1n,d);const A=!e.isPayMode&&e.needsSwap?I===d?t.resolvedSwap:await t.resolveInputSwap?.(I,t.resolvedSwap??void 0):null,E=e.needsSwap?e.isPayMode?e.exactOutputSwap:A:null;if(e.needsSwap&&!E)throw new Error("The action quote is unavailable.");f=A??void 0,h=I,w=a??f?.amountOutMinimum??I;const D={userAddress:t.recipient??r,executorAddress:r,beneficiary:t.recipient??r,outputRecipient:r,chainId:e.resolvedChainId,destinationToken:e.destinationToken.address,grossAmount:m,netAmount:w,feeToken:c.address,feeExecutionMode:"backend-transfer"},R=await t.buildActionCalls(w,D),B={amount:w,context:D,calls:R},W=[...E?.calls??[],...R];let O=await yo({...t,selectedAsset:null,combinedSourceGroup:void 0,feeOnlyAction:!0,isPayMode:!0,isFeeInclusiveInput:!1,currentPaymentAmount:"0",destinationToken:c,resolvedTokenIn:c.address,needsSwap:!1,resolvedSwap:null,exactOutputSwap:null,quoteAmountOut:null,feeExecutionMode:"backend-transfer",buildActionCalls:()=>W},{...k,onActionCalls:()=>k?.onActionCalls?.(B)});if(g?.escrowWithdrawal){const M=[...O].reverse().findIndex(F=>F.domain!=="spicenet"&&F.chainId===e.resolvedChainId),U=M<0?-1:O.length-M-1;if(U<0)throw new Error("The action quote is unavailable.");O[U]={...O[U],tokenTransfers:[...O[U].tokenTransfers??[],{token:g.token,from:"escrow",to:r,amount:g.escrowWithdrawal}]},O=Dn(O,r,void 0,{payoutAlreadyGross:!0,requestTimestampMs:t.requestTimestampMs})}return O}},x=await al(y,n);if(!x)return null;if(s&&x.fundingSource?.kind==="proceeds"&&(w-=x.fundingConversion?.amountInMax??x.proceedsUsed??0n),w<=0n)throw new Error("Not enough action output remains after execution costs.");let b=g;const v=b&&x.sourceAllocation&&b.positions.every(k=>x.sourceAllocation.positions.some(I=>I.positionId===k.positionId)),C=x.sourceAllocation&&!v?x.sourceAllocation:void 0;if(b){const k=x.sourceAllocation?.positions??[],I=x.fundingSource?.kind==="balance"&&x.fundingSource.asset&&xe(x.fundingSource.asset)===xe(e.combinedSourceGroup.wallet)?x.fundingConversion?.amountInMax??x.proceedsUsed??0n:0n,A=k.find(D=>D.positionId===xe(e.combinedSourceGroup.wallet))?.amount??I,E=k.find(D=>D.positionId===xe(e.combinedSourceGroup.escrow))?.amount??(x.fundingSource?.kind==="balance"&&x.fundingSource.asset&&xe(x.fundingSource.asset)===xe(e.combinedSourceGroup.escrow)?x.sourceSpendCap??0n:0n);b={...b,grossAmount:d+A+E,walletInPlace:b.walletInPlace+A,escrowWithdrawal:b.escrowWithdrawal+E,positions:b.positions.map(D=>({...D,amount:D.amount+(D.asset.location==="embedded"?A:E),reservedAmount:0n}))}}return{...x,fundedFeeToken:c,batches:x.fundingBatches??x.batches,destinationSwap:f,swapInputAmount:h,destinationAmount:w,sourceAllocation:b,feeSourceAllocation:C,sourceSpendCap:b?.grossAmount??d+(x.fundingSource?.kind==="balance"&&x.fundingSource.asset&&xe(x.fundingSource.asset)===xe(o.asset)?x.fundingConversion?.amountInMax??x.proceedsUsed??0n:0n)}}async function Xu(e,t){const n=e.externalGasRecipient,s=e.embeddedWalletAddress||e.providerEmbeddedAddress,o=e.resolvedChainId,r=t.batches,a=r.map(b=>b.chainId).lastIndexOf(o);if(a<0)throw new Error("Destination gas quote is unavailable.");const[l,c]=await Promise.all([u.relayerService.estimateBatchGas({user:s,outputToken:S.ZERO_ADDRESS,chainBatches:r,stepIndex:a,signal:e.signal}),u.getClientForChain(o).getBalance({address:n})]);if(e.signal?.aborted)throw new Error("Fee estimation cancelled");if(l.gasQuoteSource!=="estimated"||l.gasFee<=0n)throw new Error("A native gas quote is required for the external wallet.");const d=r[a].calls.reduce((b,v)=>u.addressesEqual(v.to,n)&&v.data==="0x"?b+v.value:b,0n),m=l.gasFee,f=c+d<m?await e.externalGasCalls?.(t)??[]:[],h=f.reduce((b,v)=>b+v.value,0n),w=(3n+BigInt(f.length))*m+h,g=c+d<m?w-c-d:0n,y={chainId:o,recipient:n,balance:c,incoming:d,transactionGas:m,nativeAmount:g,currentTransactions:f.length,currentValue:h,feeAmount:0n,calls:[]};if(g===0n)return y;const x=e.executionTokenAddress;if(S.isNativeToken(x))y.feeAmount=g;else{const b=await js({customVenues:[...e.resolveExactOutputSwap?[{name:"consumer-exact-output",chainIds:[o],preferred:!0,resolve:e.resolveExactOutputSwap}]:[],...Mn(e.liquidityVenues).output]}).getQuote({tokenIn:x,tokenOut:S.ZERO_ADDRESS,amountOut:g,maxSlippage:e.maxSlippage},o,s);if(b.amountOut!==g||b.amountInMax<=0n||!b.calls.length)throw new Error("The external gas purchase could not be quoted.");if(e.signal?.aborted)throw new Error("Fee estimation cancelled");y.feeAmount=b.amountInMax,y.calls=b.calls}return y.calls=[...y.calls,{to:n,value:g,data:"0x"}],y}function vo(e,t){if(!t?.nativeAmount)return e;const n=e.map(s=>s.chainId).lastIndexOf(t.chainId);if(n<0)throw new Error("The gas reserve destination changed.");return e.map((s,o)=>o===n?{...s,calls:[...s.calls,...t.calls]}:s)}function il(e,t){if(e&&e.nativeAmount>0n){const n=t.filter(o=>o.chainId===e.chainId).slice(-1)[0],s=n?.calls.slice(-e.calls.length);if(!s||s.length!==e.calls.length||s.some((o,r)=>{const a=e.calls[r];return!u.addressesEqual(o.to,a.to)||o.value!==a.value||o.data!==a.data}))throw new Error("The external gas purchase changed. Refresh the quote before submitting.");if(n.calls.slice(0,-e.calls.length).reduce((o,r)=>u.addressesEqual(r.to,e.recipient)&&r.data==="0x"?o+r.value:o,0n)<e.incoming)throw new Error("The native result changed. Refresh the gas reserve quote before submitting.")}}async function ll(e,t){if(!e)return;t&&il(e,t);const n=await u.getClientForChain(e.chainId).getBalance({address:e.recipient});if(e.nativeAmount>0n?n!==e.balance:n+e.incoming<e.transactionGas)throw new Error("The external wallet gas balance changed. Refresh the quote before submitting.")}async function Ju(e){const t=e.selectedAsset.asset;if(t.chainId!==e.destinationToken.chainId||!u.addressesEqual(S.normalizeNativeTokenAddress(t.address),S.normalizeNativeTokenAddress(e.destinationToken.address)))throw new Error("Direct execution requires the destination token on its own chain.");if(t.decimals!==e.destinationToken.decimals)throw new Error("Source and destination token decimals do not match.");const n=Xt(e.paymentAmount??e.selectedAsset.amount,t.decimals);if(n<=0n)throw new Error("Enter a positive action amount.");const s={userAddress:e.beneficiary??e.account,executorAddress:e.account,beneficiary:e.beneficiary??e.account,chainId:e.destinationToken.chainId,destinationToken:e.destinationToken.address,feeToken:t.address,grossAmount:n,netAmount:n,combinedFeeAmount:0n,feeExecutionMode:e.feeExecutionMode,feeBreakdown:{spicenetFee:0n,gasFee:0n,bridgeFee:0n}},o=await e.buildActionCalls(n,s);if(!o.length)throw new Error("No action calls configured.");if(S.isNativeToken(t.address)&&o.reduce((r,a)=>r+a.value,0n)>n)throw new Error("The native action exceeds the accepted source amount.");return{actionDefinition:{amount:n,context:s,calls:o},actionContext:s,batches:[{chainId:s.chainId,calls:o}],fundingAmount:n,sourceSpendCap:n,destinationAmount:n,feeEstimate:null,preview:{symbol:t.symbol,decimals:t.decimals,grossAmount:n,netAmount:n,totalFee:0n,gasFee:0n,spicenetFee:0n,bridgeFee:0n,gasQuoteSource:"static_zero"}}}async function cl(e){const[t]=await e.buildSupplyChainBatches({sourceGasSkimOverride:1n,reuseQuotedSourceSwap:!0});if(!t)throw new Error("Swap quote not available yet");const{gasFee:n}=await u.relayerService.estimateBatchGas({user:e.user,outputToken:e.pivot.source.address,stepIndex:0,chainBatches:[t],signal:e.signal});return n}const Ir=(e,t)=>(e+t-1n)/t;function Co(e,t,n=0n){return e.intents.length===0?t:{...e,intents:e.intents.map(s=>({...s,batches:s.batches.map(o=>{const r=t.intents.find(c=>c.intentIndex===s.intentIndex)?.batches.find(c=>c.chainId===o.chainId);if(!r&&n===0n)return o;const a={...o.feeBreakdown};let l=0n;for(const c of["gasFee","bridgeFee"]){const d=BigInt(a[c]??"0"),m=BigInt(r?.feeBreakdown[c]??"0"),f=d>m?d+Ir(d*n,10000n):m;f>d&&(a[c]=f.toString(),l+=f-d)}return{...o,feeBreakdown:a,totalDebit:(BigInt(o.totalDebit)+l).toString()}})}))}}async function dl(e){if(e.options.signal?.aborted)throw new Error("Fee estimation cancelled");if(!u.relayerService.canValidateActionFees())throw new Error("This withdrawal requires signed fee validation. Refresh the quote before submitting.");const[t,n]=await Promise.all([e.signedEstimate??e.estimate(e.batches,e.tokenAddress,e.fundingAmount,{...e.options,feeExecutionMode:"user-transfer",validateFeeCalls:!0}),e.estimate(e.pricingBatches,e.tokenAddress,e.fundingAmount,{...e.options,feeExecutionMode:"backend-transfer",validateFeeCalls:!1})]);if(e.options.signal?.aborted)throw new Error("Fee estimation cancelled");const s=o=>o.intents.flatMap(r=>r.batches.map(a=>`${r.intentIndex}:${a.chainId}`)).sort().join(",");if(!s(n)||s(n)!==s(t))throw new Error("Unable to validate the signed withdrawal fees.");return{intents:n.intents.map(o=>({...o,batches:o.batches.map(r=>{const a=t.intents.find(d=>d.intentIndex===o.intentIndex)?.batches.find(d=>d.chainId===r.chainId);if(!a)throw new Error("Unable to validate the signed withdrawal fees.");const l={...r.feeBreakdown};let c=0n;for(const d of["gasFee","bridgeFee"]){const m=BigInt(l[d]??"0"),f=BigInt(a.feeBreakdown[d]??"0");f>m&&(l[d]=f.toString(),c+=f-m)}return{...r,feeBreakdown:l,totalDebit:(BigInt(r.totalDebit)+c).toString()}})}))}}function $u(e,t){const n=e.spicenetFee+(e.bridgeFee??0n);return e.grossAmount<=n?t+e.gasFee+n:Ir((t+e.gasFee)*e.grossAmount,e.grossAmount-n)+2n}async function ul(e){const{requiredNetFunding:t}=e;if(e.feeOnlyAction){const d=e.executionOptions?.userOverride;if(!d||t!==0n)throw new Error("Fee-only estimates require a zero action amount and its embedded executor");let m=1n,f;for(let h=0;h<8;h++){const w=Dn(await e.buildBatches(m),d,f,{payoutAlreadyGross:!0}),g=await e.estimate(ns(w,e.tokenDescriptor.chainId,e.fundingToken),e.fundingToken,m,{...e.executionOptions,feeExecutionMode:"backend-transfer"}),y=u.getSupplyFeePreview(g,e.tokenDescriptor);if(!y)throw new Error("The fee service did not return a fee quote for this action");const x=y.gasFee+y.spicenetFee+(y.bridgeFee??0n);if(f&&x+2n<=m)return{preview:{...y,grossAmount:m,netAmount:0n},feeEstimate:g,grossFundingAmount:m};m=(x*110n+99n)/100n+2n,f=g}throw new Error("Fee-only funding did not converge; refresh the fee quote before retrying")}const n=await e.buildBatches(t),s=await e.estimate(n,e.fundingToken,t,e.executionOptions),o=u.getSupplyFeePreview(s,e.tokenDescriptor);if(!o)return{preview:u.getEscrowFreeFeePreview(n,e.tokenDescriptor,t),feeEstimate:s,grossFundingAmount:t};const r=$u(o,t),a=d=>o.grossAmount>0n?Ir(d*r,o.grossAmount):d,l=a(o.spicenetFee),c=a(o.bridgeFee??0n);return{preview:{...o,grossAmount:r,netAmount:t,spicenetFee:l,bridgeFee:c,totalFee:o.gasFee+l+c},feeEstimate:s,grossFundingAmount:r}}async function pl(e){if(e.balance<=0n)throw new Error("No spendable balance remains after source gas.");let t=e.balance;for(let n=0;n<8;n++){const s=await e.planForAmount(t);if(!s||s.sourceSpendCap===void 0||s.sourceSpendCap<=0n)throw new Error("Max requires a current route and fee estimate.");if(s.sourceSpendCap<=e.balance)return u.formatRawTokenInput(t,e.decimals);const o=t*e.balance/s.sourceSpendCap;if(o<=0n||o>=t)throw new Error("The balance cannot cover this action and its fees.");t=o}throw new Error("Max fees did not converge. Refresh the quote before retrying.")}async function _u(e){if(e.isPayMode||e.needsSwap||e.isQuoting||e.pivot||!e.embeddedWalletAddress)return null;const t=e.asset,n=S.getTokenByAddress(e.executionTokenAddress,t.chainId);return!n||t.balance<=0n?null:pl({balance:t.balance,decimals:t.decimals,planForAmount:s=>Wn({selectedAsset:{asset:t,amount:u.formatRawTokenInput(s,t.decimals)},isPayMode:!1,isNon7702:!1,isFeeInclusiveInput:!1,parsedAmount:Number(u.formatRawTokenInput(s,t.decimals)),currentPaymentAmount:"0",destinationToken:{...n,address:e.executionTokenAddress,chainId:t.chainId},resolvedChainId:t.chainId,resolvedTokenIn:e.executionTokenAddress,executionTokenAddress:e.executionTokenAddress,embeddedWalletAddress:e.embeddedWalletAddress,providerEmbeddedAddress:e.embeddedWalletAddress,address:e.embeddedWalletAddress,isConnected:!0,ready:!0,authenticated:!0,isDirect:!0,isSourceDestToken:!0,needsSwap:!1,isQuoting:!1,resolvedSwap:null,exactOutputSwap:null,buildPayChainBatches:async()=>[],buildSupplyChainBatches:o=>e.buildSupplyChainBatches({...o,actionAmountOverride:s}),estimate:e.estimate,feeExecutionMode:e.feeExecutionMode})})}async function Wn(e){const t=await fl(e);if(!e.externalGasRecipient||!t?.batches?.length)return t;const n=await Xu(e,t);if(!n.nativeAmount)return{...t,externalGasReserve:n};const s=await fl({...e,externalGasReserve:n,initialFeeEstimate:void 0,buildPayChainBatches:async o=>vo(await e.buildPayChainBatches(o),n),buildSupplyChainBatches:async o=>vo(await e.buildSupplyChainBatches({...o,...e.feeExecutionMode!=="user-transfer"&&o?.actionContextOverride?.netAmount!==void 0?{deliveryAmountOverride:o.actionContextOverride.netAmount+n.feeAmount}:{}}),n)});return s?(il(n,s.batches??[]),{...s,externalGasReserve:n,preview:{...s.preview,gasFee:s.preview.gasFee+n.feeAmount,totalFee:(s.preview.totalFee??0n)+(e.isPayMode?n.feeAmount:0n),...e.isPayMode?{netAmount:s.preview.netAmount-n.feeAmount}:{}}}):null}async function fl(e){const{signal:t,selectedAsset:n,isPayMode:s,isFeeInclusiveInput:o=!1,parsedAmount:r,needsSwap:a,exactOutputSwap:l,isNon7702:c,currentPaymentAmount:d,destinationToken:m,feeExecutionMode:f,resolvedTokenIn:h,embeddedWalletAddress:w,providerEmbeddedAddress:g,resolvedChainId:y,isConnected:x,address:b,ready:v,authenticated:C,isDirect:k,resolvedSwap:I,sourceSwap:A,pivot:E,isQuoting:D,executionTokenAddress:R,buildPayChainBatches:B,buildSupplyChainBatches:W,estimate:O}=e;if(e.feeOnlyAction&&!n&&e.feeFunding?.length!==0)return al(e,Wn);if(e.feeOnlyAction&&e.actionProceeds&&e.actionProceeds.token.toLowerCase()!==m.address.toLowerCase()||e.feeOnlyAction&&n&&(n.asset._source==="spice"||n.asset._source==="wallet"&&n.asset.chainId===y)&&(h?h.toLowerCase()!==m.address.toLowerCase():n.asset.receiptTokenId||n.asset.chainTokens))return Ds(e);if(e.actionProceeds&&e.feeOnlyAction){const X=w||g;if(!X||!v||!C)return null;if(h&&h.toLowerCase()!==m.address.toLowerCase())throw new Error("Action proceeds require a matching fee-token source");return Yi({proceeds:e.actionProceeds,owner:X,token:m.address,signal:t,buildBatches:(ee,Y)=>B({...Y,fundingAmountOverride:ee}),baseline:()=>Wn({...e,actionProceeds:void 0,selectedAsset:n??{amount:"0",asset:{...m,name:m.symbol,balance:0n,balanceFormatted:0,balanceUsd:0,isNative:!1,_source:"spice"}}})})}if(!n?.asset)return null;if(s){if(!w&&!g||r<=0&&!e.feeOnlyAction||a&&!l&&!e.feeOnlyAction)return null;const X=Xt(d,m.decimals),ee=h||rn(n.asset,y)||n.asset.address||m.address,Y={chainId:y,tokenAddress:ee,symbol:S.getTokenByAddress(ee,y)?.symbol??n.asset.symbol,decimals:await Sn(n.asset,ee,y,m)};if(!x||!b||!v||!C)return null;const we=w||g||b,be=(a?l?.amountInMax??0n:X)+(e.externalGasReserve?.feeAmount??0n);if(be===0n&&!e.feeOnlyAction)return null;const j=E?await cl({user:we,pivot:E,buildSupplyChainBatches:_=>B({..._,sourceGasSkimOverride:1n}),signal:t}):0n,K=Date.now();let Z=await ul({requiredNetFunding:be,feeOnlyAction:e.feeOnlyAction,buildBatches:_=>B({fundingAmountOverride:_,sourceGasSkimOverride:j}).then(le=>Ki(zu(le),we,void 0,{requestTimestampMs:K})),fundingToken:ee,estimate:O,executionOptions:{userOverride:we,useCustomTransfers:!0,feeExecutionMode:f,signal:t},tokenDescriptor:Y});if(!Z.preview)return null;let G=0n,ue,me,Se=[],J=!1;for(let _=0;_<8;_++){if(t?.aborted)throw new Error("Fee estimation cancelled");if(Se=Dn(await B({fundingAmountOverride:Z.grossFundingAmount,sourceGasSkimOverride:j,onSourceSpend:st=>{G=st},onSourceAllocation:st=>{ue=st},onActionCalls:st=>{me=st}}),we,Z.feeEstimate,{payoutAlreadyGross:!0,requestTimestampMs:K}),ue){const st=u.getSupplyFeePreview(Z.feeEstimate,Y);if(!st)throw new Error("The action quote is unavailable.");const ve=xo(y,ee,[{recipient:S.SPICE_GAS_FEE_RECIPIENT,amount:st.gasFee+(st.bridgeFee??0n)},{recipient:S.SPICE_PLATFORM_FEE_RECIPIENT,amount:st.spicenetFee}]).calls;Se=ns(Se,y,ee);const ze=[...Se].reverse().findIndex(He=>He.domain!=="spicenet"&&He.chainId===y),Ze=ze<0?-1:Se.length-ze-1;if(Ze<0)throw new Error("The action quote is unavailable.");Se[Ze]={...Se[Ze],calls:[...ve,...Se[Ze].calls]}}if(e.feeOnlyAction){J=!0;break}const le=await O(Se,ee,Z.grossFundingAmount,{userOverride:we,useCustomTransfers:!0,feeExecutionMode:f,signal:t}),te=f==="user-transfer"?Co(le,Z.feeEstimate):le,ne=u.getSupplyFeePreview(te,Y)??u.getEscrowFreeFeePreview(Se,Y,be);if(!ne)return null;const Ie=be+ne.gasFee+ne.spicenetFee+(ne.bridgeFee??0n),ge=u.getSupplyFeePreview(Z.feeEstimate,Y),fe=(ge?.gasFee??0n)===ne.gasFee&&(ge?.spicenetFee??0n)===ne.spicenetFee&&(ge?.bridgeFee??0n)===(ne.bridgeFee??0n),Ce=Z.grossFundingAmount===Ie&&fe;if(Z={feeEstimate:te,grossFundingAmount:Ie,preview:{...ne,grossAmount:Ie,netAmount:be}},Ce){J=!0;break}}if(!J)throw new Error("Payment fees did not converge. Refresh the quote before submitting.");if(!Z.preview)return null;const P=E?sn(j,E.source.decimals,E.destination.decimals,"ceil"):0n;return{...Z,batches:Se,sourceSpendCap:G,sourceAllocation:ue,actionDefinition:me,destinationAmount:X,preview:{...Z.preview,grossAmount:Z.preview.grossAmount+P,gasFee:Z.preview.gasFee+P,totalFee:(Z.preview.totalFee??0n)+P},...E?{sourceGasSkim:j}:{}}}if(r<=0||!w)return null;const M=w||g;if(E&&!A)return null;const U=Sr({isPayMode:s,selectedAsset:n,resolvedChainId:y,sourceSwap:A,pivot:E});if(!(!s&&!c&&n.asset?._source==="wallet"&&n.asset.chainId!==y)&&!k&&!I&&!D||D)return null;let F=await W();if(F.length===0)return null;const N={chainId:y,tokenAddress:R,symbol:S.getTokenByAddress(R,y)?.symbol??(n.asset.chainId===y&&u.addressesEqual(n.asset.address,R)?n.asset.symbol:m.symbol),decimals:await Sn(n.asset,R,y,m)},L=U&&e.initialFeeEstimate!==void 0&&e.initialSourceGasSkim!==void 0,q=U?L?e.initialSourceGasSkim:await cl({user:M,pivot:E,buildSupplyChainBatches:W,signal:t}):0n;U&&q>0n&&(F=await W({sourceGasSkimOverride:q}));const oe=U?sn(o?$i(A,q):A.amountOutMinimum,E.source.decimals,E.destination.decimals,"floor"):sn(Xt(n.amount,n.asset.decimals),n.asset.decimals,N.decimals,"floor"),pe=e.quotedInclusivePlatformFee&&f==="user-transfer",ae={userOverride:M,useCustomTransfers:!0,feeExecutionMode:f,signal:t,...U?{skipUserFundingPreflight:!0}:{}};let Q=oe,$=e.initialFeeEstimate??await O(F,R,Q,pe?{...ae,feeExecutionMode:"backend-transfer"}:ae);pe&&!e.initialFeeEstimate&&($=Co($,{intents:[]},100n));for(let X=0;X<8;X++){if(t?.aborted)throw new Error("Fee estimation cancelled");const ee=u.getSupplyFeePreview($,N)??u.getEscrowFreeFeePreview(F,N,Q);if(!ee)return null;const Y=Er(ee,oe,o,f,e.externalGasReserve?.feeAmount,e.quotedInclusivePlatformFee);Q=Y.grossAmount;let we,be,j,K,Z,G;const ue=await W({fundingAmountOverride:Q,sourceGasSkimOverride:q,actionContextOverride:Y,onDestinationAmount:te=>{we=te},onSourceSpend:te=>{be=te},onSourceAllocation:te=>{j=te},onSwap:(te,ne)=>{K=te,Z=ne},onActionCalls:te=>{G=te}}),me=pe?ns(await W({fundingAmountOverride:Q,sourceGasSkimOverride:q,actionContextOverride:Y,deliveryAmountOverride:Y.netAmount,withdrawalAmountOverride:Y.netAmount}).then(te=>{if(te.length!==ue.length)throw new Error("The withdrawal fee route changed. Refresh the quote before submitting.");return te.map((ne,Ie)=>{const ge=ue[Ie];if(!ge||ge.chainId!==ne.chainId||ge.domain!==ne.domain)throw new Error("The withdrawal fee route changed. Refresh the quote before submitting.");return ne.domain==="spicenet"?ne:{...ne,calls:ge.calls}})}),y,R):void 0,[Se,J]=await Promise.all([me?dl({estimate:O,batches:ue,pricingBatches:me,tokenAddress:R,fundingAmount:Q,options:ae}):O(ue,R,Q,{...ae,validateFeeCalls:e.initialFeeEstimate!==void 0}),L?u.relayerService.estimateBatchGas({user:M,outputToken:E.source.address,stepIndex:0,chainBatches:[ue[0]],signal:t}):void 0]);if(J&&!(pe?J.gasFee<=q:f==="user-transfer"?u.feeAmountsWithinTolerance(q,J.gasFee,e.feeToleranceBps):J.gasFee===q))throw new Error("Source gas changed. Prepare a fresh fee quote.");const P=f==="user-transfer"?Co(Se,$,pe?100n:0n):Se,_=u.getSupplyFeePreview(P,N)??u.getEscrowFreeFeePreview(ue,N,Q);if(!_)return null;const le=Er(_,oe,o,f,e.externalGasReserve?.feeAmount,e.quotedInclusivePlatformFee);if(JSON.stringify(Y,(te,ne)=>typeof ne=="bigint"?ne.toString():ne)===JSON.stringify(le,(te,ne)=>typeof ne=="bigint"?ne.toString():ne)||!pe&&f==="user-transfer"&&u.feeBreakdownsWithinTolerance(Y.feeBreakdown,le.feeBreakdown,e.feeToleranceBps)){const te=f==="user-transfer"?ee:_,ne=U?sn(q,E.source.decimals,E.destination.decimals,"ceil"):0n;return{batches:ue,feePricingBatches:me,fundingAmount:Q,actionContext:Y,sourceSpendCap:be,sourceAllocation:j,destinationAmount:we,destinationSwap:K,swapInputAmount:Z,actionDefinition:G,feeEstimate:f==="user-transfer"?$:P,sourceGasSkim:q,preview:{...te,grossAmount:Q+ne,netAmount:Y.netAmount,gasFee:te.gasFee+ne,spicenetFee:Y.feeBreakdown.spicenetFee,totalFee:Y.combinedFeeAmount+ne}}}$=P,F=ue}throw new Error("Fees did not converge. Refresh the quote before submitting.")}class Ar extends Error{constructor(t){super("Amount is too small to cover fees. Increase the amount and retry."),this.preview=t,this.name="FeeShortfallError"}}function Er(e,t,n,s,o=0n,r=!1){const a=e.gasFee+(e.bridgeFee??0n)+o;if(e.gasQuoteSource==="static_zero"&&o===0n)return{grossAmount:t,netAmount:t,combinedFeeAmount:0n,feeExecutionMode:s??"backend-transfer",feeBreakdown:{gasFee:0n,bridgeFee:0n,spicenetFee:0n}};if(n&&r){const d=a+e.spicenetFee;if(t<=d)throw new Ar({...e,grossAmount:t,netAmount:0n,totalFee:d});return{grossAmount:t,netAmount:t-d,combinedFeeAmount:d,feeExecutionMode:s??"backend-transfer",feeBreakdown:{gasFee:e.gasFee,bridgeFee:e.bridgeFee??0n,spicenetFee:e.spicenetFee}}}const l=n?u.splitFeeInclusiveAmount(t,a,10n):null;if(l&&!l.coversFees)throw new Ar({...e,grossAmount:t,netAmount:0n,spicenetFee:0n,totalFee:a});const c=l?.spicenetFee??(s==="user-transfer"?u.calculateBpsFee(t,10n):e.spicenetFee);return{grossAmount:l?.grossAmount??t+c+a,netAmount:l?.netAmount??t,combinedFeeAmount:c+a,feeExecutionMode:s??"backend-transfer",feeBreakdown:{gasFee:e.gasFee,bridgeFee:e.bridgeFee??0n,spicenetFee:c}}}async function ep(e,t){if(e.feeQuote?.sourceAllocation){e.validateFeeQuote?.();const c=e.feeQuote.sourceAllocation;vr(c,c.positions.map(d=>d.asset),e.embeddedWalletAddress??e.providerEmbeddedAddress??void 0,e.resolvedChainId);return}const n=e.selectedAsset?.asset;if(!n||n?._source!=="wallet")return;const s=rn(n,e.resolvedChainId);if(!s||!u.addressesEqual(s,e.executionTokenAddress))return;const o=await Sn(n,e.executionTokenAddress,e.resolvedChainId,e.destinationToken),r=rs(t,o,n.decimals);if(r<=n.balance)return;const a=T.formatUnits(r,n.decimals),l=T.formatUnits(n.balance,n.decimals);throw new Error(`Insufficient ${n.symbol} for this total amount. Required ${a} ${n.symbol}; available ${l} ${n.symbol}.`)}function tp(e){const t=S.getTokenByAddress(e.executionTokenAddress,e.resolvedChainId);return{chainId:e.resolvedChainId,tokenAddress:e.executionTokenAddress,symbol:t?.symbol??e.destinationToken.symbol,decimals:t?.decimals??e.destinationToken.decimals}}function np(e){const t=e.selectedAsset.asset,n=Xt(e.selectedAsset.amount,t.decimals);if(n<=t.balance)return n;throw new Error(`Insufficient ${t.symbol} for this total amount. Required ${T.formatUnits(n,t.decimals)} ${t.symbol}; available ${T.formatUnits(t.balance,t.decimals)} ${t.symbol}.`)}function ml(e,t,n,s){const o=tp(t),r=u.getSupplyFeePreview(e,o)??u.getEscrowFreeFeePreview(s,o,n);if(r)return Er(r,n,!!t.isFeeInclusiveInput,t.feeExecutionMode,0n,t.quotedInclusivePlatformFee)}function hl(e,t,n){let s=0n,o=0n;const r=n.toLowerCase();for(const a of e)if(a.chainId===t){for(const l of a.calls??[])if(l.to.toLowerCase()===r)try{const c=T.decodeFunctionData({abi:T.erc20Abi,data:l.data});if(c.functionName!=="transfer")continue;const d=c.args[0].toLowerCase(),m=c.args[1];d===S.SPICE_PLATFORM_FEE_RECIPIENT.toLowerCase()?s+=m:d===S.SPICE_GAS_FEE_RECIPIENT.toLowerCase()&&(o+=m)}catch{continue}}return{spicenetFee:s,gasFee:o}}function sp(e,t,n,s){const o=t.feeExecutionMode==="user-transfer"&&t.needsSwap&&t.resolvedTokenIn?t.resolvedTokenIn:t.executionTokenAddress,r=hl(e,t.resolvedChainId,o);return r.spicenetFee===0n&&n.feeBreakdown.spicenetFee>0n||r.gasFee===0n&&n.feeBreakdown.gasFee>0n?!1:u.feeAmountsWithinTolerance(r.spicenetFee,n.feeBreakdown.spicenetFee,t.feeToleranceBps)&&u.feeAmountsWithinTolerance(r.gasFee,n.feeBreakdown.gasFee,t.feeToleranceBps)&&u.feeAmountsWithinTolerance(s.feeBreakdown.bridgeFee,n.feeBreakdown.bridgeFee,t.feeToleranceBps)}function op(e,t,n){return e?u.amountsWithinBps(e.grossAmount,t.grossAmount,100n)&&u.feeBreakdownsWithinTolerance(e.feeBreakdown,t.feeBreakdown,n):!1}function rp(e,t){const n=S.getTokenByAddress(t,e.resolvedChainId);return{chainId:e.resolvedChainId,tokenAddress:t,symbol:n?.symbol??e.selectedAsset?.asset.symbol??"",decimals:n?.decimals??e.selectedAsset?.asset.decimals??e.destinationToken.decimals}}async function ap(e,t){const n=e.feeQuote;return n?.feeEstimate&&n.grossFundingAmount!==void 0?{grossFundingAmount:n.grossFundingAmount,feeEstimate:n.feeEstimate}:ul({...t,feeOnlyAction:e.feeOnlyAction,estimate:e.execution.estimate,tokenDescriptor:rp(e,t.fundingToken)})}function gl(e,t,n){const s=t instanceof Error?t:new Error(String(t));if(s.name==="AbortError"||n){e.ui.setStep("idle");return}const o=s.message||"Transaction failed";e.ui.setStep("error"),e.ui.setStatusMsg(o),e.ui.setError(o)}function xl(e,t){const n=u.sanitizeError(t,"Payment failed. Please try again.");e.ui.setError(n),e.ui.setPaymentResult({status:"failed",error:n})}async function yl(e){e.ui.setIsExecuting(!0),e.ui.setError(null),e.ui.setStep("executing"),e.ui.setStatusMsg("Confirm the transaction in your external wallet..."),e.ui.setTxHash(null),e.isPayMode&&(e.ui.setShowStatusPanel(!0),e.ui.setPaymentResult({status:"processing"}));try{if(e.validateFeeQuote?.(),!e.feeQuote?.batches||!e.feeQuote.actionDefinition)throw new Error("Review the direct action plan before submitting.");const t=await e.execution.execute(e.feeQuote.batches,e.destinationToken.address,0n,e.execution.onProgress);e.ui.setTxHash(t),e.ui.setStep("success"),e.ui.setStatusMsg("Transaction confirmed"),e.isPayMode&&e.ui.setPaymentResult({status:"success",txHash:t})}catch(t){e.isPayMode?xl(e,t):gl(e,t,!1)}finally{e.ui.setIsExecuting(!1)}}async function wl(e,t,n){e.validateFeeQuote?.();const s=e.feeQuote;if(!s.batches||s.sourceSpendCap===void 0||!s.fundingSource)throw new Error("Refresh the action before submitting.");const o=s.fundedFeeToken,r=s.grossFundingAmount??0n,a=Ji({...e,signal:n,feeOnlyAction:!0,destinationToken:o,actionProceeds:e.actionProceeds??{token:s.fundingSource.token,resolve:async()=>s.proceedsAvailable??0n}},o.address,r);return e.execution.execute(s.batches,s.fundingConversion?.tokenIn??s.fundingSource.token,r,t,n,{...a,userOverride:e.embeddedWalletAddress||e.providerEmbeddedAddress,useCustomTransfers:!0,feeExecutionMode:"backend-transfer",skipPreSubmitFeeEstimate:!0})}async function bl(e){if(!e.selectedAsset?.asset||e.parsedAmount<=0){e.ui.setError("Select an asset and enter an amount");return}if(e.isInsufficientBalance){e.ui.setError("Insufficient balance");return}if(e.directExternalAction)return yl(e);if(!e.embeddedWalletAddress){e.ui.setError("Wallet not ready");return}e.ui.setIsExecuting(!0),e.ui.setError(null),e.ui.setStep("signing-delegation"),e.ui.setStatusMsg("Building transaction..."),e.ui.setTxHash(null),e.refs.spiceDepositSubmittedRef.current=!1;const t=new AbortController;e.refs.abortControllerRef.current=t;try{const n=e.embeddedWalletAddress||e.providerEmbeddedAddress;if(e.feeQuote?.fundedFeeToken){const w=await wl(e,e.execution.onProgress,t.signal);e.ui.setTxHash(w),e.ui.setStep("success"),e.ui.setStatusMsg("Transaction confirmed");return}const s=Sr(e);s&&np(e);const o=e.feeQuote?.batches?e.feeQuote:await Wn({...e,feeExecutionMode:e.feeExecutionMode,isDirect:!e.needsSwap,isQuoting:!1,resolvedSwap:null,buildPayChainBatches:e.execution.buildPayChainBatches,buildSupplyChainBatches:e.execution.buildSupplyChainBatches,estimate:e.execution.estimate});if(!o?.batches||o.fundingAmount===void 0||!o.actionContext)throw new Error("A current action plan is required. Refresh the quote before submitting.");const r=e.isFeeInclusiveInput?o.actionContext.grossAmount:o.actionContext.netAmount;let a=o.batches;const l=a.some(w=>w.tokenTransfers?.length),c={userOverride:n,useCustomTransfers:l,feeExecutionMode:e.feeExecutionMode,...s?{skipUserFundingPreflight:!0}:{}},d=o.fundingAmount,m=o.actionContext;await ep(e,d);const f=m,h=await e.execution.execute(a,e.executionTokenAddress,l?d:0n,e.execution.onProgress,t.signal,e.feeExecutionMode==="user-transfer"?{...c,skipUserFundingPreflight:!0,adjustBatchesForEstimate:async({feeEstimate:w,chainBatches:g})=>{if(o.feePricingBatches){e.validateFeeQuote?.();const v=await dl({estimate:e.execution.estimate,batches:g,pricingBatches:o.feePricingBatches,tokenAddress:e.executionTokenAddress,fundingAmount:d,options:{...c,signal:t.signal},signedEstimate:w});e.validateFeeQuote?.();const C=ml(v,e,r,g),k=f.feeBreakdown,I=hl(g,e.resolvedChainId,e.executionTokenAddress);if(!C||C.feeBreakdown.spicenetFee!==k.spicenetFee||C.feeBreakdown.gasFee>k.gasFee||C.feeBreakdown.bridgeFee>k.bridgeFee||I.spicenetFee!==k.spicenetFee||I.gasFee!==k.gasFee+k.bridgeFee)throw new Error("Transaction fees changed. Refresh the quote before submitting.");return null}const y=ml(o.feeEstimate?Co(w,o.feeEstimate):w,e,r,g);if(!y)throw new Error("Unable to validate the accepted fees. Refresh the quote before submitting.");const x=op(f,y,e.feeToleranceBps),b=sp(g,e,y,f);if(x||b)return null;throw new Error("Transaction fees changed. Refresh the quote before submitting.")}}:{...c,skipPreSubmitFeeEstimate:!0});e.ui.setTxHash(h),e.ui.setStep("success"),e.ui.setStatusMsg("Deposit confirmed")}catch(n){gl(e,n,t.signal.aborted)}finally{e.ui.setIsExecuting(!1)}}async function vl(e){if(e.parsedAmount<0){e.ui.setError("Enter a valid payment amount");return}const t=e.parsedAmount===0;if(!e.selectedAsset?.asset&&!t){e.ui.setError("Select a payment source");return}if(e.isInsufficientBalance){e.ui.setError("Insufficient balance");return}if(e.parsedAmount>0&&e.needsSwap&&!e.exactOutputSwap){e.ui.setError("Swap quote not available. Try a different asset.");return}if(e.directExternalAction)return yl(e);const n=nl(e)&&!t,s=n?e.feeQuote?.sourceGasSkim??0n:0n,o=r=>e.execution.buildPayChainBatches(n?{...r,sourceGasSkimOverride:s}:r);if(!e.isConnected||!e.address){e.ui.setError("Please connect your wallet to continue");return}if(!e.ready||!e.authenticated){e.ui.setError(`Please authenticate with ${e.provider||"wallet provider"} to continue`);return}e.ui.setIsExecuting(!0),e.ui.setError(null),e.ui.setShowStatusPanel(!0),e.ui.setPaymentResult({status:"processing"});try{if(e.feeQuote?.fundedFeeToken){const C=await wl(e,k=>{k.txHash&&(e.ui.setTxHash(k.txHash),e.ui.setPaymentResult({status:"processing",txHash:k.txHash}))});e.ui.setPaymentResult(k=>({status:"success",txHash:k?.txHash||C}));return}const r=Xt(e.currentPaymentAmount,e.destinationToken.decimals),a={useCustomTransfers:!0,feeExecutionMode:e.feeExecutionMode,...n?{skipUserFundingPreflight:!0}:{}};if(t&&!e.feeOnlyAction){const C=await o(),k=await e.execution.execute(C,e.executionTokenAddress,0n,I=>{I.txHash&&(e.ui.setPaymentResult(A=>({...A??{status:"processing"},txHash:I.txHash})),e.ui.setTxHash(I.txHash))},void 0,a);e.ui.setPaymentResult(I=>({status:"success",txHash:I?.txHash||k}));return}const l=e.selectedAsset?.asset,c=e.feeQuote?.fundingSource;if(!l&&!e.actionProceeds&&!c)throw new Error("Select a payment source");const d=e.feeQuote?.fundingConversion?.tokenIn||c?.token||e.resolvedTokenIn||l?.address||e.destinationToken.address,m=e.needsSwap?e.exactOutputSwap?.amountInMax??0n:r,f=e.embeddedWalletAddress||e.providerEmbeddedAddress||e.address,h=!!e.feeQuote?.fundingConversion||!!c&&(c.kind!=="balance"||c.asset?._source==="wallet"),{grossFundingAmount:w,feeEstimate:g}=h?{grossFundingAmount:e.feeQuote.grossFundingAmount??0n,feeEstimate:void 0}:await ap(e,{requiredNetFunding:m,buildBatches:C=>e.execution.buildPayChainBatches({fundingAmountOverride:C}).then(k=>Dn(k,f)),fundingToken:d,executionOptions:a});let y=e.feeQuote?.fundingBatches??e.feeQuote?.batches??Dn(await o({fundingAmountOverride:w}),f,e.actionProceeds?void 0:g,{payoutAlreadyGross:!0});const x=Ji(e,e.feeQuote?.fundingConversion?.tokenOut??d,w);x.prepareForSigning&&(y=await x.prepareForSigning(y));const b=y.some(C=>C.tokenTransfers?.length),v=await e.execution.execute(y,d,b?w:0n,C=>{C.txHash&&(e.ui.setPaymentResult(k=>({...k,txHash:C.txHash})),e.ui.setTxHash(C.txHash))},void 0,{...a,...x,skipPreSubmitFeeEstimate:!0});e.ui.setPaymentResult(C=>({status:"success",txHash:C?.txHash||v}))}catch(r){xl(e,r)}finally{e.ui.setIsExecuting(!1)}}async function Cl(e){const{quote:t,recipient:n,chainId:s,token:o}=e,r=t.batches?kl(t.batches,o,s,n):0n;if(r<=0n)throw new Error("The route does not deliver the action amount to the external wallet.");const a={userAddress:n,executorAddress:n,beneficiary:e.beneficiary??n,chainId:s,destinationToken:o,feeToken:o,grossAmount:r,netAmount:r,combinedFeeAmount:0n,feeExecutionMode:e.feeExecutionMode,feeBreakdown:{spicenetFee:0n,gasFee:0n,bridgeFee:0n}},l=await e.buildCalls(r,a);if(!l.length)throw new Error("No action calls configured.");return{amount:r,context:a,calls:l.map(c=>({...c}))}}function ip(e,t,n){const s=[],o=(r,a,l)=>{l>0n&&s.push(S.isNativeToken(r)?{to:a,value:l,data:"0x"}:{to:r,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"transfer",args:[a,l]})})};return t.feeExecutionMode==="user-transfer"&&t.feeBreakdown&&(o(t.feeToken??t.destinationToken,S.SPICE_PLATFORM_FEE_RECIPIENT,t.feeBreakdown.spicenetFee),o(t.feeToken??t.destinationToken,S.SPICE_GAS_FEE_RECIPIENT,t.feeBreakdown.gasFee+t.feeBreakdown.bridgeFee)),o(t.destinationToken,n,e),s}function kl(e,t,n,s){let o=0n;for(const r of e)if(r.chainId===n){for(const a of r.calls)if(u.addressesEqual(a.to,t))try{const l=T.decodeFunctionData({abi:T.erc20Abi,data:a.data});l.functionName==="transfer"&&u.addressesEqual(l.args[0],s)&&(o+=l.args[1])}catch{}}return o}async function lp(e){if(!/^0x[0-9a-f]{64}$/i.test(e.hash))throw new Error("The external delivery receipt is unavailable.");const t=u.getClientForChain(e.chainId),n=await t.getTransactionReceipt({hash:e.hash});if(n.status!=="success"||!u.addressesEqual(n.transactionHash,e.hash))throw new Error("The external delivery receipt was not successful.");let s=0n;for(const o of n.logs)if(u.addressesEqual(o.address,e.token))try{const r=T.decodeEventLog({abi:T.erc20Abi,eventName:"Transfer",data:o.data,topics:o.topics});u.addressesEqual(r.args.to,e.recipient)&&u.addressesEqual(r.args.from,e.sender)&&(s+=r.args.value)}catch{}if(s!==e.amount)throw new Error("The received external amount does not match the accepted action.");if(await t.readContract({address:e.token,abi:T.erc20Abi,functionName:"balanceOf",args:[e.recipient]})<e.amount)throw new Error("The external wallet no longer holds the delivered action amount.")}async function Sl(e){const{definition:t,account:n,chainId:s}=e,{calls:o}=t;if(!u.addressesEqual(t.context.executorAddress,n)||t.context.chainId!==s||!o.length)throw new Error("The direct action no longer matches its wallet or chain.");const r=u.getClientForChain(s);let a;for(const l of o){await e.assertCurrent();const[c,d]=await Promise.all([Ai({client:r,account:n,calls:[l]}),r.getBalance({address:n})]);if(d<l.value+c)throw new Error("The external wallet has insufficient native balance for this transaction and network gas.");await e.assertCurrent();const{extWc:m,viemChain:f}=await ar({wallet:e.wallet,account:n,chainId:s});await e.assertCurrent(),a=await tu({extWc:m,viemChain:f,client:r,calls:[l],errorMessage:"The external transaction reverted. Retry the unfinished action when ready."})}if(!a)throw new Error("The direct action has no confirmed receipt.");return a}async function Il(e){const{asset:t,embedded:n,external:s,amount:o}=e;if(!s||!e.externalWallet)throw new Error("Connect the source wallet before funding.");if(o<=0n)return;const r=u.getClientForChain(t.chainId),a=t.isNative||S.isNativeToken(t.address),[l,c]=await Promise.all([Ei({client:r,account:s,recipient:n,token:t.address,isNative:a,amount:o}),r.getBalance({address:s})]);if(c<l+(a?o:0n))throw new Error("The source wallet has insufficient native balance for funding and gas.");const{extWc:d,viemChain:m}=await ar({wallet:e.externalWallet,account:s,chainId:t.chainId});await nu({extWc:d,sourceClient:r,recipient:n,tokenAddr:t.address,isNative:a,amount:o,viemChain:m,observer:{onSending:()=>e.assertCurrent()}})}function Al(e){const t=p.useContext(u.SpiceFlowProviderContext),n=u.getChainConfig(e.chainId),s=e.address??n?.supportedTokens?.find(g=>g.symbol.toLowerCase()===e.symbol?.toLowerCase())?.address,o=e.symbol??(s&&S.isNativeToken(s)?n?.nativeCurrency?.symbol:n?.supportedTokens?.find(g=>!!s&&u.addressesEqual(g.address,s))?.symbol),r=u.getRpcUrlForChain(e.chainId,t?.rpcOverrides),[a,l]=p.useState(0),c=`${e.chainId}:${s?.toLowerCase()}:${r}:${e.decimals??""}:${o??""}:${a}`,[d,m]=p.useState(null);p.useEffect(()=>{let g=!1;if(!(!e.enabled||!s||!r?.trim()))return Promise.all([e.decimals??u.getTokenDecimals(e.chainId,s,t?.rpcOverrides),o??un.readContract(u.getClientForChain(e.chainId,t?.rpcOverrides),{address:s,abi:T.erc20Abi,functionName:"symbol"}).catch(()=>{})]).then(([y,x])=>{if(!Number.isInteger(y)||y<0||y>255)throw new Error("Invalid destination token decimals");g||m({key:c,decimals:y,symbol:x})}).catch(y=>{g||m({key:c,error:y.message})}),()=>{g=!0}},[e.enabled,c]);const f=d?.key===c?d:null,h=p.useMemo(()=>({address:s??S.ZERO_ADDRESS,chainId:e.chainId,decimals:f?.decimals??0,symbol:o??f?.symbol??(s?u.truncateAddress(s):""),logoURI:e.logoURI}),[s,e.chainId,f?.decimals,f?.symbol,o,e.logoURI]),w=e.enabled?s?r?.trim()?f?.error??null:`Configure SpiceFlowProvider rpcOverrides[${e.chainId}] before continuing.`:"Configure the destination token address before continuing.":null;return{token:h,error:w,ready:e.enabled&&!!s&&!!r?.trim()&&f?.decimals!==void 0,refresh:p.useCallback(()=>l(g=>g+1),[])}}function El(e,t){const n=!!e&&e.symbol!==void 0&&e.decimals!==void 0,s=Al({enabled:t&&!!e&&!n,chainId:e?.chainId??0,address:e?.address,decimals:e?.decimals,symbol:e?.symbol,logoURI:e?.logoURI});return{token:e?n?e:s.ready?s.token:void 0:void 0,error:s.error}}const Fr={address:S.ZERO_ADDRESS,symbol:"",decimals:18,chainId:0};function Fl(e,t,n){return u.addressesEqual(e.address,t)&&e.chainId===n?e._source==="wallet"?0:1:2}function cp(e,t,n,s){const o=Fl(e,n,s)-Fl(t,n,s);return o!==0?o:(t.balanceUsd||0)-(e.balanceUsd||0)}const dp=Na;function Tl(e){const t=p.useContext(u.SpiceFlowProviderContext),n=u.useProviderWallets(),s=t?.embeddedWalletAddress||n.embeddedAddress,o=t?.externalWalletAddress||n.externalAddress,r=(t?.mode||"7702")!=="7702",a=e.destinationToken??Fr,l=e.enabled&&!!e.destinationToken,c=Xn({...e,owner:s,enabled:l&&!!s&&(!r||e.includeCrossChainEmbeddedAssets!==!1),role:"spend-source",destination:e.destinationToken}),d=Xn({...e,owner:o,enabled:l&&!!o&&(r||e.includeExternalWalletAssets!==!1),role:"spend-source",destination:e.destinationToken});return{displayAssets:p.useMemo(()=>[...c.assets,...d.assets].sort((m,f)=>cp(m,f,a.address,a.chainId)),[c.assets,d.assets,a.address,a.chainId]),filteredSpiceAssets:c.rollupAssets,walletAssets:[...c.walletAssets,...d.walletAssets],embeddedWalletAddress:s,externalAddress:o,isNon7702:r,refreshSpiceAssets:c.refresh,refreshWalletAssets:c.refresh,loading:c.loading||d.loading,refreshing:c.refreshing||d.refreshing,error:c.error||d.error}}function up(e,t){return!e||e._source!=="wallet"?null:qo(e,t)}function Tr(e){return ma({aerodrome:!1,oneInch:{chainIds:[]},customVenues:e})}const Br=Mn(),pp=Tr(Br.input);function Bl(e){return{venue:"mapped-transfer",amountOut:e,amountOutMinimum:e,calls:[]}}function Rl(e){return{venue:"mapped-transfer",amountIn:e,amountInMax:e,amountOut:e,calls:[]}}async function Rr(e){if(u.addressesEqual(e.tokenIn,e.tokenOut))return Bl(e.amountIn);if(e.resolveInputSwap){const n=await e.resolveInputSwap({type:"swap",tokenIn:e.tokenIn,tokenOut:e.tokenOut,amountIn:e.amountIn,maxSlippage:e.maxSlippage},e.chainId,e.recipient);if(n)return n}const t=await(e.liquidityVenues?Tr(Mn(e.liquidityVenues).input):pp).resolveSwap({type:"swap",tokenIn:e.tokenIn,tokenOut:e.tokenOut,amountIn:e.amountIn,maxSlippage:e.maxSlippage},e.chainId,e.recipient,e.selectedSwap);if(!t)throw new Error("No liquidity for this pair.");return t}async function fp(e){return u.addressesEqual(e.tokenIn,e.tokenOut)?Rl(e.amountOut):js({customVenues:e.liquidityVenues?Mn(e.liquidityVenues).output:Br.output}).getQuote({tokenIn:e.tokenIn,tokenOut:e.tokenOut,amountOut:e.amountOut,maxSlippage:e.maxSlippage},e.chainId,e.recipient)}function jl(e){const{enabled:t=!0,direction:n,selectedAsset:s,destinationToken:o,chainId:r=o.chainId,recipient:a,paymentAmount:l,maxSlippage:c,refreshIntervalMs:d,resolveInputSwap:m,resolveExactOutputSwap:f}=e,h=p.useContext(u.SpiceFlowProviderContext),w=h?.liquidityVenues,g=JSON.stringify([h?.network,h?.apiUrl,h?.rpcOverrides]),[y,x]=p.useState(!1),[b,v]=p.useState(null),[C,k]=p.useState(null),[I,A]=p.useState(null),[E,D]=p.useState(null),[R,B]=p.useState(null),[W,O]=p.useState(null),[M,U]=p.useState(null),[F,N]=p.useState(null),[L,q]=p.useState(null),[oe,pe]=p.useState(null),[ae,Q]=p.useState(null),[$,X]=p.useState(null),[ee,Y]=p.useState(null),[we,be]=p.useState(0),[j,K]=p.useState(null),[Z,G]=p.useState(null),ue=p.useRef(null),me=p.useRef(null),Se=p.useRef(0),J=p.useRef(new Map),P=p.useCallback(()=>{Se.current++,J.current.clear(),G(null),be(Pe=>Pe+1)},[]),_=d&&d>0?d:null,le=w?JSON.stringify(w):"",te=p.useMemo(()=>w?Mn(w):Br,[le]),ne=p.useMemo(()=>Tr(te.input),[te]),Ie=p.useMemo(()=>js({customVenues:[...f?[{name:"consumer-exact-output",chainIds:[r],preferred:!0,resolve:f}]:[],...te.output]}),[f,r,te]);p.useEffect(()=>{J.current.clear()},[Ie]);const ge=p.useMemo(()=>t?up(s?.asset,r):null,[t,s?.asset,r]),fe=p.useMemo(()=>{if(!t||!s?.asset)return null;if(ge)return ge.destination.address;const Pe=rn(s.asset,r);if(Pe)return Pe;const lt=En(s.asset.address,r,s.asset.chainId);return lt?lt.address:null},[t,s?.asset,r,ge]),Ce=p.useMemo(()=>t&&s?.asset?Kn(s.asset,r):[],[t,s?.asset,r]),st=p.useMemo(()=>Ce.map(Pe=>Pe.toLowerCase()).join(","),[Ce]),ve=JSON.stringify([t,g,s?.asset.owner,s?.asset.location,s?.asset.receiptTokenId,s?.asset.address,s?.asset.chainId,s?.asset.decimals,s?.amount,r,st,n,l]);p.useEffect(()=>{let Pe=!1;if(me.current&&(clearTimeout(me.current),me.current=null),!t||!s?.asset||ge||Ce.length<=1){X(null),Y(null);return}return me.current=setTimeout(async()=>{const lt=n==="input"?s.amount:l||"0";let Me=0n;try{Me=n==="input"?Xt(lt,s.asset.decimals):0n}catch{Me=0n}try{const ht=await ja(s.asset,r,{requiredAmount:Me});Pe||(X(ht),Y(ve))}catch{Pe||X(null)}},400),()=>{Pe=!0,me.current&&(clearTimeout(me.current),me.current=null)}},[ve]);const ze=p.useMemo(()=>(ee===ve?$:null)??fe,[$,ee,ve,fe]),Ze=p.useMemo(()=>!s?.asset||!ze?[]:[ze,...Ce.filter(Pe=>Pe.toLowerCase()!==ze.toLowerCase())],[s?.asset,ze,Ce]),He=p.useMemo(()=>!s?.asset||!gs(s.asset.address,s.asset.chainId,o.address,o.chainId)||!ze?!1:u.addressesEqual(ze,o.address),[s,o.address,o.chainId,ze]),et=ze?u.addressesEqual(ze,o.address):!1,tt=n==="output"&&parseFloat(l||"0")===0,ot=t&&!!s?.asset&&!He&&!et&&!tt,gt=JSON.stringify([t,le,n,ot,g,s?.asset.owner,s?.asset.location,s?.asset.receiptTokenId,s?.asset.address,s?.asset.chainId,s?.asset.decimals,n==="input"?s?.amount:l,Ze.map(Pe=>Pe.toLowerCase()),r,o.address.toLowerCase(),o.chainId,o.decimals,a?.toLowerCase(),c,_,ge?.source.address.toLowerCase()??""]),Xe=p.useMemo(()=>({}),[gt,ne,Ie,m,we]),ct=Z?.request===Xe&&(!_||Z.expiresAt>Date.now());return p.useEffect(()=>{if(!_||Z?.request!==Xe)return;const Pe=setTimeout(P,Math.max(0,Z.expiresAt-Date.now()));return()=>clearTimeout(Pe)},[_,Z,Xe,P]),p.useEffect(()=>{ue.current&&clearTimeout(ue.current),K(Xe),G(null),v(null);const Pe=n==="input"?s?.amount:l,lt=parseFloat(Pe||"0");if(!t||!Number.isFinite(lt)||lt<=0||!s?.asset||!a||Ze.length===0){Se.current++,k(null),A(null),D(null),B(null),O(null),U(null),N(null),Q(null),v(null),x(!1);return}const Me=s.asset.decimals;let ht;try{ht=n==="input"?Xt(s.amount,Me):Xt(l||"0",o.decimals)}catch(De){Se.current++,v(De instanceof Error?De.message:"Invalid amount or token precision"),x(!1);return}const Ct=++Se.current,Je=()=>Ct!==Se.current;x(!0);const ft=n==="output"?150:100,Be=async(De,re,de,Ee={chainId:r,tokenOut:o.address,amountIn:ht},Fe=Ze)=>{for(const ce of Fe){const We=`${g}:${le}:${n}:${Ee.chainId}:${ce.toLowerCase()}:${Ee.tokenOut.toLowerCase()}:${Ee.amountIn.toString()}:${a.toLowerCase()}:${c??"default"}:${_??"default"}`,je=J.current.get(We),z=je&&je.expiresAt>Date.now()?De(je):void 0;if(z)return{quote:z,tokenIn:ce,expiresAt:je.expiresAt};const $e=await de(ce);if(Je())return"stale";if(!$e)continue;const Re=Date.now()+Math.min(_??3e4,3e4);return J.current.set(We,{expiresAt:Re,direction:n,...re($e)}),{quote:$e,tokenIn:ce,expiresAt:Re}}return null},dt=De=>Be(re=>re.resolvedSwap,re=>({resolvedSwap:re}),async re=>{const de=!ge&&De.chainId===r&&s.asset._source!=="wallet",Ee=de?await Sn(s.asset,re,De.chainId,o):Me;if(Je())return null;const Fe=de?_n(De.amountIn,Me,Ee):De.amountIn;if(u.addressesEqual(re,De.tokenOut))return Bl(Fe);const ce={type:"swap",tokenIn:re,tokenOut:De.tokenOut,amountIn:Fe,maxSlippage:c};if(m){const We=await m(ce,De.chainId,a);if(We)return We}return ne.resolveSwap(ce,De.chainId,a)},De,De.candidates);return ue.current=setTimeout(async()=>{try{if(n==="input"){let De=null,re=ht;if(ge){if(De=await dt({chainId:ge.source.chainId,tokenOut:ge.source.address,amountIn:ht,candidates:[s.asset.address]}),De==="stale"||Je())return;if(!De)throw new Error("No liquidity for this pair");re=sn(De.quote.amountOutMinimum,ge.source.decimals,ge.destination.decimals,"floor")}const de=ot||!ge?await dt({chainId:r,tokenOut:o.address,amountIn:re,candidates:Ze}):null;if(de==="stale"||Je())return;if(ot&&!de)throw new Error("No liquidity for this pair");const Ee=de?de.quote.amountOut:re,Fe=Math.min(de?.expiresAt??1/0,De?.expiresAt??1/0),ce=ge?.destination.decimals??await Sn(s.asset,de.tokenIn,r,o),We=!ge&&s.asset._source!=="wallet"?_n(re,Me,ce):re;if(Je())return;Q(de?.tokenIn??ge?.destination.address??null),G({request:Xe,key:`${T.keccak256(T.toHex(gt))}:${Ct}`,expiresAt:Fe}),N(Ee),q(We),pe(ce),D(ot?de?.quote??null:null),B(De?.quote??null),O(null),U(null);const je=parseFloat(T.formatUnits(Ee,o.decimals));k(je<.01?je.toPrecision(4):je.toLocaleString(void 0,{maximumFractionDigits:6})),A(null),v(null)}else{const De=We=>Be(je=>je.exactOutputSwap,je=>({exactOutputSwap:je}),async je=>{try{return u.addressesEqual(je,We.tokenOut)?Rl(We.amountOut):await Ie.getQuote({tokenIn:je,tokenOut:We.tokenOut,amountOut:We.amountOut,maxSlippage:c},We.chainId,a)}catch{return null}},{chainId:We.chainId,tokenOut:We.tokenOut,amountIn:We.amountOut},We.candidates),re=!ge||ot,de=re?await De({chainId:r,tokenOut:o.address,amountOut:ht,candidates:Ze}):null;if(de==="stale"||Je())return;if(re&&!de)throw new Error("No liquidity for this pair");let Ee=null;if(ge){const We=de?de.quote.amountInMax:ht;if(Ee=await De({chainId:ge.source.chainId,tokenOut:ge.source.address,amountOut:sn(We,ge.destination.decimals,ge.source.decimals,"ceil"),candidates:[s.asset.address]}),Ee==="stale"||Je())return;if(!Ee)throw new Error("No liquidity for this pair")}const Fe=Ee?Me:await Sn(s.asset,de.tokenIn,r,o);if(Je())return;Q(de?.tokenIn??ge?.destination.address??null),G({request:Xe,key:`${T.keccak256(T.toHex(gt))}:${Ct}`,expiresAt:Math.min(de?.expiresAt??1/0,Ee?.expiresAt??1/0)}),U(de?.quote??null),O(Ee?.quote??null),D(null),B(null),N(null);const ce=Ee?.quote.amountIn??de.quote.amountIn;A(T.formatUnits(ce,Fe)),k(null),v(null)}}catch(De){if(Je())return;const re=De instanceof Error?De.message:"Failed to get quote";v(re),k(null),A(null),D(null),B(null),O(null),U(null),N(null),Q(null)}finally{Je()||x(!1)}},ot||ge?ft:0),()=>{Se.current++,ue.current&&clearTimeout(ue.current)}},[Xe]),{inputAmount:ct&&n==="input"?L:null,inputDecimals:ct&&n==="input"?oe:null,quoteKey:ct?Z.key:null,quoteExpiresAt:ct?Z.expiresAt:null,refreshQuote:P,isQuoting:j===Xe?y:ot||!!ge,quoteError:j===Xe?b:null,estimatedOutput:ct?C:null,estimatedInput:ct?I:null,resolvedSwap:ct?E:null,exactOutputSwap:ct?M:null,quoteAmountOut:ct?F:null,resolvedTokenIn:ot&&ct?ae??ze:ze,isDirect:et,needsSwap:ot,selectedIsEquivalent:He,sourceSwap:ct?R:null,sourceExactOutputSwap:ct?W:null,pivot:ge}}function Os(e){const{enabled:t=!0,destinationToken:n,selectedAsset:s,paymentAmount:o="0",sourceChains:r,supportedSourceAssets:a,buildActionCalls:l,feeExecutionMode:c="user-transfer",buildSpicenetBatch:d,onPayExecute:m,resolveExactOutputSwap:f,amountDirection:h=e.feeOnlyAction?"output":"input",onSuccess:w,onError:g}=e,y=El(n,t),x=y.token??Fr,b=t&&!!y.token,v=h==="output",C=h==="input-inclusive",k=e.feeFunding?.length!==0&&(e.actionProceeds==="output"||!!e.feeFunding?.length),I=v?"output":"input",A=x.chainId,E=p.useContext(u.SpiceFlowProviderContext),D=u.resolveFeeToleranceBps(E?.feeToleranceBps),R=E?.mode||"7702",B=!1,W=!!E?.isWhitelistGateActive,O=!!E?.isWhitelistConfigured&&E?.isUserWhitelisted!==!0,M=p.useMemo(()=>r??E?.supportedChainIds??[],[r,E?.supportedChainIds]),U=a,{address:F,isConnected:N,isReady:L,isAuthenticated:q,provider:oe}=u.useWallet(),{execute:pe,estimate:ae}=Ss(),{externalWallet:Q,embeddedAddress:$,activeWallet:X,activeAddress:ee}=u.useProviderWallets(),Y=E?.externalWalletAddress,we=E?.embeddedWalletAddress||$,be=fr(we,t),j=s,K=_s(j?.asset,R!=="7702"),Z=!!j&&j.asset.chainId===x.chainId&&u.addressesEqual(S.normalizeNativeTokenAddress(j.asset.address),S.normalizeNativeTokenAddress(x.address)),G=(R!=="7702"||e.actionExecution?.wallet==="external")&&K&&Z&&(!v||Number(o)>0)&&!e.feeOnlyAction&&!e.actionProceeds,ue=K&&!G,me=e.actionExecution?.wallet==="external"&&!G,Se=me?[x.chainId,...j?.asset._source==="wallet"?[j.asset.chainId]:[]].find(V=>!E?.rpcOverrides?.[V]):void 0,J=y.error?y.error:m?"Move onPayExecute protocol calls to buildActionCalls and application updates to onSuccess before continuing.":me&&(v&&!(Number(o)>0)||e.feeOnlyAction||e.actionProceeds||e.prependSourceEscrow||S.isNativeToken(x.address))?"External wallet execution requires a positive ERC20 supply or payment with SDK-managed funding.":Se!==void 0?`Configure rpcOverrides for chain ${Se} before routing to the external caller.`:null,P=p.useMemo(()=>me&&Y?(V,he)=>ip(V,he,Y):l,[me,Y,l]),{displayAssets:_,filteredSpiceAssets:le,walletAssets:te,embeddedWalletAddress:ne,refreshSpiceAssets:Ie,refreshWalletAssets:ge,loading:fe,refreshing:Ce,error:st}=Tl({address:F,destinationToken:x,supportedSourceAssets:U,sourceChains:M,additionalSourceTokens:[...e.additionalSourceTokens??[],...j?.asset._source==="wallet"?[{address:j.asset.address,chainId:j.asset.chainId,decimals:j.asset.decimals,symbol:j.asset.symbol,name:j.asset.name,logoURI:j.asset.logoURI}]:[]],includeExternalWalletAssets:e.includeExternalWalletAssets,includeCrossChainEmbeddedAssets:e.includeCrossChainEmbeddedAssets,enabled:b&&(R!=="7702"?!!Y:!!we)}),ve=!!e.combineSourceBalances,ze=JSON.stringify([...te,...le],(V,he)=>typeof he=="bigint"?he.toString():he),Ze=p.useMemo(()=>[...te,...le],[ze]),He=ve?JSON.stringify([we,A,ze]):"",et=p.useCallback((V,he)=>{if(!ve)return;const Ge=Ze.find(Ke=>xe(Ke)===xe(V));return Ge?Qi(Ge,Ze,we??void 0,A,void 0,he):void 0},[ve,Ze,we,A]),tt=p.useCallback(V=>!ve||V.owner?.toLowerCase()!==we?.toLowerCase()||V.chainId!==A?!1:Ze.some(he=>he.owner?.toLowerCase()===V.owner?.toLowerCase()&&he.chainId===A&&(V.location==="embedded"&&he.location==="rollup"&&Object.keys(he.chainTokens??{}).some(Ge=>Ge.toLowerCase()===`evm:${A}:${V.address.toLowerCase()}`)||V.location==="rollup"&&he.location==="embedded"&&Object.keys(V.chainTokens??{}).some(Ge=>Ge.toLowerCase()===`evm:${A}:${he.address.toLowerCase()}`))),[ve,we,A,Ze]),ot=p.useCallback(V=>{if(!ve)return V.balance;const he=Ze.find(Ge=>xe(Ge)===xe(V));if(!(!he||he.balanceError||he.balanceStatus==="stale"))return tt(he)?et(he)?.availableBalance:he.balance},[ve,Ze,tt,et]),gt=p.useMemo(()=>{if(!ve)return _;const V=new Set;return _.filter(he=>{const Ge=et(he);if(!Ge)return!0;const Ke=xe(Ge.escrow);return V.has(Ke)?!1:(V.add(Ke),!0)})},[_,ve,et]),Xe=k||e.feeFunding?.length!==0&&v&&!!j&&!!et(j.asset),ct=p.useMemo(()=>e.feeOnlyAction||Xe?_.filter(V=>V.balance>0n&&V.location!=="external"&&(V._source==="spice"||V._source==="wallet"&&V.chainId===A)):[],[_,e.feeOnlyAction,Xe,A]),Pe=j?[...te,...le].find(V=>xe(V)===xe(j.asset)):void 0,lt=p.useMemo(()=>j&&Pe?{...j,asset:Pe}:j,[j,Pe]),Me=j?Tn(Pe??j.asset,"spend-source",{allowedTokens:E?.allowedTokens,rpcOverrides:E?.rpcOverrides,liquidityVenues:E?.liquidityVenues,isWhitelistGateActive:W},x,U):null,ht=Pe?et(Pe):void 0,Ct=ve?Pe?ot(Pe):void 0:j?.asset.balance,Je=j&&tt(j.asset)?Ct??0n:Pe?Pe.balance<(j?.asset.balance??0n)?Pe.balance:j.asset.balance:0n,[ft,Be]=p.useState(!1),[dt,De]=p.useState(!1),re=p.useRef(!1),de=p.useRef(!1),Ee=p.useRef(!0);p.useLayoutEffect(()=>(Ee.current=!0,()=>{Ee.current=!1}),[]);const[Fe,ce]=p.useState(null),We=p.useRef(g);We.current=g;const je=p.useCallback(V=>{ce(V),typeof V=="string"&&V&&We.current?.(new Error(V),u.getRelayerErrorDetail(V))},[]),[z,$e]=p.useState("idle"),[Re,Ve]=p.useState(""),[Mt,At]=p.useState(null),[Oe,rt]=p.useState(!1),[wt,Ft]=p.useState(null),[nt,Dt]=p.useState(null),[Nn,xt]=p.useState(!1),[gn,Tt]=p.useState(!1),[on,bt]=p.useState(null),Ut=p.useRef(j),zt=p.useRef(!1),$t=p.useRef(null),Ht=p.useRef(null),ut=p.useRef(null),Te=p.useRef(null),kt=p.useRef(null),_t=p.useRef(null),Vt=p.useRef(w),Ot=p.useRef(null),Wt=p.useRef(!1),[qe,Nt]=p.useState(null),[Rt,en]=p.useState(null),[ln,xn]=p.useState(!1),[yn,wn]=p.useState(0),Qt=wt?.status==="success"?wt.txHash:z==="success"?Mt:null,Lt=!!Qt&&qe!==Qt,ie=p.useRef(Lt);ie.current=Lt,p.useEffect(()=>{Ut.current=j},[j]);const se=G?Y:ne||$||F,ke=b&&!ft&&z==="idle"&&!J&&!O&&!!se&&!G&&!v&&C&&c==="user-transfer"&&!e.feeOnlyAction&&!e.actionInput&&!e.actionProceeds&&!!j&&Number(j.amount||"0")===0&&!!Me?.eligible&&Je>0n,_e=p.useMemo(()=>{if(!ke||!j)return j;const V=10n**BigInt(j.asset.decimals);return{...j,amount:T.formatUnits(Je<V?Je:V,j.asset.decimals)}},[ke,j,Je]),Ue=jl({enabled:b&&!O&&!G,direction:I,selectedAsset:_e,destinationToken:x,chainId:A,recipient:se,paymentAmount:o,resolveExactOutputSwap:f,resolveInputSwap:e.resolveInputSwap,maxSlippage:e.maxSlippage}),Qe=G?{...Ue,quoteKey:"direct-external",quoteExpiresAt:null,quoteAmountOut:null,inputAmount:null,inputDecimals:j?.asset.decimals??null,isQuoting:!1,quoteError:null,isDirect:!0,needsSwap:!1,selectedIsEquivalent:!0,resolvedTokenIn:x.address,resolvedSwap:null,exactOutputSwap:null,sourceSwap:null,sourceExactOutputSwap:null,pivot:null,estimatedInput:v?o:j?.amount??null,estimatedOutput:v?o:j?.amount??null}:Ue,Ne=Qe,{isQuoting:Gt,resolvedSwap:Bt,exactOutputSwap:Pt,quoteAmountOut:tn,resolvedTokenIn:Et,isDirect:qn,needsSwap:Kt,selectedIsEquivalent:zn,sourceSwap:cn,sourceExactOutputSwap:bn,pivot:pt}=Qe,H=v?parseFloat(o||"0"):parseFloat(j?.amount||"")||0,ye=j?.asset?._source==="wallet",Ye=!!j?.asset&&ye&&j.asset.chainId!==A,Ae=j?Number(T.formatUnits(Je,j.asset.decimals)):0,vt=p.useMemo(()=>{if(!j||v)return!1;try{return Xt(j.amount||"0",j.asset.decimals)>Je}catch{return!0}},[j,v,Je]);p.useEffect(()=>{b||(je(null),Be(!1),Lt||($e("idle"),Ve(""),At(null),rt(!1),Ft(null)),Dt(null),xt(!1),Tt(!1),bt(null),zt.current=!1,$t.current&&($t.current.abort(),$t.current=null))},[b,Lt]);const mt=p.useCallback(V=>{$e({building:"building","signing-delegation":"signing-delegation","signing-intent":"signing-intent",submitting:"submitting",executing:"executing",success:"success",error:"error"}[V.step]||"executing"),Ve(V.message),V.txHash&&At(V.txHash)},[]),Zt=p.useMemo(()=>({currentPaymentAmount:o,isFeeInclusiveInput:C,feeOnlyAction:e.feeOnlyAction,swapInputAmount:Qe.inputAmount,destinationToken:x,embeddedWalletAddress:ne,providerEmbeddedAddress:$,externalWalletAddress:Y,address:F,recipient:e.recipient??(R!=="7702"?Y:void 0),isNon7702:B,isPayMode:v,resolvedChainId:A,buildActionCalls:P,feeExecutionMode:c,buildSpicenetBatch:d,selectedAsset:j,combinedSourceGroup:ht,needsSwap:Kt,resolvedSwap:Bt,exactOutputSwap:Pt,quoteAmountOut:tn,resolvedTokenIn:Et,sourceSwap:cn,sourceExactOutputSwap:bn,pivot:pt,resolveSourceExactOutputSwap:async V=>{if(!pt||!se)throw new Error("Swap route is not ready.");const he=await fp({chainId:pt.source.chainId,recipient:se,tokenIn:j.asset.address,tokenOut:pt.source.address,amountOut:V,liquidityVenues:E?.liquidityVenues,maxSlippage:e.maxSlippage}).catch(()=>null);if(!he)throw new Error("No liquidity for this pair.");return he},resolveInputSwap:async(V,he)=>{if(!Et||!se)throw new Error("Swap route is not ready.");return Rr({chainId:A,recipient:se,tokenIn:Et,tokenOut:x.address,amountIn:V,selectedSwap:he,liquidityVenues:E?.liquidityVenues,maxSlippage:e.maxSlippage,resolveInputSwap:e.resolveInputSwap})}}),[o,x,ne,$,Y,F,e.recipient,e.feeOnlyAction,e.maxSlippage,e.resolveInputSwap,Qe.inputAmount,C,R,B,v,A,P,c,d,j,ht,Kt,Bt,Pt,tn,Et,cn,bn,pt,se,E?.liquidityVenues]),Fn=p.useMemo(()=>j?.asset?pt?pt.destination.address:Kt&&Et?Et:j.asset.chainId===A?j.asset.address:Et??rn(j.asset,A)??x.address:x.address,[j,x.address,Kt,A,Et,pt]),Yt=JSON.stringify([j&&xe(j.asset),h,e.actionExecution?.wallet,x.address,x.chainId,x.decimals,e.recipient,R,Y,G?Y:ne,E?.apiUrl,E?.rpcOverrides,e.maxSlippage,c,D,e.feeOnlyAction,ve,e.actionProceeds==="output"?"output":e.actionProceeds?.token,e.feeFunding,e.quotedInclusivePlatformFee,e.actionInput?.map(V=>[V.token,V.amount.toString()]),e.feeFundingReserve&&xe(e.feeFundingReserve.asset),e.feeFundingReserve?.amount.toString(),E?.liquidityVenues,E?.allowedTokens,W,U,M,e.actionInput,e.actionProceeds,e.feeFunding,A,Fn,Ne.pivot?.source.address,Ne.pivot?.destination.address],(V,he)=>typeof he=="bigint"?he.toString():he),Ps=p.useRef(null);Ps.current=b&&!ft&&!J&&!O?Yt:null,p.useEffect(()=>()=>{kt.current?.controller.abort(),kt.current=null},[Yt,b,ft,J,O]);const qt=T.keccak256(T.stringToHex(JSON.stringify([Yt,j?.amount,o]))),Ms=JSON.stringify([F,we,$,Y,ee,L,q,N,oe]),jt=p.useRef({key:qt,enabled:b,sourceBalance:Je,physicalAssets:Ze,sourceEligible:Me?.eligible,externalSignerReady:!!Q&&!!Y,owner:se,walletScope:Ms,policyAvailable:!J&&!O}),is=p.useRef(0);(jt.current.key!==qt||jt.current.enabled!==b||jt.current.owner!==se||jt.current.walletScope!==Ms||jt.current.policyAvailable!==(!J&&!O))&&is.current++,jt.current={key:qt,enabled:b,sourceBalance:Je,physicalAssets:Ze,sourceEligible:Me?.eligible,externalSignerReady:!!Q&&!!Y,owner:se,walletScope:Ms,policyAvailable:!J&&!O};const ls=p.useRef(null),Us=p.useRef(!1),Mr=p.useRef(e.onSubmit);Mr.current=e.onSubmit;const Ur=p.useRef(e.beforeSubmit);Ur.current=e.beforeSubmit;const Ws=p.useCallback(async V=>{if(!Us.current||re.current)return;re.current=!0,Us.current=!1;const he=_t.current,Ge=jt.current,Ke=is.current,Le=he.feeQuote,yt=Le?.fundingSource,at=vn=>JSON.stringify([vn?.fundingSource,vn?.sourceAllocation,vn?.feeSourceAllocation],(Qn,Ao)=>typeof Ao=="bigint"?Ao.toString():Ao),It=at(Le),dn=Mr.current,nn=We.current,nc={operationKey:Ge.key,feeQuote:Le,selectedAsset:he.selectedAsset};De(!0),ce(null);try{try{await Ur.current?.(nc);const vn=jt.current,Qn=_t.current;if(!Ee.current||Ke!==is.current||!vn.enabled||vn.key!==Ge.key||vn.owner!==Ge.owner||!de.current||Qn?.feeQuote!==Le||Le?.fundingSource!==yt||at(Le)!==It)throw new Error("The wallet, policy or accepted action quote changed. Review again before submitting.");he.validateFeeQuote?.(),dn?.(),Vt.current=he.onSuccess,ls.current={key:Ge.key,quote:Le}}catch(vn){const Qn=u.sanitizeError(vn,"Unable to prepare this action");Ee.current&&(ce(Qn),$e("idle")),nn?.(new Error(Qn),u.getRelayerErrorDetail(Qn));return}await(V?vl(he):bl(he))}finally{re.current=!1,Ee.current&&De(!1)}},[]),Wr=p.useCallback(()=>Ws(!1),[Ws]),Ls=G,Lr=O,qr=!ut.current?.quote.fundedFeeToken&&(C||!!pt)&&!!nt&&nt.netAmount===0n,cs=p.useMemo(()=>!!e.feeOnlyAction||(!!j?.asset||!!e.actionProceeds)&&H>0,[j,H,e.actionProceeds,e.feeOnlyAction]),Pn=p.useMemo(()=>!b||!cs||!j?.asset&&!e.actionProceeds&&!e.feeOnlyAction?null:[qt,He,v?"pay":"supply",h,j?xe(j.asset):"sdk-funded",e.actionInput?.map(V=>`${V.token.toLowerCase()}:${V.amount}`).join(",")??"",e.feeFunding?.join(",")??"",e.quotedInclusivePlatformFee?"quoted-inclusive-fee":"split-inclusive-fee",JSON.stringify(E?.rpcOverrides),E?.apiUrl,e.recipient,j?.asset.address.toLowerCase(),j?.asset.chainId,j?.amount,o,x.address.toLowerCase(),x.chainId,A,Ne.resolvedTokenIn?.toLowerCase()??"",Ne.quoteKey,Ne.needsSwap?"swap":"direct",Ne.isDirect?"direct-token":"routed-token","7702",Z?"source-dest":"cross-chain",Ne.isQuoting?"quoting":"quoted",Ne.exactOutputSwap?.amountIn?.toString()??"",Ne.exactOutputSwap?.amountInMax?.toString()??"",Ne.exactOutputSwap?.venue??"",Ne.resolvedSwap?.amountOut?.toString()??"",Ne.quoteAmountOut?.toString()??"",Ne.sourceSwap?.amountOutMinimum?.toString()??"",Ne.sourceExactOutputSwap?.amountInMax?.toString()??"",Ne.pivot?.source.address.toLowerCase()??"",ne??"",$??"",F??""].join("|"),[b,qt,He,e.actionProceeds,e.feeOnlyAction,e.actionInput,e.feeFunding,e.quotedInclusivePlatformFee,ft,z,cs,Ls,j,v,h,o,x,A,Ne,B,Z,ne,$,F]),ds=p.useCallback(async(V,he,Ge)=>{if(G){if(!Y||!j)throw new Error("Connect the external wallet before continuing.");return Ju({selectedAsset:he?.selectedAsset??j,destinationToken:x,paymentAmount:v?o:void 0,account:Y,beneficiary:e.recipient,buildActionCalls:P,feeExecutionMode:c})}const Ke={...Ge??{...Zt,selectedAsset:_e},requestTimestampMs:Date.now()};if(j&&tt(j.asset)&&!ht)throw new Error("This source is unavailable.");const Le={combinedSourceGroup:ht,getCombinedSourceGroup:et,signal:V,feeToleranceBps:D,externalGasRecipient:me?Y:void 0,externalGasCalls:me?async at=>(await Cl({quote:at,recipient:Y,beneficiary:e.recipient,chainId:x.chainId,token:x.address,feeExecutionMode:c,buildCalls:l})).calls:void 0,feeOnlyAction:e.feeOnlyAction,actionInput:e.actionInput,actionProceeds:e.actionProceeds==="output"?void 0:e.actionProceeds,feeFunding:e.feeFunding,feeFundingBalances:ct,feeFundingReserve:e.feeFundingReserve,liquidityVenues:E?.liquidityVenues,maxSlippage:e.maxSlippage,resolveExactOutputSwap:f,selectedAsset:_e,isPayMode:v,isFeeInclusiveInput:C,quotedInclusivePlatformFee:e.quotedInclusivePlatformFee,parsedAmount:ke?Number(_e.amount):H,needsSwap:Ne.needsSwap,exactOutputSwap:Ne.exactOutputSwap,isNon7702:B,isSourceDestToken:Z,currentPaymentAmount:o,destinationToken:x,feeExecutionMode:c,resolvedTokenIn:Ne.resolvedTokenIn,embeddedWalletAddress:ne,providerEmbeddedAddress:$,resolvedChainId:A,isConnected:N,address:F,ready:L,authenticated:q,isDirect:Ne.isDirect,resolvedSwap:Ne.resolvedSwap,sourceSwap:Ne.sourceSwap,sourceExactOutputSwap:Ne.sourceExactOutputSwap,pivot:Ne.pivot,isQuoting:Ne.isQuoting,executionTokenAddress:Fn,buildPayChainBatches:at=>yo(Ke,at),buildSupplyChainBatches:at=>wo(Ke,at),estimate:ae,...he},yt=!Le.feeOnlyAction&&Le.selectedAsset&&Xe&&(Le.selectedAsset.asset._source==="wallet"||!!Le.combinedSourceGroup)&&Le.selectedAsset.asset.chainId===A;if(Xe&&!Le.feeOnlyAction&&Le.selectedAsset&&!yt&&e.feeFunding&&e.feeFunding.join(",")!==bo.join(","))throw new Error("Fee-source overrides require a wallet source on the action chain.");return yt||Xe&&e.actionProceeds==="output"?Yu(Le,Ke,Wn,e.actionProceeds==="output"):Wn(Le)},[j,Xe,ht,et,tt,_e,ke,G,me,l,Y,e.recipient,P,e.feeOnlyAction,e.actionInput,e.actionProceeds,e.feeFunding,e.quotedInclusivePlatformFee,ct,e.feeFundingReserve,e.maxSlippage,f,D,E?.liquidityVenues,v,C,H,Ne,B,Z,o,x,c,ne,$,Zt,ae,A,N,F,L,q,Fn]);p.useEffect(()=>{Ht.current=ds},[ds]);const zr=p.useCallback(async V=>{if(v)return null;if(!j||xe(V)!==xe(j.asset)||!se||!Et)throw new Error("Select a source before calculating Max.");let he=ot(V);if(he===void 0)throw new Error("This source is unavailable.");if(G){if(!V.isNative&&!S.isNativeToken(V.address))return T.formatUnits(he,V.decimals);const Ge=u.getClientForChain(V.chainId),Ke=Y;let Le=he;for(let yt=0;yt<8;yt++){const at=await ds(void 0,{selectedAsset:{asset:V,amount:T.formatUnits(yt===0?1n:Le,V.decimals)}});if(!at?.actionDefinition)throw new Error("The direct action could not be sized.");const It=await Ai({client:Ge,account:Ke,calls:at.actionDefinition.calls}),dn=he>It?he-It:0n;if(dn===0n)return"0";if(yt>0&&Le<=dn)return T.formatUnits(Le,V.decimals);Le=dn}throw new Error("Network gas could not be reserved for Max. Enter a smaller amount.")}if(ue&&(V.isNative||S.isNativeToken(V.address))){if(!Y)throw new Error("Connect the source wallet before calculating Max.");const Ge=await Ei({client:u.getClientForChain(V.chainId),account:Y,recipient:se,token:V.address,isNative:!0,amount:1n});he-=Ge}return Xe&&C&&V._source==="wallet"&&V.chainId===A?T.formatUnits(he>0n?he:0n,V.decimals):pl({balance:he,decimals:V.decimals,planForAmount:async Ge=>{const Ke={...Zt,requestTimestampMs:Date.now(),selectedAsset:{asset:V,amount:T.formatUnits(Ge,V.decimals)}};let Le=Ge;pt?(Ke.sourceSwap=await Rr({chainId:V.chainId,recipient:se,tokenIn:V.address,tokenOut:pt.source.address,amountIn:Ge,maxSlippage:e.maxSlippage,liquidityVenues:E?.liquidityVenues,resolveInputSwap:e.resolveInputSwap}),Le=sn(Ke.sourceSwap.amountOutMinimum,pt.source.decimals,pt.destination.decimals,"floor")):Le=_n(Ge,V.decimals,await Sn(V,Et,A,x)),Ke.resolvedSwap=Kt?await Ke.resolveInputSwap(Le):null,Ke.swapInputAmount=Le,Ke.quoteAmountOut=Ke.resolvedSwap?.amountOut??Le;const yt=Xe&&V._source==="wallet"&&V.chainId===A,at=await ds(void 0,{selectedAsset:Ke.selectedAsset,...yt?{isFeeInclusiveInput:!0}:{},parsedAmount:Number(Ke.selectedAsset.amount),sourceSwap:Ke.sourceSwap,resolvedSwap:Ke.resolvedSwap,isQuoting:!1,buildSupplyChainBatches:It=>wo(Ke,It)},Ke);return yt&&at?.fundingSource?.kind==="input"&&!C?{...at,sourceSpendCap:Ge+(Ge-at.swapInputAmount)}:at}})},[j,Xe,Zt,v,G,se,Et,A,x,ue,Y,pt,Kt,ds,ot,e.maxSlippage,e.resolveInputSwap,e.actionProceeds,e.feeFunding,e.quotedInclusivePlatformFee,C,E?.liquidityVenues]);_o({shouldRun:b&&!ft&&z==="idle"&&(cs||ke)&&!Ne.isQuoting&&(!!Pn||ke),deps:[b,ft,z,cs,Ls,Ne.isQuoting,Pn,ke,Yt],onSkip:()=>{if(!b){Te.current=null,xt(!1),Tt(!1),bt(null),Dt(null);return}if(ft||z!=="idle"){xt(!1);return}if(!cs){Dt(null),xt(!1),Tt(!1),bt(null);return}Ne.isQuoting&&(xt(!1),Tt(!1))},onCleanup:()=>xt(!1),delayMs:Ne.needsSwap||Ne.pivot?0:100,backgroundIntervalMs:3e4,run:async({isBackground:V,isCurrent:he,signal:Ge})=>{if(ke){const Le=Te.current;if(Le?.scope===Yt&&Date.now()-Le.at<3e4||kt.current?.scope===Yt&&Date.now()-kt.current.at<3e4)return;kt.current?.controller.abort();const yt=new AbortController,at=Ht.current?.(yt.signal).then(It=>{yt.signal.aborted||Ps.current!==Yt||!It?.feeEstimate||(Te.current={scope:Yt,at:Date.now(),feeEstimate:It.feeEstimate,sourceGasSkim:It.sourceGasSkim})}).catch(It=>{yt.signal.aborted||console.debug("[SpiceSupply] fee prewarm unavailable:",It)})??Promise.resolve();kt.current={scope:Yt,at:Date.now(),controller:yt,promise:at},await at;return}const Ke=Pn;V||(bt(null),xt(!0));try{if(kt.current?.scope===Yt&&await kt.current.promise,Ge.aborted||!he())return;const Le=Te.current,yt=!v&&Le?.scope===Yt&&Date.now()-Le.at<3e4?Le:void 0;let at;try{at=await Ht.current?.(Ge,yt?{initialFeeEstimate:yt.feeEstimate,initialSourceGasSkim:yt.sourceGasSkim}:void 0)}catch(It){if(!yt||Ge.aborted||!he())throw It;at=await Ht.current?.(Ge)}if(!he())return;if(at&&Ke){const It=me?await Cl({quote:at,recipient:Y,beneficiary:e.recipient,chainId:x.chainId,token:x.address,feeExecutionMode:c,buildCalls:l}):void 0;if(It&&at.externalGasReserve?.nativeAmount&&(It.calls.length>at.externalGasReserve.currentTransactions||It.calls.reduce((dn,nn)=>dn+nn.value,0n)>at.externalGasReserve.currentValue))throw new Error("The external action gas requirement changed. Refresh the quote.");if(Ge.aborted||!he())return;ut.current={key:Ke,quote:at,externalAction:It},at.feeEstimate&&(Te.current={scope:Yt,at:Date.now(),feeEstimate:at.feeEstimate,sourceGasSkim:at.sourceGasSkim}),Dt(at.preview),Tt(!0)}else ut.current=null,Dt(null),Tt(!1);bt(null)}catch(Le){if(!he())return;if(V&&ut.current?.key===Ke){console.warn("[SpiceSupply] fee refresh failed:",Le);return}const yt=u.sanitizeError(Le,"Unable to calculate fees for this action.");ut.current=null,Dt(Le instanceof Ar?Le.preview:null),Tt(!1),bt(yt)}finally{he()&&xt(!1)}}});const Hr=p.useCallback(()=>Ws(!0),[Ws]);p.useEffect(()=>{if(!Qt||Ot.current===Qt)return;Ot.current=Qt;const V=Vt.current;Wt.current=!0,xn(!0),en(null),Promise.resolve().then(()=>V?.(Qt)).then(()=>{Nt(Qt),Ie(),ge()}).catch(he=>{en(`Transaction confirmed; application update needs retry: ${u.sanitizeError(he,"Unable to finalize the action")}`)}).finally(()=>{Wt.current=!1,xn(!1)})},[Qt,yn]);const Vr=Lt&&!Rt,Yl=p.useCallback(()=>{!ie.current||Wt.current||(Ot.current=null,wn(V=>V+1))},[]),Xl=p.useCallback(()=>{ie.current||(rt(!1),Ft(null),zt.current=!1,Ie(),ge())},[Ie,ge]),it=Pn&&ut.current?.key===Pn?ut.current.quote:null,us=it?ut.current?.externalAction:void 0,Jl=is.current,qs=(V=!0)=>{if(J)throw new Error(J);if(!Ee.current||!jt.current.enabled||jt.current.key!==qt||is.current!==Jl||jt.current.walletScope!==Ms||!jt.current.policyAvailable)throw new Error("The source, amount, beneficiary or configuration changed. Review the form before continuing.");if(me&&!jt.current.externalSignerReady)throw new Error("Connect the external wallet before funding.");if((j||e.feeOnlyAction)&&!it)throw new Error("A current action plan is required. Refresh the quote before submitting.");if(G&&j?.asset.owner&&!u.addressesEqual(j.asset.owner,Y))throw new Error("Reconnect the external wallet that owns the selected asset.");if(V&&j&&(it?.sourceSpendCap??0n)>jt.current.sourceBalance)throw new Error("The source balance changed. Review the available amount before continuing.");if(V&&j&&!jt.current.sourceEligible)throw new Error(Me?.reason??"This source is unavailable.");if(V)for(const he of[it?.sourceAllocation,it?.feeSourceAllocation])he&&vr(he,jt.current.physicalAssets,jt.current.owner??void 0,A)},Hn=async()=>{qs();for(const V of[it?.sourceAllocation,it?.feeSourceAllocation]){if(!V)continue;const he=V.positions.find(Ke=>Ke.asset.location==="embedded"),Ge=await u.getClientForChain(V.chainId).readContract({address:V.token,abi:T.erc20Abi,functionName:"balanceOf",args:[V.owner]});qs(),vr(V,jt.current.physicalAssets.map(Ke=>he&&xe(Ke)===he.positionId?{...Ke,balance:Ge}:Ke),V.owner,V.chainId)}},Qr=V=>({...V,sourceSpendCap:it?.sourceSpendCap,minimumDestinationAmount:it?.destinationAmount}),zs=it?.sourceAllocation?.insufficient||it?.feeSourceAllocation?.insufficient?!0:j&&it?.sourceSpendCap!==void 0?it.sourceSpendCap>Je:vt,Gr={...Zt,resolvedSwap:it?.destinationSwap??Zt.resolvedSwap,swapInputAmount:it?.swapInputAmount??Zt.swapInputAmount};let Hs=!1;_t.current={selectedAsset:j,parsedAmount:H,currentPaymentAmount:o,isInsufficientBalance:zs,isPayMode:v,isFeeInclusiveInput:C,quotedInclusivePlatformFee:e.quotedInclusivePlatformFee,feeOnlyAction:e.feeOnlyAction,actionProceeds:e.actionProceeds==="output"?void 0:e.actionProceeds,validateFeeQuote:()=>qs(!Hs),isNon7702:B,directExternalAction:G,isSourceDestToken:Z,needsSwap:Kt,exactOutputSwap:Pt,selectedIsEquivalent:zn,resolvedTokenIn:Et,sourceSwap:cn,sourceExactOutputSwap:bn,pivot:pt,embeddedWalletAddress:ne,providerEmbeddedAddress:$,externalWallet:Q,externalWalletAddress:Y,activeSignerWallet:X,activeSignerAddress:ee,address:F,isConnected:N,ready:L,authenticated:q,provider:oe,resolvedChainId:A,executionTokenAddress:Fn,destinationToken:x,buildActionCalls:P,feeExecutionMode:c,feeToleranceBps:D,buildSpicenetBatch:d,onPayExecute:m,onSuccess:w,feeQuote:it,execution:{estimate:(V,he,Ge,Ke)=>ae(V,he,Ge,{...Ke,userOverride:se}),execute:async(V,he,Ge,Ke,Le,yt)=>{const at=async()=>Hs?qs(!1):Hn();if(await Hn(),await ll(it?.externalGasReserve),me&&!us)throw new Error("The external action plan is unavailable.");if(G){if(!it?.actionDefinition)throw new Error("The direct action plan is unavailable.");return Sl({definition:it.actionDefinition,account:Y,chainId:x.chainId,wallet:Q,assertCurrent:Hn})}ue&&j&&(Ve("Transfer the selected source to your embedded wallet"),await Il({asset:j.asset,embedded:se,external:Y,externalWallet:Q,amount:it?.sourceSpendCap??0n,assertCurrent:Hn}),Hs=!0,await at());const It=await pe(V,he,Ge,me?nn=>Ke?.(nn.step==="success"?{...nn,step:"executing",message:"Funds delivered. Confirm the action in your external wallet.",txHash:void 0}:{...nn,txHash:void 0}):Ke,Le,{...yt,userOverride:se,requireDestinationReceipt:!0,resolveActionOutputCredits:async()=>[...await yt?.resolveActionOutputCredits?.()??[],...it?.externalGasReserve?.nativeAmount&&!S.isNativeToken(Fn)?[{chainId:A,token:S.ZERO_ADDRESS,amount:it.externalGasReserve.nativeAmount}]:[]],walletFundingRequirement:it?.sourceAllocation?{chainId:it.sourceAllocation.chainId,token:it.sourceAllocation.token,amount:it.sourceAllocation.positions.find(nn=>nn.asset.location==="embedded")?.amount??0n}:j?.asset._source==="wallet"&&it?.sourceSpendCap!==void 0?{chainId:j.asset.chainId,token:j.asset.address,amount:it.sourceSpendCap}:void 0,validateBeforeSubmit:async nn=>{if(await at(),await ll(it?.externalGasReserve,nn),await yt?.validateBeforeSubmit?.(nn),me&&kl(nn,x.address,x.chainId,Y)!==us.amount)throw new Error("The external delivery changed. Review the quote before continuing.")}});if(!me)return It;Hs=!0;const dn=async()=>{if(Le?.aborted)throw new Error("Execution transaction aborted");await at()};return await dn(),await lp({hash:It,token:x.address,chainId:x.chainId,recipient:Y,sender:se,amount:us.amount}),await dn(),Sl({definition:us,account:Y,chainId:x.chainId,wallet:Q,assertCurrent:dn})},buildPayChainBatches:async V=>vo(await yo(Gr,Qr(V)),it?.externalGasReserve),buildSupplyChainBatches:async V=>vo(await wo(Gr,Qr(V)),it?.externalGasReserve),onProgress:mt},ui:{setError:je,setStep:$e,setStatusMsg:Ve,setTxHash:At,setIsExecuting:Be,setShowStatusPanel:rt,setPaymentResult:Ft},refs:{spiceDepositSubmittedRef:zt,abortControllerRef:$t}};const Vn=!!e.isZeroAmountPay&&!e.feeOnlyAction&&v&&H===0,$l=v?(Vn||!!j?.asset||!!e.actionProceeds||!!e.feeOnlyAction)&&H>=0&&!zs&&!ft&&(Vn||Ls||gn)&&!on&&(Vn||e.feeOnlyAction||!Kt||!!Pt)&&(Vn||e.feeOnlyAction||!pt||!!bn)&&!Lr:!!j?.asset&&H>0&&!zs&&!ft&&(G||gn)&&!on&&!qr&&(pt?!!cn&&!Gt&&(qn||!!Bt):Ye||qn||!!Bt&&!Gt)&&!Lr,Kr=(G||L&&q&&N&&!!F)&&!J&&!!se&&(!me||!!us&&!!Q&&!!Y)&&(!G||!!Q&&(!j?.asset.owner||u.addressesEqual(j.asset.owner,Y)))&&(R==="7702"||!!Y)&&!Lt&&!ln&&!Rt&&b&&$l&&(Vn||!j&&(!!e.actionProceeds||!!e.feeOnlyAction)||!!Me?.eligible)&&z!=="success"&&wt?.status!=="success"&&!Qe.quoteError&&(Vn||!!Pn&&ut.current?.key===Pn);de.current=Kr;const Zr=Kr&&!e.submitDisabled&&!dt&&!re.current;Us.current=Zr;const Io=p.useCallback(()=>{ie.current||(Us.current=!1,ut.current=null,Tt(!1),Ue.refreshQuote(),$e("idle"),je(null),Ve(""),Ft(null),rt(!1))},[Ue.refreshQuote,je]),Yr=p.useRef(qt);p.useEffect(()=>{const V=Yr.current!==qt;Yr.current=qt,(V||u.isUserRejection(Fe))&&z==="error"&&!ft&&ls.current&&ls.current.key!==qt&&Io()},[qt,z,ft,Fe,Io]);const _l=p.useCallback(()=>{rt(!1)},[]),ec=p.useCallback(()=>{ie.current||($e("idle"),At(null),Ie())},[Ie]),St=it??(ut.current?.key.startsWith(`${qt}|`)?ut.current.quote:null)??(ls.current?.key===qt?ls.current.quote:null),tc=async V=>{if(G)throw new Error("This source executes directly from the external wallet; submit the action without embedded funding.");if(!(!ue||!j)){if(!it||V!==it.sourceSpendCap)throw new Error("Use the displayed source funding maximum before preparing this action.");await Hn(),await Il({asset:j.asset,embedded:se,external:Y,externalWallet:Q,amount:V,assertCurrent:Hn})}};return{operationKey:qt,feeQuote:St,selectedAsset:lt,capability:Me,assets:{getAvailableBalance:ot,selectable:gt,displayAssets:gt,filteredSpiceAssets:le,embeddedWalletAddress:ne,externalAddress:Y,isNon7702:R!=="7702",refreshSpiceAssets:Ie,refreshWalletAssets:ge,loading:fe,refreshing:Ce,error:st},quote:{...Qe,...ke?{quoteKey:null,quoteExpiresAt:null,quoteError:null,isQuoting:!1,estimatedInput:null,estimatedOutput:null,quoteAmountOut:null,inputAmount:null,resolvedSwap:null,sourceSwap:null,exactOutputSwap:null,sourceExactOutputSwap:null}:{},hasSourceConversion:!!pt,executionInput:pt&&St?{address:pt.destination.address,chainId:pt.destination.chainId,decimals:pt.destination.decimals,amount:St.preview.netAmount}:null,...St?.destinationSwap?{resolvedSwap:St.destinationSwap,inputAmount:St.swapInputAmount,estimatedOutput:T.formatUnits(St.destinationSwap.amountOut,x.decimals)}:{},...St?.fundedFeeToken&&St.destinationAmount!==void 0?{estimatedOutput:T.formatUnits(St.destinationAmount+(St.destinationSwap?St.destinationSwap.amountOut-St.destinationSwap.amountOutMinimum:0n),x.decimals)}:{}},fees:{fundingConversion:St?.fundingConversion,fundingSource:St?.fundingSource,proceedsUsed:St?.proceedsUsed,fundingShortfall:St?.grossFundingAmount,source:pt&&St?{address:pt.source.address,chainId:pt.source.chainId,symbol:pt.source.symbol,decimals:pt.source.decimals,gasFee:St.sourceGasSkim??0n,spicenetFee:0n}:null,destinationAmount:St?.destinationAmount,sourceSpendCap:St?.sourceSpendCap,preview:ke?null:St?.preview??nt,isLoading:!ke&&Nn,ready:!ke&&!!it,error:ke?null:on},amount:{availableBalance:Ct,sourceRequiredAmount:St?.sourceSpendCap??null,parsed:H,isInsufficientBalance:zs,sourceBalance:Ae,feesExceedAmount:qr},status:{activity:be,finalizing:ln||Vr,finalizationError:Rt,step:Lt&&z==="success"?"executing":z,statusMsg:Lt?Rt??"Transaction confirmed. Updating application...":Re,txHash:Mt,isExecuting:ft||dt||Vr,error:J||Rt||Fe||Me?.reason||null,showStatusPanel:Oe,paymentResult:Lt&&wt?.status==="success"?{...wt,status:"processing"}:wt},flags:{directExecutionFeeNote:Ls},retryFinalization:Yl,fundEmbeddedSource:tc,canExecute:Zr,submit:v?Hr:Wr,submitSupply:Wr,submitPay:Hr,retrySupply:Io,dismissPaymentStatus:_l,resolveMaxAmount:zr,max:()=>j?zr(j.asset):Promise.resolve(null),resetAfterSuccess:ec,resetPaymentState:Xl}}function mp(e){const{asset:t,amount:n,recipient:s,owner:o,onSuccess:r}=e,a=!!t&&!!e.destination&&e.destination.chainId!==t.chainId,l=e.destination?.chainId??t?.chainId??e.sourceChains?.[0]??0,c=p.useMemo(()=>S.getTokensForChain(l).find(v=>v.equivalenceGroup==="USDC"),[l]),d=p.useCallback((v,C)=>{const k=!a&&v===0n?n:v;if(!t||n<=0n||n>t.balance||!a&&k>n||!s||!o||u.addressesEqual(o,s))throw new Error("Enter a valid withdrawal amount and recipient.");if(C.chainId!==l||!u.addressesEqual(C.executorAddress??C.userAddress,o))throw new Error("The withdrawal wallet or network changed. Review the withdrawal again.");if(a&&(!e.destination||e.destination.symbol!=="USDC"||v<=0n))throw new Error("A USDC withdrawal quote is required for this network.");return xo(l,a?e.destination.address:t.address,[{recipient:s,amount:k}]).calls},[t?.address,t?.chainId,t?.balance,n,s,o,l,a,e.destination?.address,e.destination?.symbol]),m=p.useMemo(()=>t?[{address:t.address,chainId:t.chainId,symbol:t.symbol,decimals:t.decimals,logoURI:t.logoURI}]:void 0,[t?.address,t?.chainId,t?.symbol,t?.decimals,t?.logoURI]),f=Os({enabled:e.enabled&&!!c&&!!t&&n>0n&&!!s&&!!o&&!u.addressesEqual(o,s),amountDirection:"input-inclusive",quotedInclusivePlatformFee:!0,feeFunding:bo,destinationToken:e.destination??{address:t?.address??S.ZERO_ADDRESS,symbol:t?.symbol??"",decimals:t?.decimals??6,chainId:l},recipient:s,selectedAsset:t?{asset:t,amount:T.formatUnits(n,t.decimals)}:null,additionalSourceTokens:m,sourceChains:e.sourceChains,includeCrossChainEmbeddedAssets:!0,includeExternalWalletAssets:!1,feeExecutionMode:a?"user-transfer":"backend-transfer",buildActionCalls:d,buildSpicenetBatch:Fs,onError:(v,C)=>e.onError?.(v.message,C),onSuccess:async()=>{if(!t)return;const v=f.fees.destinationAmount;if(a&&(v==null||v<=0n))throw new Error("The confirmed withdrawal amount is unavailable.");window.dispatchEvent(new CustomEvent("withdraw-completed")),await r?.({token:a?"USDC":t.symbol,amount:T.formatUnits(a?v:n,a?e.destination.decimals:t.decimals),chainId:l})}}),h=`${e.enabled}:${t?.chainId}:${t?.address}:${n}:${s}:${o}:${l}:${e.destination?.address}`,w=p.useRef(h);p.useEffect(()=>{w.current===h||f.status.isExecuting||(w.current=h,(f.status.step==="success"||f.status.paymentResult?.status==="success")&&f.resetAfterSuccess())},[h,f.status.isExecuting,f.status.step,f.status.paymentResult?.status,f.resetAfterSuccess]);const g=f.fees.fundingSource,y=g?.kind==="input"?f.fees.fundingConversion?.amountInMax??f.fees.proceedsUsed??0n:0n,x=g?.kind==="input"?t:g?.asset,b=x?x._source==="wallet"?f.fees.fundingConversion?.amountInMax??f.fees.proceedsUsed:f.amount.sourceRequiredAmount:null;return{supply:f,source:x,maximumFeeFunding:b,feeFromAmount:y}}const Dl=u.font.ui,hp=({label:e,loading:t,balance:n,dark:s,dk:o})=>{const r=s?o.textSecondary:"#7D7C7B",a=s?o.textSecondary:"#71757A";return i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[i.jsx("span",{style:{fontFamily:Dl,fontSize:"17px",fontWeight:500,color:r,lineHeight:"24px"},children:e}),i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px",fontFamily:Dl,fontSize:"13px",fontWeight:500,color:a,lineHeight:"16px"},children:["Balance:"," ",t?"...":n===null?"\u2014":u.formatBalance(n)]})]})},Ol=({isOpen:e,position:t,title:n,items:s,selectedId:o,onSelect:r,portalAttribute:a})=>{const{dark:l,dk:c,primaryColor:d}=u.useSpiceBrand(),[m,f]=p.useState(null),[h,w]=p.useState(!1);return p.useEffect(()=>{if(!e){w(!1);return}const g=requestAnimationFrame(()=>{requestAnimationFrame(()=>w(!0))});return()=>cancelAnimationFrame(g)},[e]),!e||!t||s.length===0?null:Gn.createPortal(i.jsxs("div",{[`data-${a}-popover`]:"true",style:{position:"fixed",top:`${t.top}px`,left:`${t.left}px`,opacity:h?1:0,transform:h?"scale(1) translateY(0)":"scale(0.96) translateY(-6px)",transition:`opacity 200ms ${u.easing.out}, transform 200ms ${u.easing.out}`,backgroundColor:l?c.shell:"#ffffff",borderRadius:"10px",padding:"10px 12px",boxShadow:l?"0 16px 48px rgba(0,0,0,0.45)":"0 12px 32px rgba(0,0,0,0.12)",border:`1px solid ${c.cardBorder}`,minWidth:"220px",zIndex:u.z.dropdown,fontFamily:u.font.mono},children:[i.jsx("div",{style:{marginBottom:"6px"},children:i.jsx("span",{style:{fontSize:"11px",fontWeight:500,color:l?c.textPrimary:"#0e0d0b",textTransform:"uppercase",letterSpacing:"1px"},children:n})}),i.jsx("div",{style:{borderBottom:`1px solid ${c.cardBorder}`,marginBottom:"6px"}}),i.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"2px"},children:s.map(g=>{const y=o===g.id,x=m===g.id;return i.jsxs("button",{onClick:b=>{b.stopPropagation(),r(g.id)},onMouseEnter:()=>f(g.id),onMouseLeave:()=>f(null),style:{display:"flex",alignItems:"center",gap:"8px",padding:"6px 4px",borderRadius:"8px",border:"none",cursor:"pointer",backgroundColor:y?l?c.hoverBg:"#f3f4f6":x?l?c.cardBg:"#f9fafb":"transparent",transition:"background-color 0.15s",width:"100%",fontFamily:u.font.mono},children:[g.icon&&i.jsx("img",{src:g.icon,alt:g.label,style:{width:"22px",height:"22px",borderRadius:"50%"}}),i.jsx("span",{style:{fontSize:"13px",fontWeight:y?700:500,textTransform:"uppercase",color:l?c.textPrimary:"#0e0d0b",letterSpacing:"0.5px",flex:1,textAlign:"left"},children:g.label}),g.detail&&i.jsx("span",{style:{fontSize:"11px",fontWeight:500,color:c.textSecondary},children:g.detail}),y&&i.jsx(yi,{color:d,style:{flexShrink:0}})]},g.id)})})]}),document.body)},ko=u.font.ui,gp=u.font.mono,xp=170,yp=({header:e,amount:t,receiveAmountDisplay:n,receiveUsdEstimate:s,selectedDestToken:o,destTokenSymbol:r,destChainName:a,destChainLogo:l,compatibleDestinationChains:c,networkSwitchRef:d,onOpenNetworkPopover:m,showNetworkPopover:f,setShowNetworkPopover:h,networkPopoverPos:w,selectedChainId:g,setSelectedChainId:y,dark:x,dk:b})=>{const v=x?b.cardBg:"#E9E9E9",C=x?b.cardBorder:"#C6C6C6",k=x?b.textSecondary:"#71757A",I=x?b.textPrimary:"#0E0D0B",A=x?b.cardBorder:"#C5C5C4",E=x?"rgba(255,255,255,0.08)":"#D4D3D3",D=r.length>8?"14px":r.length>6?"16px":"18px";return i.jsxs("div",{style:{backgroundColor:v,border:`1px solid ${C}`,borderRadius:"7px",padding:"14px 16px 12px 16px",minHeight:"138px",display:"flex",flexDirection:"column",gap:"6px"},children:[e,i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"12px",flex:1},children:[i.jsxs("div",{style:{flex:1,minWidth:0,alignSelf:"flex-start",paddingTop:"4px"},children:[i.jsx(Un,{element:"div",value:n,title:n,fontFamily:ko,color:t?I:"#A8A8A7",lineHeight:"0.95",maxFontSize:54,minFontSize:32,overflow:"wrap"}),i.jsx("div",{style:{fontSize:"12px",fontWeight:500,color:k,fontFamily:ko,marginTop:"10px"},children:s})]}),i.jsxs("div",{style:{width:`${xp}px`,flexShrink:0,display:"flex",flexDirection:"column",alignItems:"stretch",gap:"8px"},children:[i.jsxs("div",{style:{backgroundColor:"transparent",border:`1px solid ${A}`,borderRadius:"8px",overflow:"hidden",width:"100%",display:"flex",flexDirection:"column",boxSizing:"border-box"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px",padding:"9px 10px 8px 10px"},children:[i.jsx("img",{src:o?.logoURI||Jc,alt:r,style:{width:"24px",height:"24px",borderRadius:"50%"}}),i.jsx("span",{style:{fontSize:D,fontWeight:500,color:I,lineHeight:"1.3",fontFamily:ko,flex:1,minWidth:0,letterSpacing:0},children:r})]}),i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"5px 10px",backgroundColor:E,borderTop:`1px solid ${A}`},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"4px"},children:[l&&i.jsx("img",{src:l,alt:a,style:{width:"13px",height:"13px",borderRadius:"50%",flexShrink:0}}),i.jsx("span",{style:{fontSize:"11px",fontWeight:400,color:I,fontFamily:ko,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",textTransform:"uppercase"},children:a})]}),i.jsx("button",{ref:d,onClick:R=>{R.stopPropagation(),m(d.current)},style:{background:"none",border:"none",cursor:c.length>1?"pointer":"not-allowed",padding:"0 0 0 8px",fontSize:"9.5px",fontFamily:gp,color:k,textDecoration:"underline",fontWeight:600,opacity:c.length>1?1:.45},children:"Switch"}),i.jsx(Ol,{isOpen:f,position:w,title:"SELECT NETWORK",portalAttribute:"network",items:c.map(R=>{const B=u.getChainConfig(R);return{id:String(R),label:B?.displayName||String(R),icon:Bn[R]||ys}}),selectedId:g!==null?String(g):null,onSelect:R=>{y(Number(R)),h(!1)}})]})]}),i.jsx("div",{style:{minHeight:"14px"}})]})]})]})},wp=u.font.ui,On=u.font.mono,bp=({show:e,onToggle:t,showCustomAddress:n,setShowCustomAddress:s,customRecipient:o,setCustomRecipient:r,externalAddress:a,recipientAddress:l,destChainName:c,destChainLogo:d,compatibleDestinationChains:m,txDetailsChainSwitchRef:f,onOpenNetworkPopover:h,sourceChainLabel:w,sourceDetailsLogo:g,sourceTokenLabel:y,amount:x,totalSourceDebitDisplay:b,receiveAmountDisplay:v,destTokenSymbol:C,shouldQuoteWithdrawGas:k,estimatingFee:I,feeError:A,displayedGasFee:E,selectedDestToken:D,theme:R,styles:B,dark:W,dk:O})=>{const M=W?O.textSecondary:"#71757A",U=W?O.textPrimary:"#0E0D0B",F=m.length>1,N=n&&o?T.isAddress(o)?u.truncateAddress(o):o:l?u.truncateAddress(l):"\u2014";return i.jsxs(i.Fragment,{children:[i.jsxs("div",{onClick:t,style:{display:"flex",alignItems:"center",gap:"6px",marginBottom:e?"10px":"0",cursor:"pointer",userSelect:"none"},children:[i.jsx("span",{style:{fontSize:"13px",color:M,fontFamily:wp,fontWeight:600},children:"Transaction Details"}),i.jsx($d,{size:12,color:M,style:{transform:e?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.2s"}})]}),e&&i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"7px"},children:[i.jsxs("div",{children:[i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[i.jsx("span",{style:{fontSize:"12px",color:M,fontFamily:On,fontWeight:500,letterSpacing:"0.03em"},children:"TO"}),i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.jsx("span",{style:{fontSize:"13px",color:U,fontFamily:On,fontWeight:500},children:N}),i.jsx("button",{onClick:()=>{s(L=>!L),!n&&a&&r(a)},style:{background:"none",border:"none",cursor:"pointer",padding:"0",fontSize:"9.5px",fontFamily:On,color:M,textDecoration:"underline",fontWeight:600},children:n?"Reset":"Switch"})]})]}),n&&i.jsxs("div",{style:{marginTop:"6px"},children:[i.jsx("div",{style:{marginBottom:"6px",padding:"7px 9px",borderRadius:"6px",border:"1px solid rgba(239, 68, 68, 0.55)",backgroundColor:"rgba(239, 68, 68, 0.12)",color:"#ef4444",fontSize:"10px",lineHeight:1.35,fontFamily:On,fontWeight:700,letterSpacing:0,textTransform:"uppercase"},children:"CAUTION: ENTERING AN INCORRECT ADDRESS WILL RESULT IN LOSS OF FUNDS"}),i.jsx("input",{type:"text",autoComplete:"off",spellCheck:!1,"aria-label":"Recipient address","aria-invalid":o&&!T.isAddress(o)?!0:void 0,"data-spiceflow-focus":!0,value:o,onChange:L=>r(L.target.value),placeholder:"0x...",style:{width:"100%",padding:"8px 10px",borderRadius:"6px",border:`1px solid ${o&&!T.isAddress(o)?W?O.errorBorder:"#fca5a5":W?O.inputBorder:"#d1d5db"}`,backgroundColor:W?O.inputBg:"#f9fafb",color:W?O.inputText:"#111827",fontSize:"12px",fontFamily:On,outline:"none",boxSizing:"border-box"}}),o&&!T.isAddress(o)&&i.jsx("span",{style:{fontSize:"11px",color:O.errorText,marginTop:"3px",display:"block"},children:"Invalid address"})]})]}),i.jsx(an,{palette:O,labelColor:M,valueColor:U,label:"RECEIVING CHAIN",value:i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"7px"},children:[d&&i.jsx("img",{src:d,alt:c,style:{width:"14px",height:"14px",borderRadius:"50%"}}),i.jsx("span",{style:{fontSize:"13px",color:U,fontWeight:500,fontFamily:On,textTransform:"uppercase"},children:c}),i.jsx("button",{ref:f,onClick:L=>{L.stopPropagation(),h(f.current)},style:{background:"none",border:"none",cursor:F?"pointer":"not-allowed",padding:"0",fontSize:"9.5px",fontFamily:On,color:M,textDecoration:"underline",fontWeight:600,opacity:F?1:.45},children:"Switch"})]})}),i.jsx(an,{palette:O,labelColor:M,valueColor:U,label:"REQUESTED WITHDRAWAL",value:i.jsxs(jr,{logo:g||null,alt:w,primaryText:U,children:[x||"0"," ",y]})}),k&&i.jsx(an,{palette:O,labelColor:M,valueColor:U,label:"TOTAL SOURCE DEBIT",value:i.jsxs(jr,{logo:g||null,alt:w,primaryText:U,children:[b," ",y]})}),i.jsx(an,{palette:O,labelColor:M,valueColor:U,label:"YOU RECEIVE",value:i.jsxs(jr,{logo:d,alt:c,primaryText:U,gap:"4px",children:[v," ",C]})}),k&&i.jsxs(i.Fragment,{children:[i.jsx(an,{palette:O,labelColor:M,label:"EST. NETWORK FEE",valueColor:A?"#f87171":U,value:I?"Estimating...":A?"Unavailable":E!==null&&D?`${xr(E,D.decimals)} ${D.symbol}`:"Estimating..."}),A&&i.jsx(Jt,{variant:"error",size:"compact",palette:O,fontFamily:B?.fontFamily||R.typography.fontFamily,children:A})]})]})]})},vp=p.memo(bp),jr=({logo:e,alt:t,primaryText:n,gap:s="6px",children:o})=>i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:s},children:[e&&i.jsx("img",{src:e,alt:t,style:{width:"13px",height:"13px",borderRadius:"50%"}}),i.jsx("span",{style:{fontSize:"13px",color:n,fontWeight:500,fontFamily:On},children:o})]}),Ns=u.font.ui,Cp=170,kp=({header:e,amount:t,setAmount:n,isInsufficient:s,sourceAmountDecimals:o,selectedSourceAsset:r,resolvedSelectedSourceAsset:a,spiceAssets:l,setSelectedSourceAsset:c,sourceUsdEstimate:d,sourceTokenLabel:m,sourceChainLabel:f,totalSelectedBalance:h,showSourceTokenPopover:w,setShowSourceTokenPopover:g,tokenPopoverPos:y,setTokenPopoverPos:x,tokenTriggerRef:b,primaryColor:v,dark:C,dk:k})=>{const I=u.useAssetDisplay(),A=a?I({...a,logoURI:a._source==="wallet"?a.logoURI:xs}).logoURI:xs,E=C?k.cardBg:"#E9E9E9",D=C?k.cardBorder:"#C6C6C6",R=C?k.textSecondary:"#71757A",B=C?k.textPrimary:"#0E0D0B",W=C?k.cardBorder:"#C5C5C4",O=C?"rgba(255,255,255,0.08)":"#D4D3D3",M=m.length>8?"14px":m.length>6?"16px":"18px";return i.jsxs("div",{style:{backgroundColor:E,border:`1px solid ${D}`,borderRadius:"7px",padding:"14px 16px 12px 16px",minHeight:"138px",display:"flex",flexDirection:"column",gap:"6px",position:"relative"},children:[e,i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"12px",flex:1},children:[i.jsxs("div",{style:{flex:1,minWidth:0,alignSelf:"flex-start",paddingTop:"4px"},children:[i.jsx(Un,{element:"input",ariaLabel:"Withdraw amount",ariaInvalid:s,dataSpiceflowFocus:!0,value:t,onChange:U=>{const F=U.target.value;if(F===""){n("");return}/^\d*\.?\d*$/.test(F)&&n(u.parseNumericInput(F.startsWith(".")?`0${F}`:F,o??r?.decimals))},placeholder:"0.0",fontFamily:Ns,color:s?"#ef4444":t?B:"#A8A8A7",lineHeight:"0.95",maxFontSize:54,minFontSize:32,style:{width:"100%"}}),i.jsx("div",{style:{fontSize:"12px",fontWeight:500,color:R,fontFamily:Ns,marginTop:"10px"},children:d})]}),i.jsx("div",{style:{width:`${Cp}px`,flexShrink:0},children:i.jsxs("div",{style:{backgroundColor:"transparent",border:`1px solid ${W}`,borderRadius:"8px",overflow:"hidden",width:"100%",display:"flex",flexDirection:"column",boxSizing:"border-box"},children:[i.jsxs("div",{ref:b,onClick:U=>{if(U.stopPropagation(),!w&&b.current){const F=b.current.getBoundingClientRect(),N=220,L=16;x({top:F.bottom+8,left:Math.min(Math.max(L,F.right-N),window.innerWidth-N-L)})}g(F=>!F)},style:{display:"flex",alignItems:"center",gap:"6px",padding:"9px 10px 8px 10px",cursor:"pointer"},children:[A&&i.jsx("img",{src:A,alt:m,style:{width:"24px",height:"24px",borderRadius:"50%"}}),i.jsx("span",{style:{fontSize:M,fontWeight:500,color:B,lineHeight:"1.3",fontFamily:Ns,flex:1,minWidth:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",letterSpacing:0},children:m}),i.jsx(Jn,{size:15,color:B,strokeWidth:2.25})]}),i.jsx(Ol,{isOpen:w,position:y,title:"SELECT TOKEN",portalAttribute:"token",items:(l||[]).map(U=>({id:xe(U),label:I({...U,displaySymbol:U.displaySymbol||(U._source==="wallet"?U.symbol:U.receiptTokenName)}).symbol,icon:I({...U,logoURI:U._source==="wallet"?U.logoURI:xs}).logoURI||void 0,detail:`${u.formatBalance(U.balanceFormatted)} \xB7 ${U._source==="wallet"?u.getChainConfig(U.chainId)?.displayName||U.chainId:"Spicenet"}`})),selectedId:a?xe(a):null,onSelect:U=>{const F=(l||[]).find(N=>xe(N)===U);F&&(c(F),n("")),g(!1)}}),i.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"5px 10px",backgroundColor:O,borderTop:`1px solid ${W}`},children:i.jsx("span",{style:{fontSize:"11px",fontWeight:400,color:B,fontFamily:Ns,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",textTransform:"uppercase"},children:f})})]})})]}),i.jsxs("div",{style:{minHeight:"18px",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[s?i.jsx("span",{style:{fontSize:"12px",color:k.errorText,fontFamily:Ns,fontWeight:500},children:"Insufficient Balance"}):i.jsx("span",{}),i.jsx("div",{style:{display:"flex",justifyContent:"flex-end",gap:"0px",minHeight:"32px",marginRight:"-9px"},children:[0,25,50,75,100].map((U,F)=>{const N=F===4,L=parseFloat(t)||0,q=h>0&&Math.abs(L/h*100-U)<1;return i.jsx("button",{type:"button","aria-label":`Set amount to ${U}%`,"aria-pressed":q,onClick:()=>{const oe=a?.balance??0n;n(U===0?"":T.formatUnits(oe*BigInt(U)/100n,o??r?.decimals??6))},title:`${U}%`,disabled:h===0,"data-spiceflow-focus":!0,style:{width:"32px",height:"32px",padding:"9px",border:"none",backgroundColor:"transparent",cursor:h===0?"not-allowed":"pointer",opacity:q?1:.5,transition:"opacity 0.15s ease",display:"flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box"},children:i.jsx(cr,{pct:U,isMax:N,primaryColor:v,dark:C,fillColor:C?k.textSecondary:"#3C3E42"})},U)})})]})]})},Sp=({dark:e,dk:t})=>i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"5px"},children:[i.jsx("img",{src:$o,alt:"","aria-hidden":"true",style:{width:"13px",height:"13px",flexShrink:0,...e?{filter:"invert(0.6)"}:{}}}),i.jsx("p",{style:{fontSize:"13px",color:e?t.textSecondary:"#979AA0",margin:"0",lineHeight:"1.4",fontFamily:u.font.ui},children:"Withdraw collateral from your account to 10+ EVM blockchains."})]}),Ip=({isOpen:e,onClose:t,closeOnBackdropClick:n=!1,styles:s,onWithdrawExecute:o,onWithdrawSuccess:r,onWithdrawError:a,availableTokens:l,initialSourceAssetId:c,walletAssets:d,buildSpicenetBatch:m=Fs})=>{const f=p.useContext(u.SpiceFlowProviderContext);if(!f)return i.jsx("div",{children:"Error: SpiceWithdraw must be used within SpiceFlowProvider"});const h=f.mode||"7702",w=h==="presign"||h==="ondemand",g=f.supportedChainIds,y=f.allowedTokens,x=d?.initialAsset,b=p.useMemo(()=>[...d?.extraAssets??[],...x?[x]:[]].map(ie=>({address:ie.address,chainId:ie.chainId,symbol:ie.symbol,decimals:ie.decimals})),[d?.extraAssets,x]),v=f.isWhitelistGateActive,{theme:C,dark:k,dk:I}=u.useSpiceBrand(s),A=u.useAssetDisplay(),E=f.network,D=()=>w?"select":"provider-login",[R,B]=p.useState(D()),[W,O]=p.useState(!1),[M,U]=p.useState(null),[F,N]=p.useState(null),[L,q]=p.useState(""),[oe,pe]=p.useState(!1),[ae,Q]=p.useState(!1),[$,X]=p.useState(!1),[ee,Y]=p.useState(""),[we,be]=p.useState(!0),j=p.useRef(null),K=p.useRef(null),Z=p.useRef(null),[G,ue]=p.useState(null),[me,Se]=p.useState(null),J=u.useWallet(),{isReady:P,isAuthenticated:_,address:le}=J,te=f?.embeddedWalletAddress,{address:ne,chainId:Ie}=Cn.useAccount(),ge=f.externalWalletAddress||ne,[fe,Ce]=p.useState(!1),[st,ve]=p.useState(null),ze=p.useRef(a);ze.current=a;const Ze=p.useCallback(ie=>{ve(ie),typeof ie=="string"&&ie&&ze.current?.(ie,u.getRelayerErrorDetail(ie))},[]),[He,et]=p.useState(null),tt=p.useRef(null),ot=p.useRef(!0),gt=p.useRef(null);p.useEffect(()=>(ot.current=!0,()=>{ot.current=!1}),[]);const{execute:Xe,estimate:ct}=Ss(),Pe=fr(le,e),[lt,Me]=p.useState(null),[ht,Ct]=p.useState(null),[Je,ft]=p.useState(!1),[Be,dt]=p.useState(null),{assets:De,loading:re,error:de,refresh:Ee}=Xn({owner:te,role:"holding",includeWalletAssets:!0,additionalSourceTokens:b,enabled:e&&!!te}),Fe=p.useMemo(()=>{if(v)return[];const ie=(se,ke)=>(ke.balanceUsd||0)-(se.balanceUsd||0);return(De??[]).filter(se=>se.balance>0n&&Tn(se,"holding",{allowedTokens:y,isWhitelistGateActive:v}).eligible).sort(ie)},[De,y,v]),ce=p.useMemo(()=>[...new Set([...g??[],...Object.keys(l??{}).map(Number),...(Fe||[]).map(ie=>ie.chainId),...(Fe||[]).flatMap(ie=>Object.keys(ie.chainTokens??{}).map(se=>{const[,ke]=se.split(":"),_e=Number(ke);return Number.isFinite(_e)?_e:null}).filter(se=>se!==null))])].filter(ie=>u.getChainConfig(ie)?.network===E),[g,l,Fe,E]),We=p.useMemo(()=>{if(l)return l;const ie={};for(const se of Fe||[]){const ke=Object.entries(se.chainTokens??{});if(ke.length>0){for(const[_e,Ue]of ke){const[Qe,Ne,Gt]=_e.split(":");if(Qe!=="evm"||!Ne||!Gt)continue;const Bt=Number(Ne);if(!Number.isFinite(Bt))continue;const Pt=Gt.startsWith("0x")?Gt.toLowerCase():`0x${Gt.toLowerCase()}`,tn=u.getChainConfig(Bt)?.supportedTokens?.find(Et=>u.addressesEqual(Et.address,Pt));tn&&Wo(se,Pt,Bt)&&(ie[Bt]||(ie[Bt]=[]),ie[Bt].find(Et=>u.addressesEqual(Et.address,Pt))||ie[Bt].push({address:Pt,symbol:tn?.symbol||Ue?.name||se.symbol,name:tn?.name||Ue?.name||se.displayName||se.name||se.symbol,decimals:tn?.decimals??Ue?.decimals??se.decimals,logoURI:tn?.logo||se.logoURI}))}continue}ie[se.chainId]||(ie[se.chainId]=[]),ie[se.chainId].find(_e=>u.addressesEqual(_e.address,se.address))||ie[se.chainId].push({address:se.address,symbol:se.symbol,name:se.displayName||se.name||se.symbol,decimals:se.decimals,logoURI:se.logoURI})}return ie},[l,Fe]),je=p.useCallback((ie,se)=>{const ke=Iu(ie,se,se?ie?._source==="wallet"?l?.[se]??[]:We[se]??[]:[]);return!ie||!ke||!se?null:ie._source==="wallet"||Tn(ie,"withdraw-destination",f,{...ke,chainId:se}).eligible?ke:null},[We,l,f.allowedTokens,f.rpcOverrides,f.isWhitelistGateActive]),z=p.useMemo(()=>M?Fe.find(ie=>xe(ie)===xe(M))??null:null,[M,Fe]),$e=z?z.balanceError:de,Re=z?._source==="wallet",Ve=p.useMemo(()=>{if(!z)return[];const ie=Object.keys(z.chainTokens??{}).map(se=>hn(se)?.chainId??null).filter(se=>se!==null);return Array.from(new Set([...ie,z.chainId,...ce].filter(Number.isFinite))).filter(se=>u.getChainConfig(se)?.network===E&&(z._source==="wallet"||je(z,se)!==null))},[z,ce,je,E]),Mt=p.useMemo(()=>{if(!z||typeof window>"u")return null;const ie=`spiceflow:withdraw-chain:${z.receiptTokenId||z.address.toLowerCase()}`,se=window.localStorage.getItem(ie),ke=se?Number(se):null;return ke!==null&&Number.isFinite(ke)&&Ve.includes(ke)?ke:null},[z,Ve]),At=p.useMemo(()=>z?z._source==="wallet"?z.chainId:Mt!==null?Mt:Ie&&Ve.includes(Ie)?Ie:z.chainId&&Ve.includes(z.chainId)?z.chainId:Ve[0]??null:ce[0]??null,[z,Mt,Ie,Ve,ce]),Oe=p.useMemo(()=>je(z,F),[je,z,F]);p.useEffect(()=>{e&&(U(null),q(""))},[e,c,x?.address,x?.chainId]),p.useEffect(()=>{if(!e||!Fe.length||M)return;const ie=x?Fe.find(se=>se.chainId===x.chainId&&u.addressesEqual(se.address,x.address)&&se._source==="wallet"):c?Fe.find(se=>se.receiptTokenId===c):Fe[0];U(ie??null),q("")},[e,Fe,M,c,x]);const rt=p.useRef(null);p.useEffect(()=>{if(!z){rt.current=null;return}const ie=xe(z),se=rt.current!==ie;rt.current=ie,(se&&z._source==="wallet"||F===null||!Ve.includes(F))&&N(At)},[z,F,At,Ve]),p.useEffect(()=>{if(!oe&&!ae)return;const ie=se=>{const ke=se.target;oe&&!j.current?.contains(ke)&&!K.current?.contains(ke)&&!ke?.closest?.("[data-network-popover]")&&pe(!1),ae&&!Z.current?.contains(ke)&&!ke?.closest?.("[data-token-popover]")&&Q(!1)};return document.addEventListener("mousedown",ie),()=>document.removeEventListener("mousedown",ie)},[oe,ae]);const wt=p.useCallback(ie=>{if(!ie||Ve.length<=1)return;const se=ie.getBoundingClientRect(),ke=220,_e=16;ue({top:se.bottom+8,left:Math.min(Math.max(_e,se.right-ke),window.innerWidth-ke-_e)}),pe(Ue=>!Ue)},[Ve.length]),Ft=p.useCallback(()=>be(ie=>!ie),[]);p.useEffect(()=>{if(!z||F===null||typeof window>"u")return;const ie=`spiceflow:withdraw-chain:${z.receiptTokenId||z.address.toLowerCase()}`;window.localStorage.setItem(ie,String(F))},[z,F]);const nt=$?T.isAddress(ee)?ee:void 0:ge||(Re?void 0:te),Dt=Xn({owner:nt,role:"holding",includeRollupAssets:!1,sourceChains:F?[F]:[],additionalSourceTokens:Oe&&F?[{...Oe,chainId:F}]:[],enabled:e&&!!nt&&!!Oe&&!!F}),Nn=Dt.walletAssets.find(ie=>u.addressesEqual(ie.owner,nt)&&ie.chainId===F&&u.addressesEqual(ie.address,Oe?.address)),xt=z?.balanceFormatted??0,gn=z?A(Re?z:{...z,displaySymbol:z.displaySymbol||z.receiptTokenName,logoURI:xs}):void 0,Tt=gn?.symbol||"Select token",on=z?.displayChainName||(Re?u.getChainConfig(z.chainId)?.displayName:"Spicenet")||"Network",bt=z?.receiptTokenDecimals??z?.decimals,Ut=p.useMemo(()=>{if(!Oe||bt===void 0)return 0n;try{return Xt(L||"0",bt)}catch{return 0n}},[L,Oe,bt]),zt=p.useMemo(()=>!Oe||bt===void 0?0n:ju(Ut,bt,Oe.decimals),[Oe,bt,Ut]),$t=ht??lt,Ht=Ut,ut=mp({enabled:e&&Re&&!!Oe,destination:Oe&&F?{...Oe,chainId:F}:null,asset:Re?z:null,amount:Ut,recipient:nt,owner:te,sourceChains:g,onSuccess:r,onError:a}),Te=ut.supply,kt=Re&&F!==z?.chainId,_t=Re?Te.fees.ready?Te.fees.destinationAmount??0n:0n:zt>($t??0n)?zt-($t??0n):0n,Vt=Re&&F?Oe?Tn(z,"spend-source",f,{...Oe,chainId:F}).reason:"USDC withdrawal is unavailable on this network. Choose another network.":null,Ot=fe||Re&&(Te.status.isExecuting||Te.status.finalizing),Wt=Te.status.step==="success"||Te.status.paymentResult?.status==="success",qe=p.useCallback(ie=>{if(Re||!F||!Oe)return[];if(Ut===0n||zt===0n||!nt)return[];const se=Array.isArray(ie)?ie.filter(Qe=>Qe.amount>0n):[{token:Oe.address,recipient:nt,amount:ie??zt}],ke=se.reduce((Qe,Ne)=>Qe+Ne.amount,0n);if(ke<=0n)return[];const _e={chainId:F,calls:[],tokenTransfers:se.map(Qe=>({from:"escrow",to:Qe.recipient,token:Qe.token,amount:Qe.amount}))},Ue=m({destinationChainId:F,deliveryToken:Oe.address,deliveryAmount:ke,deliveryRecipient:nt,deliveryTransfers:se,requestTimestampMs:gt.current??Date.now()});return Ue?[Ue,_e]:[_e]},[Re,F,Oe,Ut,zt,nt,m]),Nt=p.useMemo(()=>qe(),[qe]),Rt=p.useMemo(()=>Du(Nt,Oe?.address),[Nt,Oe?.address]),en=p.useRef(null),ln=!Re&&e&&!w&&!fe&&!!Oe&&!!F&&Ut!==0n;_o({shouldRun:ln&&Nt.length>0&&!!Rt,deps:[ln,Nt.length>0,Rt],delayMs:500,onSkip:()=>{en.current=null,Me(null),dt(null),ft(ln&&Nt.length===0)},onCleanup:()=>ft(!1),run:async({isCurrent:ie,signal:se})=>{const ke=Rt;ft(!0),dt(null);try{const _e=await Ru({batches:Nt,tokenAddress:Oe.address,chainId:F,estimate:ct,signal:se});if(!ie())return;en.current={key:ke,quote:_e},Me(_e.gasFee)}catch(_e){if(!ie())return;en.current=null,Me(null),dt(_e instanceof Error?_e.message:"Failed to estimate gas fee")}finally{ie()&&ft(!1)}}}),p.useEffect(()=>{fe||Ct(null)},[fe,L,F,Oe?.address]);const xn=p.useCallback(()=>{O(!0),B("select")},[]),yn=p.useCallback(()=>{Ot||t()},[t,Ot]),wn=p.useRef(null);wn.current={batches:Nt,walletAddress:le,recipient:nt,token:Oe,chainId:F,amount:L,grossAmountRaw:zt,gasFee:lt,feeEstimate:Rt&&en.current?.key===Rt?en.current.quote.feeEstimate:null,isNon7702:w,buildWithdrawBatches:qe,execution:{estimate:ct,execute:Xe},ui:{setIsExecuting:Ce,setExecutionError:Ze,setExecutionProgress:et,setLockedGasFee:Ct},executionContextRef:tt,isMountedRef:ot,onWithdrawExecute:o,onWithdrawSuccess:r,buildSpicenetBatch:m};const Qt=p.useCallback(()=>(gt.current=Date.now(),zi(wn.current)),[]),Lt=p.useCallback(()=>Hi(wn.current),[]);if(p.useEffect(()=>{if(!e){const ie=setTimeout(()=>{B(D()),O(!1),U(null),N(null),q(""),pe(!1),Q(!1),X(!1),Y(""),Ce(!1),Ze(null),et(null),tt.current=null},300);return()=>clearTimeout(ie)}},[e,w]),p.useEffect(()=>{if(!w&&e&&R==="provider-login"&&P&&_&&te&&!W){const ie=setTimeout(()=>{O(!0),B("select")},100);return()=>clearTimeout(ie)}},[w,e,R,P,_,te,W]),!e)return null;if(R==="provider-login"&&!w)return i.jsx(mr,{onAuthSuccess:xn,autoTrigger:!0});if(R==="select"){const ie=parseFloat(L)||0,se=bt?xr(Ht,bt):L||"0",ke=!!z&&Ht>z.balance,_e=(F?u.getChainConfig(F):null)?.displayName||"Network",Ue=F?Bn[F]||ys:null,Qe=Oe?.symbol||"\u2014",Ne=Tt,Gt=Oe?xr(_t,Oe.decimals):"0",Bt=z&&z.balanceFormatted>0?z.balanceUsd/z.balanceFormatted:void 0,Pt=z?.priceStatus==="stale",tn=Vi(ie,Bt,Pt),Et=Vi(parseFloat(Gt)||0,kt?void 0:Bt,Pt),qn=(!$||T.isAddress(ee))&&(!Re||!u.addressesEqual(nt,te)),Kt=!w&&!Re&&ie>0&&Oe!==null,zn=!Kt||lt!==null&&!Je&&!Be,cn=ie>0&&!ke&&!re&&!$e&&z!==null&&F!==null&&Oe!==null&&!Vt&&nt&&qn&&zn&&_t>0n&&(!Re||Te.canExecute&&!Wt),bn=!cn,pt=re?"LOADING BALANCES":$e?"BALANCES UNAVAILABLE":z===null?"NO BALANCE":ie===0?"ENTER AMOUNT":ke?"INSUFFICIENT BALANCE":Kt&&!zn?Be?"GAS UNAVAILABLE":"ESTIMATING GAS":Kt&&_t===0n?"AMOUNT TOO SMALL":Re&&!Te.canExecute?"REVIEW FEES":"WITHDRAW",H=!!He&&(He.step==="success"||He.step==="error"),ye=s?.primaryColor||C.colors.primary,Ye=402,Ae=(vt,mt,Zt)=>i.jsx(hp,{label:vt,loading:Zt,balance:mt,dark:k,dk:I});return i.jsx(fn,{isOpen:!0,onClose:yn,title:"Withdraw",subtitle:i.jsx(Sp,{dark:k,dk:I}),styles:s,theme:C,dark:k,maxWidth:"486px",footerLinkText:"Spicenet accounts \u2192",overlayDimmed:!1,closeOnBackdropClick:n,overlayContent:H?i.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",flexDirection:"column",justifyContent:"flex-end",pointerEvents:"none",zIndex:20},children:i.jsx("div",{style:{pointerEvents:"auto"},children:i.jsx(hr,{type:"withdraw",isOpen:!0,isProcessing:Ot,onRetryTx:()=>{Lt()},onNewTx:()=>{et(null),q(""),Ze(null),tt.current=null},onClose:()=>{et(null),Ze(null),Ce(!1),tt.current=null},onComplete:()=>{et(null),Ze(null),Ce(!1),tt.current=null},results:[{asset:{symbol:Oe?.symbol||"Token",address:Oe?.address||""},txHash:He?.txHash||"",success:He?.step==="success",error:He?.error,amount:L}],chainId:F??void 0,theme:C})})}):null,children:i.jsxs("fieldset",{disabled:Ot,style:{border:0,minWidth:0,width:"calc(100% - 32px)",maxWidth:`${Ye}px`,margin:"0 auto",padding:"0 0 4px 0",position:"relative"},children:[i.jsx(ho,{activity:Pe,palette:I,onRefresh:()=>{Ee()}}),i.jsxs("div",{style:{marginTop:"16px",marginBottom:"16px",display:"flex",flexDirection:"column",gap:"16px"},children:[i.jsx(kp,{header:Ae("Source",xt,re),amount:L,setAmount:q,isInsufficient:ke,sourceAmountDecimals:bt,selectedSourceAsset:z,resolvedSelectedSourceAsset:z,spiceAssets:Fe,setSelectedSourceAsset:U,sourceUsdEstimate:tn,sourceTokenLabel:Ne,sourceChainLabel:on,totalSelectedBalance:xt,showSourceTokenPopover:ae,setShowSourceTokenPopover:Q,tokenPopoverPos:me,setTokenPopoverPos:Se,tokenTriggerRef:Z,primaryColor:ye,dark:k,dk:I}),i.jsx(yp,{header:Ae("Destination",Nn?.balanceFormatted??null,Dt.loading),amount:L,receiveAmountDisplay:Gt,receiveUsdEstimate:Et,selectedDestToken:Oe,destTokenSymbol:Qe,destChainName:_e,destChainLogo:Ue,compatibleDestinationChains:Ve,networkSwitchRef:j,onOpenNetworkPopover:wt,showNetworkPopover:oe,setShowNetworkPopover:pe,networkPopoverPos:G,selectedChainId:F,setSelectedChainId:N,dark:k,dk:I})]}),i.jsxs("div",{style:{marginBottom:C.spacing.sm},children:[i.jsx(vp,{show:we,onToggle:Ft,showCustomAddress:$,setShowCustomAddress:X,customRecipient:ee,setCustomRecipient:Y,externalAddress:ge,recipientAddress:nt,destChainName:_e,destChainLogo:Ue,compatibleDestinationChains:Ve,txDetailsChainSwitchRef:K,onOpenNetworkPopover:wt,sourceChainLabel:on,sourceDetailsLogo:z?gn?.logoURI:xs,sourceTokenLabel:Ne,amount:L,totalSourceDebitDisplay:se,receiveAmountDisplay:Gt,destTokenSymbol:Qe,shouldQuoteWithdrawGas:Kt,estimatingFee:Je,feeError:Be,displayedGasFee:$t,selectedDestToken:Oe,theme:C,styles:s,dark:k,dk:I}),kt&&i.jsx(Jt,{variant:"info",size:"compact",palette:I,children:Te.fees.ready?`You receive ${Gt} USDC on ${_e}`:`USDC on ${_e} \u2014 ${Vt||Te.fees.error||Te.quote.quoteError||"waiting for quote"}`}),Re&&Te.fees.ready&&i.jsxs(i.Fragment,{children:[i.jsx(an,{palette:I,label:"TOTAL SOURCE DEBIT",value:`${se} ${Ne}`}),i.jsx(an,{palette:I,label:"MINIMUM RECEIVED",value:`${Gt} ${Qe}`}),i.jsx(an,{palette:I,label:kt?"DESTINATION FEES":"EST. FEE",value:Te.fees.preview?.totalFee!==void 0?`${T.formatUnits(Te.fees.preview.totalFee,Te.fees.preview.decimals)} ${Te.fees.preview.symbol}`:"Unavailable"})]}),kt&&Te.fees.ready&&Te.fees.source&&i.jsx(an,{palette:I,label:"SOURCE NETWORK FEE",value:`${T.formatUnits(Te.fees.source.gasFee,Te.fees.source.decimals)} ${Te.fees.source.symbol}`}),Vt&&i.jsx(Jt,{variant:"warning",size:"compact",palette:I,children:Vt}),Re&&i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[!kt&&i.jsx(an,{palette:I,label:"FEE ASSET",value:Te.fees.isLoading?"Estimating...":ut.source?`${A(ut.source).symbol} \xB7 ${ut.source._source==="spice"?"Spicenet":u.getChainConfig(ut.source.chainId)?.displayName}`:"Unavailable"}),!kt&&i.jsx(an,{palette:I,label:"MAXIMUM FEE FUNDING",value:Te.fees.isLoading?"Estimating...":Te.fees.ready&&ut.source&&ut.maximumFeeFunding!=null?`${T.formatUnits(ut.maximumFeeFunding,ut.source.decimals)} ${A(ut.source).symbol}`:"Unavailable"}),!Wt&&(Te.status.error||Te.fees.error||Te.quote?.quoteError)&&i.jsx(Jt,{variant:"error",size:"compact",palette:I,children:Te.status.error||Te.fees.error||Te.quote?.quoteError}),!Wt&&Te.status.finalizationError&&i.jsx(u.Button,{variant:"outline",dark:k,disabled:Te.status.finalizing,onClick:()=>void Te.retryFinalization(),children:"Retry application update"}),!Wt&&Te.status.step==="error"&&Te.status.error==="Transaction fees changed. Refresh the quote before submitting."&&i.jsx(u.Button,{variant:"outline",dark:k,disabled:Te.status.isExecuting,onClick:Te.retrySupply,children:"Refresh quote"}),Te.status.statusMsg&&i.jsx("span",{role:"status",children:Te.status.statusMsg})]}),z&&!re&&Ve.length===0&&i.jsx(Jt,{variant:"warning",size:"compact",palette:I,children:"No withdrawal networks are available for this asset."}),st&&i.jsx(Jt,{variant:"error",size:"compact",palette:I,fontFamily:s?.fontFamily||C.typography.fontFamily,style:{marginBottom:"12px"},children:st}),de&&i.jsxs(Jt,{variant:$e?"error":"warning",size:"compact",palette:I,children:[$e?"Unable to load this balance. Please try again.":"Some other balances could not be refreshed."," ",i.jsx("button",{type:"button",onClick:()=>void Ee(),children:"Retry"})]}),i.jsx(u.Button,{variant:"outline",fullWidth:!0,onClick:()=>{if(cn)if(Re){if(kt&&_t<=0n)return;Te.submitSupply()}else Qt()},disabled:bn||Ot,theme:C,dark:k,styles:s,style:{marginTop:"8px"},children:Ot?"EXECUTING...":Re&&Wt?"WITHDRAWN":pt})]})]})})}return null},Dr=Ip,Ap=({onDepositClick:e,onWithdrawClick:t,depositDisabled:n=!1,withdrawDisabled:s=!1,primaryColor:o="#EA4B4B",buttonStyles:r,dark:a=!1})=>{if(!e&&!t)return null;const l={button:{backgroundColor:o,...r}};return i.jsxs("div",{style:{display:"flex",gap:"8px"},children:[e&&i.jsx(u.Button,{variant:"outline",onClick:e,disabled:n,dark:a,styles:l,style:{flex:1,height:"44px",fontSize:"12px"},children:"Deposit"}),t&&i.jsx(u.Button,{variant:"outline",onClick:()=>t(),disabled:s,dark:a,styles:l,style:{flex:1,height:"44px",fontSize:"12px"},children:"Withdraw"})]})},Ep=p.memo(Ap),Fp=({section:e,dk:t,dark:n=!1})=>{const s=o=>{switch(o){case"green":return"#10b981";case"red":return"#ef4444";default:return t.textPrimary}};return i.jsxs("div",{children:[i.jsx("div",{style:{fontSize:"11px",fontWeight:600,letterSpacing:"1px",color:t.textSecondary,marginBottom:"8px",textTransform:"uppercase"},children:e.title}),i.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"6px"},children:e.items.map((o,r)=>i.jsxs("div",{role:o.onClick?"button":void 0,tabIndex:o.onClick?0:void 0,onClick:o.onClick,onKeyDown:o.onClick?a=>{(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),o.onClick?.())}:void 0,style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 12px",backgroundColor:t.cardBg,border:n?`1px solid ${t.cardBorder}`:"1px solid #e5e7eb",borderRadius:"8px"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[o.tokenLogoURI?i.jsx("img",{src:o.tokenLogoURI,alt:o.tokenSymbol,style:{width:"20px",height:"20px",borderRadius:"50%"}}):i.jsx("div",{style:{width:"20px",height:"20px",borderRadius:"50%",backgroundColor:n?t.hoverBg:"#e5e7eb",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"10px",fontWeight:600,color:t.textSecondary},children:o.tokenSymbol.charAt(0)}),i.jsxs("div",{children:[i.jsx("div",{style:{fontSize:"13px",fontWeight:500,color:t.textPrimary},children:o.tokenSymbol}),i.jsx("div",{style:{fontSize:"11px",color:t.textSecondary},children:o.label})]})]}),i.jsx("div",{style:{fontSize:"13px",fontWeight:600,color:s(o.valueColor)},children:o.displayValue})]},r))})]})},Tp=p.memo(Fp);var Bp="data:image/svg+xml,%3csvg width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='black' stroke-opacity='0.5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3e%3cpolyline points='17 1 21 5 17 9' /%3e%3cpath d='M3 11V9a4 4 0 0 1 4-4h14' /%3e%3cpolyline points='7 23 3 19 7 15' /%3e%3cpath d='M21 13v2a4 4 0 0 1-4 4H3' /%3e%3c/svg%3e";const Rp=({appName:e,status:t,statusLabel:n,totalUsdValue:s,breakdownSubtitle:o,showUsdSummary:r=!0,address:a,dk:l,dark:c=!1,showModeToggle:d,isEmbeddedMode:m=!0,onModeToggle:f})=>{const[h,w]=p.useState(!1),g=async()=>{a&&await u.copyToClipboard(a)&&(w(!0),setTimeout(()=>w(!1),2e3))},y=t==="active",x=n||(y?"Active":"Inactive"),b=y?"#10b981":"#9ca3af",v=i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"6px"},children:[i.jsxs("div",{children:[i.jsx("strong",{children:"Embedded:"})," Deposit assets into ",e," account and use them here."]}),i.jsxs("div",{children:[i.jsx("strong",{children:"External:"})," Use assets from your connected wallet here."]})]});return i.jsxs("div",{children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"4px"},children:[i.jsxs("div",{style:{fontSize:"13px",fontWeight:600,color:l.textPrimary},children:[e," Account"]}),d?i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[i.jsxs("button",{onClick:f,style:{display:"flex",alignItems:"center",gap:"4px",padding:"2px 8px",borderRadius:"9999px",backgroundColor:c?l.hoverBg:"#f3f4f6",border:c?`1px solid ${l.cardBorder}`:"1px solid #e5e7eb",cursor:"pointer",fontSize:"11px",fontWeight:600,fontFamily:u.font.mono,color:l.textSecondary,transition:"background-color 150ms ease, border-color 150ms ease, color 150ms ease",letterSpacing:"0.02em"},children:[i.jsx("span",{children:m?"Embedded":"External"}),i.jsx("img",{src:Bp,alt:"","aria-hidden":"true",style:{width:"11px",height:"11px",display:"block",...c?{filter:"invert(0.65)"}:{}}})]}),i.jsx(xi,{content:v,label:"Account mode info",textColor:c?l.textPrimary:"#f9fafb",backgroundColor:c?l.cardBg:"#111827",borderColor:c?l.cardBorder:"rgba(255,255,255,0.08)",accentColor:c?l.textSecondary:"#6b7280",children:i.jsx("img",{src:$o,alt:"","aria-hidden":"true",style:{width:"12px",height:"12px",display:"block",...c?{filter:"invert(0.65)"}:{}}})})]}):i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"4px",padding:"2px 8px",borderRadius:"9999px",backgroundColor:c?l.hoverBg:y?"#ecfdf5":"#f3f4f6",border:c?`1px solid ${l.cardBorder}`:y?"1px solid #a7f3d0":"1px solid #e5e7eb"},children:[i.jsx("div",{style:{width:"6px",height:"6px",borderRadius:"50%",backgroundColor:b}}),i.jsx("span",{style:{fontSize:"11px",fontWeight:500,color:c?l.textSecondary:y?"#065f46":"#6b7280"},children:x})]})]}),r&&i.jsx("div",{style:{fontSize:"28px",fontWeight:700,color:l.textPrimary,lineHeight:1.2,marginBottom:"2px"},children:u.formatUsd(s)}),r&&o&&i.jsx("div",{style:{fontSize:"12px",color:l.textSecondary,marginBottom:"8px"},children:o}),a&&i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[i.jsx("span",{style:{fontSize:"12px",fontFamily:u.font.mono,color:c?l.textSecondary:"#9ca3af"},children:u.truncateAddress(a)}),i.jsx("button",{onClick:g,style:{padding:"2px 6px",fontSize:"10px",fontWeight:500,backgroundColor:"transparent",color:c?l.textSecondary:"#9ca3af",border:"none",cursor:"pointer",borderRadius:"4px",transition:"background-color 150ms ease, color 150ms ease"},title:"Copy address",children:h?"Copied":"Copy"})]})]})},jp=p.memo(Rp),Dp=({asset:e,label:t,logo:n,dk:s,dark:o})=>{const r=dr(n,e.chainId,e.tokenAddress),[a,l]=p.useState();return n===null?null:r&&r!==a?i.jsx("img",{src:r,alt:t,onError:()=>l(r),style:{width:"24px",height:"24px",borderRadius:"50%"}}):i.jsx("div",{style:{width:"24px",height:"24px",borderRadius:"50%",backgroundColor:o?s.hoverBg:"#e5e7eb",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"11px",fontWeight:600,color:s.textSecondary},children:t.charAt(0)})},Op=e=>`${e.tokenAddress}-${e.chainId}`,Np=({spiceAssets:e,loading:t,dk:n,dark:s=!1,canDirectWithdraw:o=!1,onDirectWithdraw:r,directWithdrawState:a,onWithdrawClick:l,limit:c})=>{const d=u.useAssetDisplay(),[m,f]=p.useState(!1),h=c!==void 0&&!m?Math.max(e.length-c,0):0,w=h>0?e.slice(0,c):e,g={fontSize:"11px",fontWeight:600,letterSpacing:"1px",color:n.textSecondary,marginBottom:"8px",textTransform:"uppercase"},y={backgroundColor:n.cardBg,border:s?`1px solid ${n.cardBorder}`:"1px solid #e5e7eb",borderRadius:"8px"};return t?i.jsxs("div",{children:[i.jsx("div",{style:g,children:"Idle Balances"}),[1,2].map(x=>i.jsx("div",{style:{...y,padding:"12px",marginBottom:"6px",height:"48px",animation:"pulse 1.5s ease-in-out infinite",opacity:.5}},x))]}):e.length===0?i.jsxs("div",{children:[i.jsx("div",{style:g,children:"Idle Balances"}),i.jsx("div",{style:{...y,padding:"16px",textAlign:"center",fontSize:"13px",color:s?n.textSecondary:"#9ca3af"},children:"No assets yet. Deposit to get started."})]}):i.jsxs("div",{children:[i.jsx("div",{style:g,children:"Idle Balances"}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"6px"},children:[w.map(x=>{const b=u.getChainConfig(x.chainId),v=x.chainDisplayName||b?.displayName||`Chain ${x.chainId}`,C=d({symbol:x.tokenSymbol,displaySymbol:x.tokenDisplaySymbol||x.tokenDisplayName,displayName:x.tokenDisplayName,receiptTokenId:x.receiptTokenId,receiptTokenName:x.receiptTokenName,location:x.location,logoURI:x.logoURI}),k=C.symbol,I=Op(x),A=x.receiptTokenId&&l,E=A||o&&x.directWithdraw&&!!r,D=!A&&a?.key===I?a:null,R=D?.step==="pending";return i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 12px",...y},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.jsx(Dp,{asset:x,label:k,logo:C.logoURI,dk:n,dark:s}),i.jsxs("div",{children:[i.jsx("div",{style:{fontSize:"13px",fontWeight:500,color:n.textPrimary},children:k}),i.jsx("div",{style:{fontSize:"11px",color:s?n.textSecondary:"#9ca3af"},children:v})]})]}),i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"10px"},children:[i.jsxs("div",{style:{textAlign:"right"},children:[i.jsx("div",{style:{fontSize:"13px",fontWeight:500,color:n.textPrimary},children:u.formatAssetBalance({balance:BigInt(x.balance),decimals:x.tokenDecimals})}),i.jsx("div",{style:{fontSize:"11px",color:D?.step==="error"?n.errorText:s?n.textSecondary:"#9ca3af"},children:D?.step==="error"?D.message||"Withdraw failed":!Number.isFinite(x.usdValue)||x.usdValue<=0?"\u2014":`${u.formatUsd(x.usdValue)}${x.priceStatus==="stale"?" (stale)":""}`})]}),E&&i.jsx("button",{onClick:()=>{R||(A?A(x.receiptTokenId):r(x))},disabled:R,title:A?"Choose withdrawal network":"Withdraw to external wallet",style:{padding:"6px 10px",borderRadius:"6px",border:s?`1px solid ${n.cardBorder}`:"1px solid #e5e7eb",backgroundColor:s?n.hoverBg:"#ffffff",color:n.textPrimary,fontSize:"11px",fontWeight:600,cursor:R?"default":"pointer",opacity:R?.6:1,whiteSpace:"nowrap"},children:R?"Withdrawing\u2026":"Withdraw"})]})]},x.positionId??`${x.owner??""}:${x.location??""}:${x.receiptTokenId??`${x.tokenAddress}-${x.chainId}`}`)}),c!==void 0&&e.length>c&&i.jsxs("button",{onClick:()=>f(!m),style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"6px",width:"100%",padding:"8px 12px",...y,cursor:"pointer",color:n.textSecondary,fontSize:"12px",fontWeight:500},children:[i.jsx("span",{children:m?"Show less":`Show ${h} more`}),i.jsx("span",{style:{transform:m?"rotate(180deg)":"rotate(0deg)",transition:"transform 200ms ease",fontSize:"10px"},children:"\u25BE"})]})]})]})},Pp=p.memo(Np),Mp=({pendingDeposits:e,onCompleteDeposit:t,dk:n,dark:s=!1})=>e.length===0?null:i.jsxs("div",{children:[i.jsx("div",{style:{fontSize:"11px",fontWeight:600,letterSpacing:"1px",color:n.textSecondary,marginBottom:"8px",textTransform:"uppercase"},children:"Pending Deposits"}),i.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"6px"},children:e.map((o,r)=>{const a=u.getChainConfig(o.chainId)?.displayName||`Chain ${o.chainId}`;return i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 12px",backgroundColor:s?n.warningBg:"#fffbeb",border:s?`1px solid ${n.warningBorder}`:"1px solid #fde68a",borderRadius:"8px"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.jsx("div",{style:{width:"24px",height:"24px",borderRadius:"50%",backgroundColor:s?n.hoverBg:"#fde68a",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"11px",fontWeight:600,color:n.warningText},children:o.tokenSymbol.charAt(0)}),i.jsxs("div",{children:[i.jsxs("div",{style:{fontSize:"13px",fontWeight:500,color:n.textPrimary},children:[o.amount," ",o.tokenSymbol]}),i.jsxs("div",{style:{fontSize:"11px",color:n.warningText},children:["on ",a]})]})]}),i.jsx("button",{onClick:()=>t?.(o),style:{padding:"4px 12px",fontSize:"11px",fontWeight:600,backgroundColor:s?n.hoverBg:"#fef3c7",color:s?n.textPrimary:"#92400e",border:s?`1px solid ${n.warningBorder}`:"1px solid #fde68a",borderRadius:"9999px",cursor:"pointer",transition:"background-color 150ms ease, border-color 150ms ease, color 150ms ease"},children:"Complete"})]},`${o.tokenAddress}-${o.chainId}-${r}`)})})]}),Up=p.memo(Mp),Wp=({appName:e,status:t,statusLabel:n,totalUsdValue:s,breakdownSubtitle:o,showUsdSummary:r,address:a,spiceAssets:l,spiceAssetsLoading:c,pendingDeposits:d,customSections:m,notice:f,onDepositClick:h,onWithdrawClick:w,depositDisabled:g,onCompleteDeposit:y,primaryColor:x,buttonStyles:b,dk:v,dark:C=!1,showModeToggle:k,isEmbeddedMode:I,onModeToggle:A,showConnectExternalCta:E,onConnectExternalWallet:D,connectExternalError:R,showHowItWorks:B=!0,canDirectWithdraw:W,onDirectWithdraw:O,directWithdrawState:M,idleBalancesLimit:U})=>{const[F,N]=p.useState(!1);return i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px",padding:"16px",maxHeight:"calc(80vh - 32px)",overflowY:"auto"},children:[i.jsx(jp,{appName:e,status:t,statusLabel:n,totalUsdValue:s,breakdownSubtitle:o,showUsdSummary:r,address:a,dk:v,dark:C,showModeToggle:k,isEmbeddedMode:I,onModeToggle:A}),f&&i.jsx("div",{style:{padding:"10px 12px",borderRadius:"8px",backgroundColor:f.tone==="warning"?C?"rgba(245, 158, 11, 0.12)":"#fffbeb":f.tone==="success"?C?"rgba(16, 185, 129, 0.12)":"#ecfdf5":v.cardBg,border:f.tone==="warning"?C?"1px solid rgba(245, 158, 11, 0.35)":"1px solid #fde68a":f.tone==="success"?C?"1px solid rgba(16, 185, 129, 0.35)":"1px solid #a7f3d0":C?`1px solid ${v.cardBorder}`:"1px solid #e5e7eb",color:f.tone==="warning"?C?"#fbbf24":"#92400e":f.tone==="success"?C?"#34d399":"#047857":v.textSecondary,fontSize:"12px",lineHeight:1.45,fontWeight:500},children:f.message}),E&&i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"6px"},children:[i.jsx("button",{onClick:D,style:{width:"100%",padding:"10px 14px",borderRadius:"8px",backgroundColor:x||"#EA4B4B",color:"#ffffff",border:"none",cursor:"pointer",fontSize:"13px",fontWeight:600,fontFamily:u.font.ui,transition:"opacity 150ms ease"},children:"Connect External Wallet"}),R&&i.jsx("span",{style:{fontSize:"11px",color:C?v.errorText:"#b91c1c",lineHeight:1.4},children:R})]}),i.jsx("div",{style:{height:"1px",backgroundColor:C?"#2d2d2d":"#e5e7eb"}}),i.jsx(Ep,{onDepositClick:h,onWithdrawClick:w,depositDisabled:g,primaryColor:x,buttonStyles:b,dark:C}),B&&i.jsxs("div",{children:[i.jsxs("button",{onClick:()=>N(!F),style:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",padding:"8px 12px",backgroundColor:v.cardBg,border:C?`1px solid ${v.cardBorder}`:"1px solid #e5e7eb",borderRadius:"8px",cursor:"pointer",color:v.textSecondary,fontSize:"12px",fontWeight:500},children:[i.jsx("span",{children:"How It Works"}),i.jsx("span",{style:{transform:F?"rotate(180deg)":"rotate(0deg)",transition:"transform 200ms ease",fontSize:"10px"},children:"\u25BE"})]}),F&&i.jsxs("div",{style:{marginTop:"6px",padding:"10px 12px",backgroundColor:C?v.cardBg:"#f0fdf4",border:C?`1px solid ${v.cardBorder}`:"1px solid #bbf7d0",borderRadius:"8px",fontSize:"12px",lineHeight:1.5,color:C?v.textSecondary:"#374151"},children:["Fund your ",e," Account from any supported chain. Once funded, transact gas-free and asset-abstracted on ",e,"."]})]}),i.jsx(Up,{pendingDeposits:d,onCompleteDeposit:y,dk:v,dark:C}),i.jsx(Pp,{spiceAssets:l,loading:c,dk:v,dark:C,canDirectWithdraw:W,onDirectWithdraw:O,directWithdrawState:M,onWithdrawClick:w,limit:U}),m.map((L,q)=>i.jsx(Tp,{section:L,dk:v,dark:C},q))]})},Lp=p.memo(Wp);function qp({dark:e,onSuccess:t,onError:n}){const{disconnect:s}=Cn.useDisconnect(),{logout:o}=ps.usePrivy(),[r,a]=p.useState(!1);return i.jsx(u.Button,{variant:"ghost",fullWidth:!0,dark:e,loading:r,onClick:async()=>{a(!0);try{s(),await o(),t()}catch(l){n(u.sanitizeError(l,"Unable to disconnect. Please try again."))}finally{a(!1)}},children:"Disconnect"})}const Or=380,Ln=8,zp=[],Hp={};function Nl(e){return e?.trim().replace(/^spice/i,"").replace(/[^a-z0-9]/gi,"").toUpperCase()||void 0}function Vp(e,t){const n=new Map;Object.entries(t).forEach(([o,r])=>{if(!Number.isFinite(r)||r<=0)return;n.set(o,r),n.set(o.toUpperCase(),r);const a=Nl(o);a&&n.set(a,r)});const s=[e.symbol,e.displaySymbol,e.receiptTokenName,e.name,e.displayName];for(const o of s){if(!o)continue;const r=n.get(o)??n.get(o.toUpperCase());if(r!==void 0)return r;const a=Nl(o);if(!a)continue;const l=n.get(a);if(l!==void 0)return l}return 0}const Pl=({appName:e,status:t="active",statusLabel:n,customSections:s=zp,extraAssets:o=[],tokenPrices:r={},tokenLogos:a=Hp,breakdownLabels:l=[],notice:c,styles:d,dark:m,onDepositSuccess:f,onDepositClick:h,onWithdrawClick:w,onCompleteDeposit:g,showModeToggle:y=!1,defaultMode:x,showUsdSummary:b=!0,alwaysShowEmbeddedIdle:v=!1,idleBalancesLimit:C,showDisconnect:k=!1})=>{const I=p.useContext(u.SpiceFlowProviderContext),A=I?.mode!=="7702",E=!!I?.isWhitelistGateActive,D=!!I?.isWhitelistConfigured&&I?.isUserWhitelisted!==!0,R=p.useRef(!1);p.useEffect(()=>{if(!R.current){if(u.hasStoredSpiceFlowMode()){R.current=!0;return}x&&I?.setMode&&(I.setMode(x==="non7702"?"ondemand":"7702"),R.current=!0)}},[I,x]);const[B,W]=p.useState(!1),[O,M]=p.useState(null),[U,F]=p.useState({top:0,bottom:0,left:0,placement:"below"}),N=p.useRef(null),L=p.useRef(null),{address:q,isConnected:oe}=u.useWallet(),pe=I?.embeddedWalletAddress,ae=I?.externalWalletAddress,{embeddedAddress:Q}=u.useProviderWallets(),{brand:$,dark:X,primaryColor:ee,dk:Y}=u.useSpiceBrand(d,m),we=e??$?.appName??"Spice",be=A&&!ae,j=!A||v,K=j?pe||Q:q,Z=p.useMemo(()=>I?.supportedChainIds??S.getChainIdsByNetwork("mainnet"),[I?.supportedChainIds]),G=Xn({owner:j?K:ae,role:"holding",sourceChains:Z,additionalSourceTokens:o.filter(re=>!re.receiptTokenId&&(!re.owner||u.addressesEqual(re.owner,j?K:ae))).map(re=>({address:re.tokenAddress,chainId:re.chainId,decimals:re.tokenDecimals,symbol:re.tokenSymbol,logoURI:re.logoURI})),includeRollupAssets:j,enabled:j?!!K:!!ae}),ue=G.assets.filter(re=>re._source==="spice"),me=G.walletAssets,Se=G.loading,J=G.refresh,P=j?K:ae,_=p.useMemo(()=>o.filter(re=>!re.owner||re.owner.toLowerCase()===P?.toLowerCase()).map(re=>({...re,owner:re.owner??P,location:re.location??(re.receiptTokenId?"rollup":j?"embedded":"external")})),[o,P,j]),le=p.useMemo(()=>{const re=new Map(Object.entries(r).filter(([,de])=>Number.isFinite(de)&&de>0).map(([de,Ee])=>[de.toLowerCase(),Ee]));return me.map(de=>({owner:de.owner,location:de.location,positionId:xe(de),tokenAddress:de.address,tokenSymbol:de.symbol,tokenDecimals:de.decimals,chainId:de.chainId,chainDisplayName:u.getChainName(de.chainId),balance:de.balance.toString(),balanceFormatted:de.balanceFormatted,usdValue:de.balanceUsd||(re.get(`${de.chainId}:${de.address.toLowerCase()}`)??0)*de.balanceFormatted,logoURI:de.logoURI||a[de.symbol],directWithdraw:j}))},[me,_,a,r,j]),te=p.useMemo(()=>{const re=j?ue.map(ce=>{const We=ce.balanceUsd||0,je=Number.isFinite(ce.balanceFormatted)?ce.balanceFormatted:0,z=Vp(ce,r),$e=ce.priceStatus&&z>0?z*je:We>0?We:z*je;return{owner:ce.owner,location:ce.location,positionId:xe(ce),tokenAddress:ce.address,tokenSymbol:ce.symbol,tokenDisplaySymbol:u.getAssetDisplaySymbol(ce),tokenDisplayName:u.getAssetDisplayName(ce),tokenDecimals:ce.decimals,chainId:ce.chainId,chainDisplayName:u.getAssetDisplayChainName(ce),balance:ce.balance.toString(),balanceFormatted:ce.balanceFormatted,usdValue:$e,priceStatus:z>0?void 0:ce.priceStatus,logoURI:ce.logoURI,receiptTokenId:ce.receiptTokenId,receiptTokenName:ce.receiptTokenName}}):[],de=ce=>`${ce.owner?.toLowerCase()}:${ce.location}:${ce.chainId}:${ce.receiptTokenId??S.normalizeNativeTokenAddress(ce.tokenAddress).toLowerCase()}`,Ee=new Map([...G.rollupAssets,...me].map(ce=>[de({...ce,tokenAddress:ce.address}),ce])),Fe=new Map([...re,...le].map(ce=>[de(ce),ce]));for(const ce of be?[]:_){const We=de(ce),je=Fe.get(We);Fe.set(We,je?{...ce,...je,logoURI:ce.logoURI??je.logoURI,tokenDisplayName:ce.tokenDisplayName??je.tokenDisplayName,tokenDisplaySymbol:ce.tokenDisplaySymbol??je.tokenDisplaySymbol}:ce)}return[...Fe.values()].filter(ce=>BigInt(ce.balance)>0n&&Oa({isDiscovered:Ee.get(de(ce))?.isDiscovered,balanceUsd:ce.usdValue},!0)&&u.isAssetAllowed(Ee.get(de(ce))??{address:ce.tokenAddress,symbol:ce.tokenSymbol,displaySymbol:ce.tokenDisplaySymbol},I?.allowedTokens)).sort((ce,We)=>We.usdValue-ce.usdValue)},[j,be,ue,G.rollupAssets,r,le,_,I?.allowedTokens]),ne=p.useMemo(()=>te.reduce((re,de)=>re+de.usdValue,0),[te]),{pendingDeposits:Ie,refresh:ge}=ei({chainIds:Z,enabled:!!q,discoverWalletBalances:!0}),fe=p.useMemo(()=>s.reduce((re,de)=>re+(de.totalValue??0),0),[s]),Ce=ne+fe,st=p.useMemo(()=>{const re=[];ne>0&&re.push(`${u.formatUsd(ne)} idle`);for(const de of s){const Ee=l.find(Fe=>Fe.sectionTitle===de.title)?.label||de.title.toLowerCase();re.push(`${u.formatUsd(de.totalValue??0)} ${Ee}`)}return re.join(" \xB7 ")},[ne,s,l]),ve=p.useCallback(re=>{g?g(re):M(re)},[g]),ze=p.useCallback(()=>{M(null)},[]),Ze=p.useCallback(()=>{M(null),f?.()},[f]),He=p.useCallback(()=>{if(!N.current)return;const re=N.current.getBoundingClientRect(),de=window.innerHeight-re.bottom-Ln,Ee=re.top-Ln,Fe=de>=400||de>=Ee?"below":"above",ce=Math.max(Ln,Math.min(re.right-Or,window.innerWidth-Or-Ln)),We=Fe==="below"?re.bottom+Ln:re.top-Ln,je=Fe==="above"?window.innerHeight-We:0;F({top:We,bottom:je,left:ce,placement:Fe})},[]);p.useLayoutEffect(()=>{B&&He()},[B,He]),p.useEffect(()=>{if(!B)return;const re=Fe=>{N.current&&!N.current.contains(Fe.target)&&L.current&&!L.current.contains(Fe.target)&&W(!1)},de=Fe=>{Fe.key==="Escape"&&W(!1)},Ee=()=>He();return document.addEventListener("mousedown",re),document.addEventListener("keydown",de),window.addEventListener("scroll",Ee,{passive:!0}),window.addEventListener("resize",He),()=>{document.removeEventListener("mousedown",re),document.removeEventListener("keydown",de),window.removeEventListener("scroll",Ee),window.removeEventListener("resize",He)}},[B,He]);const et=j?pe||Q||q:ae||q,tt=p.useCallback(()=>{I?.setMode&&I.setMode(A?"7702":"ondemand")},[I,A]),[ot,gt]=p.useState(null);let Xe=null;try{Xe=ps.useConnectWallet({onSuccess:()=>gt(null),onError:re=>gt(u.sanitizeError(re,"Failed to connect wallet."))}).connectWallet}catch{Xe=null}const ct=p.useCallback(()=>{Xe&&(W(!1),gt(null),Xe({walletChainType:"ethereum-only"}))},[Xe]),Pe=!ae&&!!Xe,lt=p.useCallback(()=>{W(!1),h?.()},[h]),Me=p.useCallback(re=>{W(!1),w?.(re)},[w]),ht=p.useCallback(re=>{W(!1),ve(re)},[ve]),[Ct,Je]=p.useState(null),ft=j&&!!ae&&!u.addressesEqual(P,ae),Be=p.useCallback(re=>{const de=me.find(Ee=>Ee.chainId===re.chainId&&u.addressesEqual(Ee.address,re.tokenAddress));de&&(W(!1),Je(de))},[me]);if(typeof window>"u")return null;const dt=i.jsxs("button",{ref:N,onClick:()=>W(!B),style:{display:"inline-flex",alignItems:"center",gap:"6px",padding:"8px 14px",borderRadius:"9999px",backgroundColor:X?Y.hoverBg:"#ffffff",border:X?`1px solid ${Y.cardBorder}`:"1px solid #e5e7eb",cursor:"pointer",fontSize:"13px",fontWeight:500,fontFamily:u.font.ui,color:X?Y.textPrimary:"#111827",transition:"background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease",boxShadow:X?"none":"0 1px 2px rgba(0,0,0,0.05)"},children:[i.jsxs("span",{children:[we," Account"]}),oe&&b&&i.jsxs("span",{style:{color:X?Y.textSecondary:"#6b7280"},children:["\xB7 ",u.formatUsd(Ce)]}),i.jsx("span",{style:{fontSize:"10px",color:X?Y.textSecondary:"#9ca3af",transform:B?"rotate(180deg)":"rotate(0deg)",transition:"transform 200ms ease"},children:"\u25BE"})]}),De=B?Gn.createPortal(i.jsxs(i.Fragment,{children:[i.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(0, 0, 0, 0.08)",zIndex:u.z.popover},onClick:()=>W(!1)}),i.jsxs("div",{ref:L,style:{position:"fixed",top:U.placement==="below"?`${U.top}px`:"auto",bottom:U.placement==="above"?`${U.bottom}px`:"auto",left:`${U.left}px`,width:`${Or}px`,maxWidth:`calc(100vw - ${Ln*2}px)`,maxHeight:"80vh",backgroundColor:X?Y.shell:"#ffffff",border:X?`1px solid ${Y.cardBorder}`:"1px solid #e5e7eb",borderRadius:"12px",boxShadow:X?"0 10px 40px rgba(0, 0, 0, 0.5)":"0 10px 40px rgba(0, 0, 0, 0.12)",zIndex:u.z.popover+1,overflow:"hidden",animation:`accountDisplayFadeIn 200ms ${u.easing.out}`},children:[i.jsx(Lp,{appName:we,status:t,statusLabel:n,totalUsdValue:Ce,breakdownSubtitle:st,showUsdSummary:b,address:j?et:q,spiceAssets:te,spiceAssetsLoading:Se,pendingDeposits:Ie,customSections:s,notice:c,onDepositClick:h?lt:void 0,onWithdrawClick:w?Me:void 0,depositDisabled:D,onCompleteDeposit:ht,primaryColor:ee,buttonStyles:d?.button,dk:Y,dark:X,showModeToggle:y,isEmbeddedMode:!A,onModeToggle:tt,showConnectExternalCta:Pe,onConnectExternalWallet:ct,connectExternalError:ot,showHowItWorks:!E,canDirectWithdraw:ft,onDirectWithdraw:Be,idleBalancesLimit:C}),k&&oe&&i.jsx("div",{style:{padding:"0 16px 16px"},children:i.jsx(qp,{dark:X,onSuccess:()=>W(!1),onError:gt})})]}),i.jsx("style",{children:`
|
|
45
45
|
@keyframes accountDisplayFadeIn {
|
|
46
46
|
from { opacity: 0; transform: translateY(-4px); }
|
|
47
47
|
to { opacity: 1; transform: translateY(0); }
|
|
48
48
|
}
|
|
49
|
-
`})]}),document.body):null;return i.jsxs(i.Fragment,{children:[rt,Le,yt&&Gn.createPortal(i.jsx(jr,{isOpen:!0,onClose:()=>Xe(null),styles:d,walletAssets:{initialAsset:yt},onWithdrawSuccess:()=>{te(),K(),Xe(null)}}),document.body),O&&Gn.createPortal(i.jsx(Di,{isOpen:!0,onClose:Ge,supportedChains:[O.chainId],escrowOnly:!0,escrowTokenAddress:O.tokenAddress,escrowAmount:O.amount,escrowTokenDecimals:O.tokenDecimals,escrowTokenSymbol:O.tokenSymbol,styles:d,onDepositSuccess:De}),document.body)]})};function Qp({asset:e,showLogo:t=!0,showLabel:n=!0,denomination:s="token",className:o,style:r}){const a=u.useAssetDisplay()(e),l=s==="token"?u.formatAssetBalance(e):Number.isFinite(e.balanceUsd)&&(e.balanceUsd>0||e.balance===0n)?u.formatUsd(e.balanceUsd):"\u2014";return i.jsxs("span",{className:o,style:{display:"inline-flex",alignItems:"center",gap:6,...r},children:[t&&i.jsx(po,{symbol:e.symbol,label:a.symbol,logoURI:a.logoURI,chainId:e.chainId,address:e.address}),n&&i.jsx("span",{children:a.symbol}),i.jsx("span",{children:l})]})}var Gp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAASrdJREFUeAHtfQeYHMd15quemc0LLhjBiAEDCAYQiUkgRQDMBNNClBlkSwdYsqQ7fz7Jd2f7fLYOgD/rbMmyLZ19n0VZMmDLFCWaFMAcRBILRjAgMElgxIAUAZAEiMXmndB19arqVVXPzkzPzM7ODqj+ycX09FSnqvfqxXoNECFChAgRIkSIECFChAgRIkRoCDCYACxe3N01mGhL5gDmQg6mi4skxZW6GGNdnPMkNxdnXQC8a8xNMQaiXdHz0+9uu2L7EO65ws4tWvRy4L30zQOekucAlhKH4fZOz/dTHdCyradnbS8cBOhew7sSTYNJ8Py5HGLTRRckuY/jwbvEGCQlFWCXeNCF+6FCYDdTl9I2cyirUHe7x4SgVzQ1/cyZGA95HEsxD1Ken9uJ2yMjHdvWr2A1H4+aMQgyxUC84+uC+BaJx1gMNQYRP6EQoee3Gc+16BohLXs8L7Y+Fsvevemhn6aggYBM0dQy9HXRI2Y88omSHq9MQg2gEIEXYpRibSs5b/kQ4xHz1o/m2N3rb2lNQQ0wbmqau/jmZCzmrRREtTyfoHI5XzysDznfVw8t/sFtAhJiYHYHN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pWTBEhQoQIESJEiBAhQoQIESJEaED8f8CLHLNBkXU/AAAAAElFTkSuQmCC",Ml="data:image/svg+xml,%3csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4.51484 1.22476C5.04689 0.494255 5.87167 0 6.83333 0C7.79352 0 8.62302 0.493038 9.15721 1.22447C10.0512 1.08473 10.9879 1.32154 11.6665 2.00014C12.3456 2.67921 12.5823 3.61677 12.4419 4.51135C13.1714 5.04616 13.6667 5.87042 13.6667 6.83333C13.6667 7.79624 13.1714 8.62051 12.4419 9.15532C12.5823 10.0499 12.3456 10.9875 11.6665 11.6665C10.986 12.3471 10.049 12.5769 9.15858 12.4403C8.62445 13.1728 7.79434 13.6667 6.83333 13.6667C5.86959 13.6667 5.04474 13.1705 4.50996 12.44C3.619 12.5772 2.68116 12.3475 2.00014 11.6665C1.31939 10.9858 1.08903 10.0476 1.23037 9.15532C0.501138 8.62162 0 7.79824 0 6.83333C0 5.86843 0.501137 5.04504 1.23037 4.51135C1.08903 3.61904 1.31939 2.68089 2.00014 2.00014C2.67986 1.32042 3.61766 1.08457 4.51484 1.22476ZM9.20928 5.95387C9.51334 5.74624 9.59152 5.33144 9.38389 5.02737C9.17626 4.72331 8.76145 4.64514 8.45739 4.85277L8.3995 4.89229C7.48372 5.51764 6.69012 6.30153 6.05487 7.20477L5.30449 6.45518C5.044 6.19497 4.62189 6.1952 4.36168 6.45569C4.10147 6.71618 4.10169 7.13829 4.36218 7.3985L5.7 8.73489C5.84693 8.88167 6.05387 8.95158 6.25971 8.924C6.46555 8.89641 6.64677 8.77448 6.74987 8.5942C7.34322 7.55668 8.16436 6.6674 9.1514 5.9934L9.20928 5.95387Z' fill='%23EA4B4B'/%3e%3c/svg%3e",Kp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAaYAAACLCAYAAAAqND1fAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACx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51DvlkhMKOOy8+nxoPg/241w0KAvR9DUuzKPp6h2nEzTWNfBEGHSIDs5WifuPG+rA7Gs5/nHTrCNTcgdErxZRdlCFGvl65zhFTcrlnUNXJFNxRDZFF8t8hWwTpIPYF5wVBIksZwHttlRHVGYRq6rIrIrdEcI2N5D74eXR+LYzfwJHjHOnbMv931IawI76eJ+6o9vAczj7bJrAQIU+hUcf5Azf69aIcP4eV5+dOj9fCHdKcjNdft49sEpvoP+9edVXUB1FkmLoD2/JrDseU60n1Yg0ZFHoxHi2ZywrixOSMdVCRuvrssArOhQREMJNB73auUbW6yH6MEoEQlMjfyMKi4deW5ZDmNa959aLOjGonpYynLgrKechQ60uGj/9Vh6kfpi5Cx6ohvNow145S51SzroQDC5qpqZ3yzDWJoK7/KEPTOR3NupEjVZYko1JTRuvjyLnW6b7ugxx8RKzf5l7IaNXHk2GrmYFygPWXYE3VgvT8anhK90DPTcere7L0NzlhnZ/+Xkf6+tJz0b2on2t9jfU163f1/ajXTw091r9TlqrPPbqGpE2ie6Jj1kGLPvvodavASe+ro+Pauelc9JlaG/U9qe9F/XtF1Vpn+nt9bfV16dzqAFHnWL9Orzn687RG6+tWMDOo4JU6+FLkrHP5/3uuR68bnUO9J+o6rdaJrkFfdc0vCuAJASsY1XF1PGWUuj7ttaP7C+tzP/p+10GTnIj+Vl9vvXbq56m1VCvQ6DoUqCo4k62o13n9PLTOhEzV61n7hq/6+nQMQdVHr4HaVtb2ow6M6ntb7+G6Tq+1ouurUZp6Pehz9Nr6NbJtPWzfLPv46nPQseq6fo1u/X+gRuOHSwDbkgAAAABJRU5ErkJggg==";const Zp=({size:e=20,active:t=!1,dark:n=!1})=>i.jsxs("svg",{width:e,height:e,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[i.jsx("rect",{x:"2",y:"4",width:"16",height:"2",rx:"1",fill:t?n?"#e5e7eb":"#111827":n?"#9ca3af":"#374151"}),i.jsx("rect",{x:"4",y:"9",width:"12",height:"2",rx:"1",fill:t?n?"#e5e7eb":"#111827":"#9ca3af"}),i.jsx("rect",{x:"6",y:"14",width:"8",height:"2",rx:"1",fill:t?n?"#e5e7eb":"#111827":"#9ca3af"})]}),Ul=({checked:e,primaryColor:t="#ef4444",dark:n=!1})=>i.jsx("div",{style:{width:"18px",height:"18px",borderRadius:"4px",border:e?"none":`2px solid ${n?"#4b5563":"#d1d5db"}`,backgroundColor:e?t:"transparent",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,transition:u.transition.interactive},children:e&&i.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:i.jsx("path",{d:"M2.5 6L5 8.5L9.5 3.5",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),Yp=({isOpen:e,onClose:t,closeOnBackdropClick:n=!1,onTokenSelect:s,walletAddress:o,supportedChainIds:r,network:a,prefetchedAssets:l,styles:c,dark:d})=>{const[m,f]=p.useState(""),[h,w]=p.useState(null),[g,y]=p.useState(null),[x,b]=p.useState(!1),[v,C]=p.useState(new Set),k=p.useContext(u.SpiceFlowProviderContext),A=a||k?.network||"testnet",I=k?.allowedTokens,E=(k?.mode||"7702")!=="7702",N=!!k?.isWhitelistGateActive,{dark:R,primaryColor:B,dk:U}=u.useSpiceBrand(c,d),O=R?U.cardBg:"white",W=R?`${B}55`:"#F4A5A5",D=R?"0 4px 12px rgba(0, 0, 0, 0.4)":"0 4px 12px rgba(0, 0, 0, 0.15)",F=R?U.hoverBg:"#E9E9E9",P=R?U.hoverBg:"#f9fafb",q=R?U.textPrimary:"#374151",L=R?U.textPrimary:"#111827",ne=R?U.textSecondary:"#9ca3af",pe=R?`${B}22`:"#FBDBDB",ce=R?`${B}55`:"#F4A5A5",X=p.useMemo(()=>r||k?.supportedChainIds||S.getChainIdsByNetwork(A),[r,k?.supportedChainIds,A]),z=p.useMemo(()=>X.map(K=>{const M=u.getChainConfig(K);return M?{id:K,name:M.displayName,icon:Fn[K]||ys}:null}).filter(Boolean),[X]),V=l===void 0,{assets:fe,loading:Y}=Cs({address:V?o:void 0,supportedChains:X,fetchBalances:Yn,enabled:e&&V&&!!o,refreshInterval:e?5e3:0}),Ce=l??(V?fe:[]),be=l===null||V&&Y,j=p.useMemo(()=>(Ce??[]).filter(K=>En(K,"deposit-source",{allowedTokens:I,rpcOverrides:k?.rpcOverrides,liquidityVenues:k?.liquidityVenues,isWhitelistGateActive:N},void 0,void 0,{requiresEscrow:E}).eligible),[Ce,I,k?.rpcOverrides,N,E]),Z=p.useMemo(()=>{let K=j.filter(M=>M.balance>0n);if(v.size>0&&(K=K.filter(M=>v.has(M.chainId))),m.trim()){const M=m.toLowerCase();K=K.filter(J=>J.name.toLowerCase().includes(M)||J.symbol.toLowerCase().includes(M)||J.address.toLowerCase().includes(M))}return K=[...new Map(K.map(M=>[ye(M),M])).values()],K.sort((M,J)=>{const ae=M.balanceFormatted>0?1:0,oe=J.balanceFormatted>0?1:0;return oe!==ae?oe-ae:J.balanceUsd!==M.balanceUsd?J.balanceUsd-M.balanceUsd:J.balanceFormatted-M.balanceFormatted}),K},[j,m,v]),$=ye;p.useEffect(()=>{const K=document.createElement("link");return K.href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@100;200;300;400;500;600;700&display=swap",K.rel="stylesheet",document.head.appendChild(K),()=>{document.head.removeChild(K)}},[]),p.useEffect(()=>{e||(f(""),w(null),b(!1),C(new Set))},[e]);const H=K=>{s(K)},me=K=>{C(M=>{const J=new Set(M);return J.has(K)?J.delete(K):J.add(K),J})},ge=()=>{C(new Set)},je=v.size===0;return i.jsxs(pn,{isOpen:e,onClose:t,title:"Select a Token",bannerSrc:Kp,bannerAlt:"Select token banner",styles:c,dark:R,closeOnBackdropClick:n,children:[i.jsx("div",{style:{padding:"20px 20px"},children:i.jsx(ur,{value:m,onChange:f,ariaLabel:"Search tokens",placeholder:"Search token name, symbol or address",dark:R,styles:c,endAdornment:i.jsxs("div",{style:{position:"relative",flexShrink:0},children:[i.jsx("button",{onClick:()=>b(K=>!K),style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"5px",borderRadius:"3px",backgroundColor:x||!je?F:"transparent",border:"none",cursor:"pointer",transition:"background-color 0.15s"},children:i.jsx(Zp,{size:20,active:!je,dark:R})}),x&&i.jsxs("div",{style:{position:"absolute",top:"calc(100% + 8px)",right:0,backgroundColor:O,borderRadius:"8px",border:`1px solid ${W}`,boxShadow:D,padding:"8px",minWidth:"220px",zIndex:100},children:[i.jsxs("button",{onClick:ge,style:{width:"100%",display:"flex",alignItems:"center",gap:"10px",padding:"8px",borderRadius:"6px",backgroundColor:"transparent",border:"none",cursor:"pointer",transition:"background-color 0.15s"},onMouseEnter:K=>K.currentTarget.style.backgroundColor=P,onMouseLeave:K=>K.currentTarget.style.backgroundColor="transparent",children:[i.jsx(Ul,{checked:je,primaryColor:B,dark:R}),i.jsx("img",{src:Gp,alt:"All Networks",loading:"lazy",decoding:"async",width:20,height:20,style:{width:"20px",height:"20px",borderRadius:"4px",objectFit:"cover"}}),i.jsx("span",{style:{fontFamily:u.font.mono,fontSize:"12px",fontWeight:600,letterSpacing:"0.5px",color:q},children:"ALL NETWORKS"})]}),z.map(K=>i.jsxs("button",{onClick:()=>me(K.id),style:{width:"100%",display:"flex",alignItems:"center",gap:"10px",padding:"8px",borderRadius:"6px",backgroundColor:"transparent",border:"none",cursor:"pointer",transition:"background-color 0.15s"},onMouseEnter:M=>M.currentTarget.style.backgroundColor=P,onMouseLeave:M=>M.currentTarget.style.backgroundColor="transparent",children:[i.jsx(Ul,{checked:v.has(K.id),primaryColor:B,dark:R}),i.jsx("img",{src:K.icon,alt:K.name,loading:"lazy",decoding:"async",width:20,height:20,style:{width:"20px",height:"20px",borderRadius:"50%"}}),i.jsx("span",{style:{fontFamily:u.font.mono,fontSize:"12px",fontWeight:600,letterSpacing:"0.5px",color:q},children:K.name.toUpperCase()})]},K.id))]})]})})}),i.jsxs("div",{style:{padding:"0 32px 20px",display:"flex",flexDirection:"column",gap:"8px",maxHeight:"400px",overflowY:"auto"},children:[be&&i.jsx("div",{style:{padding:"24px 8px",textAlign:"center",fontFamily:u.font.mono,fontSize:"13px",color:ne},children:"Loading balances..."}),!be&&Z.length===0&&i.jsx("div",{style:{padding:"24px 8px",textAlign:"center",fontFamily:u.font.mono,fontSize:"13px",color:ne},children:"No tokens found"}),Z.map(K=>{const M=$(K),J=h===M,ae=g===M,oe=u.getChainConfig(K.chainId)?.displayName||`Chain ${K.chainId}`;return i.jsxs("button",{onClick:()=>H(K),onMouseEnter:()=>y(M),onMouseLeave:()=>y(null),style:{width:"100%",display:"flex",alignItems:"center",gap:"16px",padding:"8px",borderRadius:"8px",backgroundColor:J?pe:"transparent",border:J||ae?`1px solid ${ce}`:"1px solid transparent",cursor:"pointer",transition:u.transition.interactive},children:[i.jsx("div",{style:{flexShrink:0},children:i.jsx(po,{symbol:K.symbol,logoURI:K.logoURI,chainId:K.chainId,address:K.address,size:40})}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:"2px",flex:1,minWidth:0},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[i.jsx("span",{style:{fontFamily:u.font.mono,fontSize:"15px",fontWeight:500,letterSpacing:"0.4px",color:L,textAlign:"left"},children:K.name}),i.jsx("img",{src:Ml,alt:"","aria-hidden":"true",loading:"lazy",decoding:"async",width:14,height:14,style:{width:"14px",height:"14px"}})]}),i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"4px"},children:[Fn[K.chainId]&&i.jsx("img",{src:Fn[K.chainId],alt:"",loading:"lazy",decoding:"async",width:14,height:14,style:{width:"14px",height:"14px",borderRadius:"50%"}}),i.jsxs("span",{style:{fontFamily:u.font.mono,fontSize:"12px",fontWeight:400,color:ne,textAlign:"left"},children:[K.symbol," \xB7 ",oe]})]})]}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-end",gap:"2px",flexShrink:0},children:[K.balanceUsd>0&&i.jsx("span",{style:{fontFamily:u.font.mono,fontSize:"16px",fontWeight:600,color:L},children:u.formatUsd(K.balanceUsd)}),i.jsxs("span",{style:{fontFamily:u.font.mono,fontSize:"12px",fontWeight:400,color:ne},children:[u.formatBalance(K.balanceFormatted)," ",K.symbol]})]})]},M)})]})]})};var Xp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAEICAMAAACQzmAoAAAAzFBMVEWgoJ/d1tbcxsbcycndzc3a2trd0NDe3t7c29vc3Nzd09Pcw8Pd2dncv7/bubnctLTg4ODbr6+BkfGSgdnm5ubcvLzr6+vy8fDcqanZ1tbbpKTf3NtILRbZzc3bnZ3UxsbT09PRvb0FUfLPzs7TtLQKCQcHUu8YFxXQqanJs7PIxsbTlpbAvb28rK2qqKjGnp5zPxrogB83NTTXch/EjYxUU1GRj46Sn+ujmNaBfnwWXPDM0O6xtuRramhbQi23XxzdUlJ6XExXhOY2buq+my/AAAAAAXRSTlP9g+pWxwAAAAlwSFlzAAALEwAACxMBAJqcGAAAIABJREFUeNrsvWtz20iyLWo+ilXgS9AMqRaEgFtj2W1vH9s7whH2HPeMv3T///90q3KtzMoCKbfnnBs34kZsWiJBEHzJtZCvlStfvPify/9c/ufyP5frl0929X/43P+5/P/ub/OffrZPjz95eeJvvgzl96nu/k8uT8/escvw7HOGp78++Kfe+D+5DM++2pPdeWoekj9V/QPVwx6fnuzOkzzAv2relkfLbl4eceV2cnPiXbmd8uXp10nv523ZKHvkptz++qtcTeUfr9xlutye2h3Tj479/+4yPfu20w+fcflF3NfE5hMexh+p/A3LrvznK2D61Pcxlp8ulttyL0Zsl5/Y9djdxYT9ETu7shdPyXt7uZOP6vAsObKTf/nxvucBZUevr5DvpL68TNeX18PzcUzX49V7/SR5V97Z69OxF9s93ibf5aMdvxDfs+yVD8qje3zhfBXwPH1BfB3sSfyi/JJ2pxzY8V3lU419N8YxH57GET/5TkqxH8uuGPd5x1geHPd5cz/25ar8yP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PT9FArU83E2llXysDgFFKXo6sh/qMj1ulT1ulQIoWKN0Yin0LTuh+MfIOTnTeuDBsafuxt+LH9nevnKadS7YG4YefJ4oOfR3xG584hSuIDofIkctFklttdBJVCkWQmqSc3vRj3hwEkH93G7azPib3z2L+ZPmW3O/uC/luctSrT157dKc8/x9/om5y7+PRdeudukyYEu0TI2GW/9r90wJ+oWyefu58eSQjmp+qtFHCdGQKsYaF43Kom98ZVa/8bzD5QeBysZbWLV1r+2O+yOfo3w5BdRjnR993sEU/X0G7giiFGD9gIL7YdaShwhy54AltrSg8RqItvth3shLfriqK+G7Id1wUfMhCDOl+U3W0HSUu9g9JCZdHdkla1vu1oi3O7K3lGutdub/kv4DywtdWPjc47nBUq+O99JBB4lpHnlpc96wk/Wy2eCvO993hjGqJJIcYhft4f9GWHFFtgUbi/xZmN3wcjZ/Xnj7frv3h0f/HzTFSOAPn3+Pf49/j3+Pf49/hfjv8Po2R9gfj4veEAAAAASUVORK5CYII=";const Or=e=>{const t=(e.id||"").toLowerCase(),n=(e.name||"").toLowerCase();return t.startsWith("io.privy.wallet")||n.includes("privy wallet")};async function Nr(e,t){let n;try{return await Promise.race([e,new Promise((s,o)=>{n=setTimeout(()=>{const r=new Error("Wallet network read timed out. Please try again.");r.name="WalletReadTimeout",o(r)},Math.max(0,t-Date.now()))})])}finally{n!==void 0&&clearTimeout(n)}}const Jp=({dark:e,dk:t,primaryColor:n,disabled:s,hidden:o,onConnecting:r,onError:a})=>{const[l,c]=p.useState(!1),d=yn.useAccount(),{embeddedAddress:m}=u.useProviderWallets(),f=p.useRef({account:d,embeddedAddress:m});f.current={account:d,embeddedAddress:m};const{ready:h,authenticated:w,user:g}=ps.usePrivy(),y={ready:h,authenticated:w,userId:g?.id},x=p.useRef(y);x.current=y;const b=p.useRef(0),v=()=>{const I=x.current;return I.ready===y.ready&&I.authenticated===y.authenticated&&I.userId===y.userId};p.useLayoutEffect(()=>(b.current++,c(!1),r(!1),()=>{b.current++}),[h,w,g?.id,r]);const{disconnectAsync:C}=yn.useDisconnect(),{setActiveWallet:k}=ps.useActiveWallet(),{connectWallet:A}=ps.useConnectWallet({onSuccess:async({wallet:I})=>{if(!h||!v())return;const E=++b.current,N=()=>E===b.current&&v();c(!0),r(!0);try{if(I.type!=="ethereum"||I.connectorType==="embedded")throw new Error("Choose an external Ethereum wallet.");k(I);const R=f.current.account;R.address&&R.connector&&!Or(R.connector)&&!u.addressesEqual(R.address,f.current.embeddedAddress)&&!u.addressesEqual(R.address,I.address)&&await C({connector:R.connector})}catch(R){N()&&a(u.sanitizeError(R,"Failed to connect wallet."))}finally{N()&&(c(!1),r(!1))}},onError:I=>{v()&&(b.current++,c(!1),r(!1),a(u.sanitizeError(I,"Failed to connect wallet.")))}});return o?null:i.jsxs("button",{onClick:()=>{s||l||(b.current++,c(!0),r(!0),A({walletChainType:"ethereum-only"}))},disabled:s||l,style:{width:"100%",display:"flex",alignItems:"center",gap:"14px",padding:"10px",borderRadius:"8px",backgroundColor:l?e?t.hoverBg:"#f3f4f6":"transparent",border:`2px solid ${e?`${n}33`:`${n}55`}`,cursor:s||l?"not-allowed":"pointer",opacity:s?.6:1,transition:u.transition.interactive},children:[i.jsx("div",{style:{width:"40px",height:"40px",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:e?t.cardBg:"#f3f4f6"},children:i.jsx("img",{src:ws.metamask,alt:"Browser wallet",style:{width:"26px",height:"26px",objectFit:"contain"}})}),i.jsx("span",{className:"ibm-plex-mono",style:{fontSize:"17px",fontWeight:500,letterSpacing:"0.4px",color:t.textPrimary,flex:1,textAlign:"left",fontFamily:u.font.mono},children:l?"Opening wallet picker...":"MetaMask / Browser Wallet"})]})},$p=({isOpen:e,onClose:t,closeOnBackdropClick:n=!1,onWalletSelect:s,onContinue:o,requiredChainId:r,styles:a})=>{const{dark:l,primaryColor:c,dk:d,theme:m}=u.useSpiceBrand(a),f=p.useContext(u.SpiceFlowProviderContext),[h,w]=p.useState(null),[g,y]=p.useState(!1),[x,b]=p.useState(null),[v,C]=p.useState(!1),[k,A]=p.useState(null),[I,E]=p.useState(!1);p.useEffect(()=>{e||(b(null),C(!1),y(!1),A(null))},[e]);const{address:N,chain:R,connector:B,isConnected:U}=yn.useAccount(),{externalWallet:O,externalAddress:W}=u.useProviderWallets(),D=!!O&&!!W,F=O?.wallet.connector||O?.wallet.meta,P=Number(String(O?.wallet.chainId??"").replace(/^eip155:/,"")),q=O?.wallet.connector===B&&U&&u.addressesEqual(W,N)?R:u.getChainConfig(P)?.viemChain,{connectors:L,connectAsync:ne}=yn.useConnect(),{disconnectAsync:pe}=yn.useDisconnect(),ce=S.getChainIdsByNetwork(f?.network||"testnet"),X=p.useRef(O);X.current=O;const z=p.useRef(0),V=O?.wallet.connector||O?.wallet;p.useEffect(()=>(z.current++,y(!1),b(null),()=>{z.current++}),[W,V,e]);const fe=(r?u.getChainConfig(r):null)?.displayName||q?.name||`Chain ${q?.id||r}`,Y=M=>M.type==="announced"||typeof M.ready=="boolean"&&M.ready?!0:M.type==="injected"?typeof window<"u"&&!!window.ethereum:!0,Ce=L.filter(M=>{const J=M.name.toLowerCase(),ae=(M.id||"").toLowerCase();return f?.provider==="privy"&&Or(M)||["safe"].includes(M.type)?!1:M.type==="walletConnect"?!!M?.options?.projectId:M.type==="announced"?!0:M.type==="injected"||["metamask","rabby","phantom","coinbase","trust","rainbow"].some(oe=>J.includes(oe)||ae.includes(oe))?Y(M):!1}),be=async M=>{if(!(v||g))try{if(C(!0),A(M.uid),b(null),await ne({connector:M}),await un(500),X.current?.wallet.connector!==M)throw new Error("Wallet changed. Please try again.");s&&s(M.id),r&&await $(r),await un(800)}catch(J){console.error("Connection error:",J),u.isUserRejection(J)?b("Connection rejected. Please try again."):b(u.sanitizeError(J,"Failed to connect wallet."))}finally{C(!1),A(null)}},j=M=>{if(M.icon)return M.icon;const J=(M.name||"").toLowerCase();for(const[ae,oe]of Object.entries(ws))if(J.includes(ae.toLowerCase()))return oe;if(!Or(M)&&(M.type==="injected"||M.type==="announced")&&typeof window<"u"&&window.ethereum){const ae=window.ethereum;if(ae.isMetaMask)return ws.metamask;if(ae.isRabby)return ws.rabby;if(ae.isPhantom)return ws.phantom}return null},Z=async(M,J,ae)=>{const oe=J.wallet.connector||J.wallet,ee=Date.now()+2e3;for(;Date.now()<ee;){if(await un(Math.min(100,ee-Date.now())),ae!==z.current||!u.addressesEqual(X.current?.address,J.address)||(X.current?.wallet.connector||X.current?.wallet)!==oe)return!1;try{const Ae=await Nr((async()=>{const te=await J.getEthereumProvider();return parseInt(await te.request({method:"eth_chainId"}),16)})(),ee);if(ae!==z.current||!u.addressesEqual(X.current?.address,J.address)||(X.current?.wallet.connector||X.current?.wallet)!==oe)return!1;if(Ae===M)return!0}catch{}}return!1},$=async M=>{const J=++z.current,ae=X.current,oe=ae?.wallet.connector||ae?.wallet,ee=()=>J===z.current&&u.addressesEqual(X.current?.address,ae?.address)&&(X.current?.wallet.connector||X.current?.wallet)===oe;y(!0),b(null);try{if(!ae)throw new Error("Wallet not available");const Ae=Date.now()+2e3,te=await Nr(ae.getEthereumProvider(),Ae);let Re;const We=()=>{if(!ee())throw new Error("Wallet changed. Please try again.");if(Re)throw Re};We(),await ki({request:async ot=>{if(ot.method!=="eth_chainId")return te.request(ot);try{return await Nr(te.request(ot),Ae)}catch(ve){throw ve instanceof Error&&ve.name==="WalletReadTimeout"&&(Re=ve),ve}}},M,We),!await Z(M,ae,J)&&ee()&&b("Unable to switch to the correct network. Please switch manually in your wallet to continue.")}catch(Ae){ee()&&(console.error("Manual chain switch error:",Ae),b(u.describeChainSwitchError(Ae)))}finally{ee()&&y(!1)}},H=async M=>{g||(E(!1),await $(M))},me=async()=>{if(!g){if(!r){E(M=>!M);return}await $(r)}},ge=async()=>{try{const M=O?.wallet;M&&typeof M.disconnect=="function"&&M.disconnect(),B&&u.addressesEqual(W,N)&&await pe({connector:B})}finally{b(null),C(!1),y(!1),A(null),E(!1)}},je=D&&!g&&!v&&(!r||q?.id===r),K=D&&!g&&!v&&r&&q?.id!==r;return i.jsxs(pn,{isOpen:e,onClose:t,title:"Connect Wallet",styles:a,dark:l,bannerSrc:Xp,bannerAlt:"Connect wallet banner",closeOnBackdropClick:n,children:[i.jsxs("div",{style:{padding:"0 24px 20px",display:"flex",flexDirection:"column",gap:"12px",marginTop:"20px"},children:[x&&i.jsx(vi,{dk:d,dark:l,message:x,buttonLabel:g?"Switching...":"Try Switch Again",onAction:me,disabled:g}),g&&i.jsxs("div",{style:{padding:"12px",backgroundColor:l?d.infoBg:"#dbeafe",borderRadius:"8px",display:"flex",alignItems:"center",gap:"10px",marginTop:"20px"},children:[i.jsx(u.Spinner,{size:20,color:l?d.infoText:"#3b82f6"}),i.jsx("p",{style:{margin:0,color:l?d.infoText:"#1e40af",fontSize:"14px"},children:"Switching network..."})]}),f?.provider==="privy"&&i.jsx(Jp,{dark:l,dk:d,primaryColor:c,disabled:v||g,hidden:D,onConnecting:C,onError:b}),D&&W?i.jsxs("div",{style:{border:`1px solid ${l?d.successBorder:"#02974F"}`,borderRadius:"8px",overflow:"hidden",marginTop:"20px"},children:[i.jsxs("div",{style:{backgroundColor:l?d.successBg:"#00FFA81C",padding:"14px 18px",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.jsx("div",{style:{width:"22px",height:"22px",borderRadius:"50%",backgroundColor:"#02974F",display:"flex",alignItems:"center",justifyContent:"center",color:"white",fontSize:"14px",fontWeight:"bold"},children:"\u2713"}),i.jsx("span",{className:"ibm-plex-mono",style:{color:l?d.successText:"#02974F",fontWeight:600,fontSize:"14px",letterSpacing:"0.5px"},children:"WALLET CONNECTED"})]}),i.jsx("div",{style:{width:"38px",height:"38px",borderRadius:"50%",backgroundColor:l?d.cardBg:"#f3f4f6",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},children:F&&j(F)?i.jsx("img",{src:j(F),alt:F.name,style:{width:"24px",height:"24px",objectFit:"contain"}}):i.jsx("span",{style:{fontSize:"16px",fontWeight:"bold",color:l?d.textPrimary:"inherit"},children:F?.name?.charAt(0)||"W"})})]}),i.jsxs("div",{style:{padding:"18px",backgroundColor:l?d.cardBg:"white"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"14px"},children:[i.jsx("span",{className:"ibm-plex-mono",style:{color:l?d.textSecondary:"#939291",fontSize:"13px",fontWeight:500,letterSpacing:"0.3px"},children:"ADDRESS:"}),i.jsx("span",{className:"ibm-plex-mono",style:{color:l?d.textPrimary:"black",fontSize:"14px",fontWeight:600,fontFamily:u.font.mono,letterSpacing:"0.3px"},children:u.truncateAddress(W)})]}),I&&i.jsx("div",{style:{marginBottom:"12px",border:`1px solid ${l?d.inputBorder:"#E5E7EB"}`,borderRadius:"8px",overflow:"hidden",backgroundColor:d.cardBg},children:ce.map(M=>{const J=u.getChainConfig(M);if(!J)return null;const ae=q?.id===M;return i.jsxs("button",{onClick:()=>{ae?E(!1):H(M)},style:{width:"100%",display:"flex",alignItems:"center",gap:"8px",padding:"10px 12px",backgroundColor:ae?l?`${c}15`:`${c}10`:"transparent",border:"none",borderBottom:`1px solid ${l?d.inputBorder:"#E5E7EB"}`,cursor:ae?"default":"pointer",transition:"background-color 0.15s"},onMouseEnter:oe=>{ae||(oe.currentTarget.style.backgroundColor=l?"rgba(255,255,255,0.05)":"rgba(0,0,0,0.03)")},onMouseLeave:oe=>{oe.currentTarget.style.backgroundColor=ae?l?`${c}15`:`${c}10`:"transparent"},children:[i.jsx("img",{src:Fn[M]||ys,alt:J.displayName,style:{width:"20px",height:"20px",borderRadius:"50%",objectFit:"contain"}}),i.jsx("span",{style:{fontSize:"13px",fontWeight:ae?600:400,color:l?d.textPrimary:"#1f2937",fontFamily:u.font.mono},children:J.displayName}),ae&&i.jsx("span",{style:{marginLeft:"auto",fontSize:"11px",color:c,fontWeight:500},children:"Connected"})]},M)})}),i.jsxs("button",{className:"ibm-plex-mono",onClick:ge,style:{width:"100%",padding:"10px",backgroundColor:"transparent",border:`1px solid ${l?d.inputBorder:"#E5E7EB"}`,borderRadius:"6px",cursor:"pointer",fontSize:"13px",fontWeight:500,color:l?d.textSecondary:"#9CA3AF",display:"flex",alignItems:"center",justifyContent:"center",gap:"6px"},children:[i.jsx("span",{style:{fontSize:"16px"},children:"\u27F2"}),"DISCONNECT"]})]})]}):i.jsx(i.Fragment,{children:Ce.map(M=>{const J=Y(M),ae=k===M.uid,oe=!J||v||ae;return i.jsxs("button",{onClick:()=>{oe||be(M)},onMouseEnter:()=>!oe&&w(M.uid),onMouseLeave:()=>w(null),disabled:oe,style:{width:"100%",display:"flex",alignItems:"center",gap:"14px",padding:"10px",borderRadius:"8px",backgroundColor:ae?l?d.hoverBg:"#f3f4f6":"transparent",border:h===M.uid&&!oe?`2px solid ${l?`${c}44`:`${c}66`}`:"2px solid transparent",cursor:oe?"not-allowed":"pointer",opacity:oe?.6:1,transition:u.transition.interactive},children:[i.jsx("div",{style:{width:"40px",height:"40px",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:l?d.cardBg:"#f3f4f6"},children:j(M)?i.jsx("img",{src:j(M),alt:M.name,style:{width:"26px",height:"26px",objectFit:"contain"}}):i.jsx("span",{style:{fontSize:"16px",fontWeight:"bold",color:l?d.textPrimary:"inherit"},children:M.name.charAt(0)})}),i.jsxs("span",{className:"ibm-plex-mono",style:{fontSize:"17px",fontWeight:500,letterSpacing:"0.4px",color:oe?l?d.inputPlaceholder:"#9ca3af":l?d.textPrimary:"#111827",flex:1,textAlign:"left",fontFamily:u.font.mono},children:[ae?"Connecting...":M.name,!J&&!ae&&i.jsx("span",{style:{fontSize:"12px",marginLeft:"8px"},children:"(Not detected)"})]})]},M.uid)})})]}),K&&!x&&i.jsx("div",{style:{padding:"0 24px 20px"},children:i.jsx(vi,{dk:d,dark:l,message:`Please switch to ${fe} to continue.`,buttonLabel:g?"Switching...":"Switch Network",onAction:me,disabled:g})}),i.jsx("div",{style:{padding:"0 24px 25px"},children:i.jsx(u.Button,{variant:"outline",fullWidth:!0,onClick:async()=>{je&&(await un(300),o?await o():t())},disabled:!je,theme:m,dark:l,styles:a,children:v?"CONNECTING...":g?"SWITCHING NETWORK...":"CONTINUE"})})]})},_p=({isOpen:e,onClose:t,closeOnBackdropClick:n=!1,deposits:s,onComplete:o,onCancel:r,onSkip:a,onChangeWallet:l,isProcessing:c,error:d,styles:m})=>{const{dark:f,dk:h,theme:w}=u.useSpiceBrand(m);if(!e||s.length===0)return null;const g=s[0],y=m?.fontFamily||u.font.ui,x=u.font.mono,b=u.getChainName(g.chainId),v=parseFloat(g.amount).toPrecision(6).replace(/\.?0+$/,""),C=T.formatUnits(g.verifiedBalance,g.tokenDecimals);return i.jsx(pn,{isOpen:e,onClose:t,title:"Incomplete Deposit",styles:m,closeOnBackdropClick:n,children:i.jsxs("div",{style:{padding:"18px 24px 24px",fontFamily:y},children:[i.jsx("p",{style:{fontSize:"14px",color:h.textSecondary,lineHeight:"1.6",margin:"0 0 18px 0"},children:"Your funds reached your wallet, but the deposit didn't finish."}),i.jsxs("div",{style:{display:"grid",gridTemplateColumns:"minmax(0, 1fr) auto",gap:"14px 18px",marginBottom:"24px",padding:"16px 18px",backgroundColor:f?h.cardBg:"#f8fafc",border:`1px solid ${h.cardBorder}`,borderRadius:f?"14px":"10px",boxShadow:f?"inset 0 1px 0 rgba(255,255,255,0.03)":"0 1px 2px rgba(16,24,40,0.04)"},children:[i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[i.jsx("span",{style:{fontSize:"12px",fontWeight:600,color:h.textSecondary,fontFamily:x,letterSpacing:"0.8px"},children:"NETWORK"}),i.jsx("span",{style:{fontSize:"18px",fontWeight:600,color:h.textPrimary,fontFamily:y,lineHeight:1.2},children:b})]}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"4px",alignItems:"flex-end",textAlign:"right"},children:[i.jsx("span",{style:{fontSize:"12px",fontWeight:600,color:h.textSecondary,fontFamily:x,letterSpacing:"0.8px"},children:"DEPOSITED AMOUNT"}),i.jsxs("span",{style:{fontSize:"24px",fontWeight:700,color:h.successText,fontFamily:x,lineHeight:1.1},children:[v," ",g.tokenSymbol]}),i.jsx("span",{style:{fontSize:"12px",color:h.textSecondary,fontWeight:500,fontFamily:y},children:"Sent to embedded wallet"})]})]}),!g.hasFullBalance&&g.verifiedBalance>0n&&i.jsxs("div",{style:{marginBottom:"16px",padding:"8px 12px",backgroundColor:h.warningBg,border:`1px solid ${f?h.warningBorder:"#fcd34d"}`,borderRadius:"8px",fontSize:"13px",color:h.warningText,lineHeight:"1.4"},children:["Partial balance \u2014 only ",parseFloat(C).toFixed(4)," ",g.tokenSymbol," available."]}),d&&i.jsx("div",{style:{marginBottom:"16px",padding:"10px 12px",backgroundColor:h.errorBg,border:`1px solid ${f?h.errorBorder:"#fca5a5"}`,borderRadius:"8px",fontSize:"13px",color:f?h.errorText:"#991b1b",lineHeight:"1.4"},children:d}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"12px"},children:[i.jsx(u.Button,{variant:"outline",fullWidth:!0,disabled:c,onClick:()=>o(g),theme:w,dark:f,styles:m,children:"CONFIRM DEPOSIT"}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"10px"},children:[i.jsx(u.Button,{variant:"ghost",fullWidth:!0,disabled:c,onClick:()=>r(g),theme:w,dark:f,style:{height:"48px",fontSize:"13px",letterSpacing:"0.4px",color:f?h.textPrimary:"#374151",border:`1px solid ${f?h.cardBorder:"#d1d5db"}`,borderRadius:"12px",backgroundColor:f?"rgba(255,255,255,0.02)":"#ffffff"},children:c?"RETURNING...":"RETURN FUNDS"}),i.jsxs("div",{style:{display:"grid",gridTemplateColumns:l?"1fr 1fr":"1fr",gap:"10px"},children:[i.jsx(u.Button,{variant:"ghost",fullWidth:!0,disabled:c,onClick:a,theme:w,dark:f,style:{height:"44px",fontSize:"12px",letterSpacing:"0.4px",color:h.textSecondary,border:`1px solid ${f?h.cardBorder:"#d1d5db"}`,borderRadius:"12px",backgroundColor:"transparent"},children:"START OVER"}),l&&i.jsx(u.Button,{variant:"ghost",fullWidth:!0,disabled:c,onClick:l,theme:w,dark:f,style:{height:"44px",fontSize:"12px",letterSpacing:"0.4px",color:h.textSecondary,border:`1px solid ${f?h.cardBorder:"#d1d5db"}`,borderRadius:"12px",backgroundColor:"transparent"},children:"CHANGE WALLET"})]})]})]}),s.length>1&&i.jsxs("p",{style:{fontSize:"12px",color:h.textSecondary,textAlign:"center",marginTop:"14px",marginBottom:0,lineHeight:"1.5"},children:[s.length," incomplete deposits found \u2014 resolving one at a time."]})]})})},ef=[{source:"wallet",title:"From Wallet",description:"Deposit crypto you already hold in a connected wallet"},{source:"card",title:"With Card",description:"Buy and deposit using a debit or credit card"},{source:"exchange",title:"From Exchange",description:"Transfer from Coinbase, Binance, or any exchange"}],tf=({isOpen:e,onClose:t,closeOnBackdropClick:n,onSelect:s,styles:o})=>{const{dark:r,dk:a}=u.useSpiceBrand(o),[l,c]=p.useState(null);return i.jsx(pn,{isOpen:e,onClose:t,title:"Deposit",subtitle:"Choose how you want to add funds",styles:o,dark:r,closeOnBackdropClick:n,children:i.jsx("div",{style:{padding:"0 24px 25px",display:"flex",flexDirection:"column",gap:"12px",marginTop:"20px"},children:ef.map(({source:d,title:m,description:f})=>i.jsxs("button",{onClick:()=>s(d),onMouseEnter:()=>c(d),onMouseLeave:()=>c(null),style:{width:"100%",display:"flex",flexDirection:"column",alignItems:"flex-start",gap:"4px",padding:"14px 16px",borderRadius:"8px",border:`1px solid ${r?a.cardBorder:"#e5e7eb"}`,backgroundColor:l===d?r?a.hoverBg:"#f9fafb":r?a.cardBg:"white",cursor:"pointer",textAlign:"left",transition:u.transition.color},children:[i.jsx("span",{style:{fontSize:"15px",fontWeight:600,fontFamily:u.font.ui,color:r?a.textPrimary:"#111827"},children:m}),i.jsx("span",{style:{fontSize:"13px",fontFamily:u.font.ui,color:r?a.textSecondary:"#6b7280"},children:f})]},d))})})},nf=({isOpen:e,onClose:t,onBack:n,closeOnBackdropClick:s,source:o,destinationChainId:r,onShowWidget:a,onHideWidget:l,verifying:c,verifyError:d,onRetryVerify:m,funded:f,styles:h})=>{const{dark:w,dk:g,primaryColor:y,theme:x}=u.useSpiceBrand(h),b=u.getChainName(r),v=p.useRef(null),C=p.useRef(a);C.current=a;const k=p.useRef(l);k.current=l;const A=c||!!d||!!f;return p.useEffect(()=>{if(!e)return;const I=v.current;if(I){if(A){k.current();return}return C.current(I,o),()=>k.current()}},[e,o,A]),i.jsx(pn,{isOpen:e,onClose:t,title:o==="card"?"Deposit with Card":"Deposit from Exchange",styles:h,dark:w,closeOnBackdropClick:s,children:i.jsxs("div",{style:{padding:"0 24px 25px",display:"flex",flexDirection:"column",gap:"12px",marginTop:"12px"},children:[i.jsx("button",{onClick:n,disabled:c,style:{alignSelf:"flex-start",padding:0,border:"none",background:"none",fontSize:"13px",fontFamily:u.font.ui,color:w?g.textSecondary:"#6b7280",cursor:c?"default":"pointer",opacity:c?.5:1},children:"\u2190 Back"}),i.jsxs("div",{style:{position:"relative",width:"100%"},children:[i.jsx("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center"},children:i.jsx(u.Spinner,{size:28,color:y})}),i.jsx("div",{ref:v,style:{position:"relative",width:"100%",height:"560px"}}),A&&i.jsx("div",{style:{position:"absolute",inset:0,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"16px",padding:"24px",borderRadius:"9px",backgroundColor:w?"rgba(0, 0, 0, 0.82)":"rgba(255, 255, 255, 0.94)"},children:c?i.jsxs(i.Fragment,{children:[i.jsx(u.Spinner,{size:28,color:y}),i.jsxs("p",{style:{margin:0,fontSize:"14px",fontFamily:u.font.ui,color:w?g.textPrimary:"#111827",textAlign:"center"},children:["Confirming your deposit arrived on ",b,"\u2026"]})]}):f?i.jsxs(i.Fragment,{children:[i.jsxs("p",{style:{margin:0,fontSize:"14px",fontFamily:u.font.ui,color:w?g.textPrimary:"#111827",textAlign:"center"},children:[f.amount," ",f.symbol," is in your wallet on"," ",b,"."]}),i.jsx(u.Button,{variant:"outline",onClick:t,theme:x,dark:w,styles:h,children:"DONE"})]}):i.jsxs(i.Fragment,{children:[i.jsx("p",{style:{margin:0,fontSize:"14px",fontFamily:u.font.ui,color:w?g.textPrimary:"#111827",textAlign:"center"},children:d}),i.jsx(u.Button,{variant:"outline",onClick:m,theme:x,dark:w,styles:h,children:"RETRY"}),i.jsx("button",{onClick:t,style:{padding:0,border:"none",background:"none",fontSize:"13px",fontFamily:u.font.ui,color:w?g.textSecondary:"#6b7280",cursor:"pointer",textDecoration:"underline"},children:"Close \u2014 we'll detect your funds later"})]})})]})]})})},sf="692fb8af264069ca12a9",as=42161,of=[8453,as];function rf(e){const{targetKind:t,appChainId:n}=e;return t!=="external"||n===void 0||!of.includes(n)?as:S.getTokenBySymbol("USDC",n)?n:as}function ko(e=as){return S.getTokenBySymbol("USDC",e)}function af(e){const t=e?.integratorId??sf;return{integratorId:t,enabled:e?.enabled===!0&&t!=="",embedFactory:e?.embedFactory}}const lf=e=>import("@swapper-finance/deposit-sdk").then(t=>new t.SwapperEmbed(e));function cf(e,t,n){return{themeMode:t?"dark":"light",componentStyles:{width:"100%",primaryColor:n,accentColor:n,borderRadius:"9px",...t?{backgroundColor:e.shell,surfaceColor:e.cardBg,surfaceAltColor:e.inputBg,textColor:e.textPrimary,border:`1px solid ${e.cardBorder}`}:{}}}}function Wl(e){return e==="card"?["depositWithCash"]:e==="exchange"?["transferCrypto"]:["depositWithCash","transferCrypto"]}function df(e){const t=e.destinationChainId??as,n=ko(t);if(!n)throw new Error("USDC is not configured for the Swapper destination chain");return{iframeUrl:"https://swapper-deposit-sdk.web.app/",integratorId:e.integratorId,dstChainId:String(t),dstTokenAddr:n.address,depositWalletAddress:e.depositWalletAddress,supportedDepositOptions:Wl(e.source),styles:e.styles,actionLabel:"deposit",flexibleHeight:!0,iframeAttributes:{borderRadius:"9px"}}}async function Ll(e,t=as){const n=ko(t);if(!n)throw new Error("USDC is not configured for the Swapper destination chain");return u.getClientForChain(t).readContract({address:n.address,abi:T.erc20Abi,functionName:"balanceOf",args:[e]})}async function uf(e,t,n){const s=n?.timeoutMs??12e4,o=n?.intervalMs??3e3,r=Date.now()+s;for(;Date.now()<r;){if(n?.signal?.aborted)return null;try{const a=await Ll(e,n?.chainId);if(a>t)return a}catch{}await new Promise(a=>setTimeout(a,o))}return null}function pf({enabled:e,integratorId:t,depositWalletAddress:n,destinationChainId:s,brand:o,embedFactory:r,onTransactionSuccess:a,onCloseRequest:l}){const c=p.useRef(null),d=p.useRef(null),m=p.useRef(a);m.current=a;const f=p.useRef(l);f.current=l;const h=p.useRef(o);h.current=o;const w=p.useRef(r);w.current=r;const g=p.useCallback((b,v,C)=>{if(!v.isConnected)return;const k=b.getIframe();k.updateConfig({supportedDepositOptions:Wl(C)}),k.sendConfig(),b.showIn(v)},[]);p.useEffect(()=>{if(!e||!n)return;let b=!1;return Promise.resolve().then(()=>{const{dk:v,dark:C,primaryColor:k}=h.current;return(w.current??lf)(df({integratorId:t,depositWalletAddress:n,destinationChainId:s,source:null,styles:cf(v,C,k)}))}).then(v=>{if(b){v.destroy();return}const C=v.getIframe();C.on("transaction_success",A=>m.current(A)),C.on("close_request",()=>f.current()),c.current=v;const k=d.current;k&&g(v,k.placeholder,k.source)}).catch(v=>{console.error("[useSwapperEmbed] Failed to preload Swapper widget:",v)}),()=>{b=!0,d.current=null,c.current?.destroy(),c.current=null}},[e,t,n,s,g]);const y=p.useCallback((b,v)=>{d.current={placeholder:b,source:v};const C=c.current;C&&g(C,b,v)},[g]),x=p.useCallback(()=>{d.current=null,c.current?.hide()},[]);return{showWidget:y,hideWidget:x}}function ff(e,t,n,s,o){return{address:t,symbol:n||"UNKNOWN",name:n||"Unknown Token",decimals:s||18,chainId:e,balance:0n,balanceFormatted:o?parseFloat(o):0,balanceUsd:0,isNative:S.isNativeToken(t)}}const mf=({isOpen:e,onClose:t,closeOnBackdropClick:n=!1,styles:s,depositBatches:o,onDepositAmountChange:r,destinationChainId:a,destinationTokenAddress:l,onDepositExecute:c,depositActionLabel:d,sponsorGas:m=!1,escrowRecovery:f,skipTokenSelection:h=!1,onSubmit:w,onDepositSuccess:g,onDepositError:y,skipRecovery:x=!0})=>{const b=p.useContext(u.SpiceFlowProviderContext);if(!b)return i.jsx("div",{children:"Error: SpiceDeposit must be used within SpiceFlowProvider"});const v=(b.mode||"7702")!="7702",C=v,k=b.nativeChainId,A=b.network||"testnet",{dark:I,dk:E,primaryColor:N}=u.useSpiceBrand(s),R=!!f,B=u.useWallet(),{isReady:U,isAuthenticated:O,actions:W}=B,D=b?.embeddedWalletAddress,F=b.externalWalletAddress,P=!!F,q=af(b.swapper),L=C?{address:F,kind:"external"}:{address:D,kind:"embedded"},ne=rf({targetKind:L.kind,appChainId:a||k}),pe=q.enabled&&!R&&A==="mainnet"&&!!ko(ne),ce=()=>h?"deposit":"select-token",X=()=>pe?"select-source":C?P?ce():"connect-wallet":"provider-login",[z,V]=p.useState(X()),[fe,Y]=p.useState(null),[Ce,be]=p.useState(!1),[j,Z]=p.useState(null),[$,H]=p.useState(!1),[me,ge]=p.useState(null),[je,K]=p.useState(null),[M,J]=p.useState(null),ae=p.useRef(null),oe=p.useRef(null),{pendingDeposits:ee,loading:Ae,refresh:te}=_a(D,{enabled:e&&!x,network:A,chainIds:b.supportedChainIds}),[Re,We]=p.useState(null),[ot,ve]=p.useState(!1),[Ge,De]=p.useState(null),[at,Pe]=p.useState(!1),[it,nt]=p.useState("idle");p.useEffect(()=>{e&&!x&&!R&&!Re&&!at&&it==="idle"&&O&&D&&P&&F&&!Ae&&ee.length>0&&z!=="recovery"&&z!=="deposit"&&z!=="swapper"&&V("recovery")},[e,x,R,O,D,P,F,Ae,ee,z,Re,at,it]);const xt=p.useCallback(le=>{const se={address:le.tokenAddress,symbol:le.tokenSymbol,name:le.tokenSymbol,decimals:le.tokenDecimals,chainId:le.chainId,balance:le.verifiedBalance,balanceFormatted:parseFloat(le.amount),balanceUsd:0,isNative:le.isNative};Y(se),We(le),V("deposit")},[]),Ke=p.useCallback(le=>{if(Z(le),C){V(P?le==="wallet"?ce():"swapper":"connect-wallet");return}const se=O&&!!D;V(le==="wallet"?se?P?ce():"connect-wallet":"provider-login":se?"swapper":"provider-login")},[C,O,D,P,h]),lt=p.useCallback(()=>{oe.current?.abort(),H(!1),ge(null),K(null),Z(null),ae.current=null,J(null),V("select-source")},[]);p.useEffect(()=>{z==="swapper"&&(M||!L.address||J({address:L.address,kind:L.kind}))},[z,M,L.address,L.kind]);const Ee=M??L,st=Ee.address,Je=Ee.kind,ft=p.useCallback(async le=>{if(!e||z!=="swapper"||!st)return;oe.current?.abort();const se=new AbortController;oe.current=se,ge(null),H(!0);const Qe=ko(ne);if(!Qe){H(!1);return}const Ne=Ie=>{H(!1);const _e=T.formatUnits(Ie,Qe.decimals);if(Je==="external"){K({amount:_e,symbol:Qe.symbol});const vt={type:"wallet-funding",status:"success",amount:_e,asset:Qe.address,sourceChain:String(ne)};window.dispatchEvent(new CustomEvent("spiceflow:action",{detail:vt})),g?.(vt);return}xt({chainId:ne,tokenAddress:Qe.address,tokenSymbol:Qe.symbol,tokenDecimals:Qe.decimals,amount:_e,rawAmount:Ie.toString(),embeddedWalletAddress:st,externalWalletAddress:"",timestamp:0,isNative:!1,verifiedBalance:Ie,hasFullBalance:!0})},pt=ae.current,jt=await pt;if(se.signal.aborted||ae.current!==pt)return;if(jt===null){H(!1),ge("Unable to confirm your starting balance. Go back and reopen the deposit to try again.");return}const It=await uf(st,jt,{signal:se.signal,chainId:ne});if(!se.signal.aborted){if(It===null){H(!1);const Ie=u.getChainConfig(ne)?.viemChain?.name??`chain ${ne}`;ge(`We haven't seen your funds arrive on ${Ie} yet \u2014 they may still be in transit.`);return}Ne(It)}},[e,z,st,Je,ne,xt,g]);p.useEffect(()=>{if(!e||z!=="swapper"||!st)return;const le=Ll(st,ne).catch(()=>null);return ae.current=le,()=>{ae.current===le&&(ae.current=null),oe.current?.abort()}},[e,z,st,ne]);const{showWidget:yt,hideWidget:Xe}=pf({enabled:e&&pe,integratorId:q.integratorId,depositWalletAddress:st,destinationChainId:ne,brand:{dk:E,dark:I,primaryColor:N},embedFactory:q.embedFactory,onTransactionSuccess:ft,onCloseRequest:()=>{$||lt()}}),ct=p.useCallback(()=>{Pe(!0),V(O&&D&&P&&F?h?"deposit":"select-token":O&&D?"connect-wallet":"provider-login")},[O,D,P,F,h]),Ue=p.useCallback(()=>{De(null),nt("awaiting-disconnect"),V("connect-wallet")},[]),rt=p.useCallback(async le=>{ve(!0),De(null);try{if(!D)throw new Error("Embedded wallet not available");const se=await W.getEthereumProvider(),Qe=u.getChainConfig(le.chainId);await u.ensureWalletOnChain(se,le.chainId);const Ne=u.getClientForChain(le.chainId),pt=await dn.getBalance(Ne,{address:D}),jt=Qe?.viemChain?.name||`chain ${le.chainId}`;if(pt===0n)throw new Error(`Your embedded wallet has no ETH on ${jt} to pay for gas. We recommend completing the deposit instead \u2014 it doesn't require gas.`);const It=T.createWalletClient({account:D,transport:T.custom(se),chain:Qe?.viemChain}),Ie=le.externalWalletAddress&&T.isAddress(le.externalWalletAddress)?le.externalWalletAddress:F;if(!Ie||!T.isAddress(Ie))throw new Error("Connect the external wallet that should receive these funds, then try again.");const _e={recipient:Ie,tokenAddr:le.tokenAddress,isNative:le.isNative||S.isNativeToken(le.tokenAddress),amount:le.verifiedBalance,viemChain:Qe?.viemChain},vt=await ar(It,_e),{receipt:Et}=await ro({client:Ne,hash:vt,call:co(_e.recipient,_e.tokenAddr,_e.isNative,_e.amount),confirmations:1});if(Et.status!=="success")throw new Error("The return transaction failed. Please try again.");Xo(le.embeddedWalletAddress,le.chainId,le.tokenAddress),te(),ee.length<=1&&V(X())}catch(se){const Qe=se?.message||"Couldn't return your funds. Please try again.",Ne=/insufficient funds for gas/i.test(Qe);De(Ne?"Not enough ETH in your embedded wallet to cover gas fees. Complete the deposit instead \u2014 it doesn't require gas.":Qe)}finally{ve(!1)}},[W,D,F,ee,te]);p.useEffect(()=>{e||(We(null),De(null),ve(!1),Pe(!1),nt("idle"),oe.current?.abort(),Z(null),H(!1),ge(null),K(null),ae.current=null,J(null))},[e]),p.useEffect(()=>{if(!(x||it==="idle")){if(it==="awaiting-disconnect"){(!P||!F)&&nt("awaiting-reconnect");return}e&&!Ae&&ee.length>0&&O&&D&&(nt("idle"),V("recovery"))}},[x,it,P,F,e,Ae,ee,O,D]),p.useEffect(()=>{!R||!e||(O&&D?(be(!0),!fe&&f?.chainId&&f?.tokenAddress&&Y(ff(f.chainId,f.tokenAddress,f.tokenSymbol,f.tokenDecimals,f.amount)),V("deposit")):V("provider-login"))},[R,e,z,O,D]);const{assets:Le,loading:ie}=Cs({address:F,supportedChains:b.supportedChainIds,fetchBalances:Yn,enabled:e&&!!F,refreshInterval:e?5e3:0}),ue=p.useCallback(()=>{be(!0),V(R?"deposit":j==="card"||j==="exchange"?"swapper":P?h?"deposit":"select-token":"connect-wallet")},[R,j,P,h]),Te=p.useCallback(async()=>{if((!P||!F)&&(await un(500),!P||!F)){alert("Please connect your wallet first");return}V(h?"deposit":"select-token")},[P,F,h]),Be=p.useCallback(le=>{Y(le),V("deposit")},[]),de=p.useCallback(()=>{if(Y(null),r?.(""),!F){V("connect-wallet");return}V("select-token")},[F,r]),Oe=p.useCallback(()=>{t()},[t]);if(p.useEffect(()=>{if(!e){const le=setTimeout(()=>{R||(V(X()),Y(null)),be(!1)},300);return()=>clearTimeout(le)}},[e,R,f?.chainId]),p.useEffect(()=>{e&&z==="deposit"&&!fe&&!R&&!Re&&!h&&V("select-token")},[e,z,fe,R,Re,h]),p.useEffect(()=>{if(e&&z==="connect-wallet"&&P&&F&&it==="idle"){if(pe&&!j){V("select-source");return}if(pe&&j&&j!=="wallet"){V("swapper");return}V(h?"deposit":"select-token")}},[e,z,P,F,it,h,pe,j]),p.useEffect(()=>{if(!C&&e&&z==="provider-login"&&U&&O&&D&&!Ce){const le=setTimeout(()=>{be(!0),V(j==="card"||j==="exchange"?"swapper":P?h?"deposit":"select-token":"connect-wallet")},100);return()=>clearTimeout(le)}},[C,e,z,U,O,D,j,P,h,Ce]),!e)return null;if(z==="recovery")return i.jsx(_p,{isOpen:e,onClose:Oe,closeOnBackdropClick:n,deposits:ee,onComplete:xt,onCancel:rt,onSkip:ct,onChangeWallet:Ue,isProcessing:ot,error:Ge,styles:s});if(z==="select-source")return pe?i.jsx(tf,{isOpen:e,onClose:Oe,closeOnBackdropClick:n,onSelect:Ke,styles:s}):(V("provider-login"),null);if(z==="swapper")return j!=="card"&&j!=="exchange"?(V(X()),null):st?i.jsx(nf,{isOpen:e,onClose:Oe,onBack:lt,closeOnBackdropClick:n,source:j,destinationChainId:ne,onShowWidget:yt,onHideWidget:Xe,verifying:$,verifyError:me,onRetryVerify:ft,funded:je,styles:s}):i.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(0, 0, 0, 0.5)",display:"flex",alignItems:"center",justifyContent:"center",padding:"16px",zIndex:50},children:i.jsx("div",{style:{backgroundColor:I?E.cardBg:"white",borderRadius:"9px",padding:"32px 24px",maxWidth:"400px",width:"100%",textAlign:"center",fontFamily:'"Helvetica Neue", sans-serif',fontSize:"14px",color:I?E.textPrimary:"#111827"},children:"Preparing your account..."})});if(z==="provider-login"&&!C)return i.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(0, 0, 0, 0.5)",display:"flex",alignItems:"center",justifyContent:"center",padding:"16px",zIndex:50},children:i.jsx("div",{style:{backgroundColor:I?E.cardBg:"white",borderRadius:"9px",padding:"32px 24px",maxWidth:"400px",width:"100%"},children:i.jsx(fr,{onAuthSuccess:ue,autoTrigger:!0})})});if(z==="connect-wallet")return i.jsx($p,{isOpen:e,onClose:Oe,closeOnBackdropClick:n,onContinue:Te,requiredChainId:v?k:void 0,styles:s});if(z==="select-token")return F?i.jsx(Yp,{isOpen:e,onClose:Oe,closeOnBackdropClick:n,onTokenSelect:Be,walletAddress:F,supportedChainIds:b.supportedChainIds,network:A,prefetchedAssets:ie?null:Le??null,styles:s,dark:I}):(V("connect-wallet"),null);if(z==="deposit"){if(!fe&&!h)return null;const le=!!Re;return i.jsx(Di,{isOpen:e,onClose:Oe,closeOnBackdropClick:n,supportedChains:fe?[fe.chainId]:b.supportedChainIds??[],styles:s,externalWalletAddress:F,depositBatches:le?void 0:o,onDepositAmountChange:r,destinationChainId:a,destinationTokenAddress:l,onDepositExecute:c,depositActionLabel:d,nativeChainId:k,sponsorGas:m,preSelectedAsset:fe??void 0,escrowOnly:R||le,escrowTokenAddress:le?Re.tokenAddress:f?.tokenAddress,escrowAmount:le?Re.amount:f?.amount,escrowTokenDecimals:le?Re.tokenDecimals:f?.tokenDecimals,escrowTokenSymbol:le?Re.tokenSymbol:f?.tokenSymbol,onSubmit:w,onDepositSuccess:g,onDepositError:y,embeddedWalletAddress:D,onViewAllAssets:h?void 0:de})}return null},ql=e=>p.useContext(u.SpiceFlowProviderContext)?i.jsx(mf,{...e}):i.jsx("div",{children:"Error: SpiceDeposit must be used within SpiceFlowProvider"}),hf=({depositProps:e,withdrawProps:t,...n})=>{const[s,o]=p.useState(!1),[r,a]=p.useState(null);return i.jsxs(i.Fragment,{children:[i.jsx(Pl,{...n,onDepositClick:()=>o(!0),onWithdrawClick:l=>a({assetId:l})}),i.jsx(ql,{styles:n.styles,onDepositSuccess:n.onDepositSuccess,...e,isOpen:s,onClose:()=>o(!1)}),i.jsx(jr,{styles:n.styles,...t,isOpen:!!r,onClose:()=>a(null),initialSourceAssetId:r?.assetId})]})},gf=({isOpen:e,onClose:t,onChainSelect:n,supportedChains:s,closeOnSelect:o=!0,styles:r})=>{const{theme:a,dark:l,primaryColor:c,dk:d}=u.useSpiceBrand(r),[m,f]=p.useState(""),[h,w]=p.useState(null),[g,y]=p.useState(null),[x,b]=p.useState(!1),[v,C]=p.useState(null),{switchChainAsync:k}=yn.useSwitchChain(),A=p.useMemo(()=>new Set(s||[]),[s]),I=p.useMemo(()=>{if(!s||s.length===0)return[];const B=[];return s.forEach((U,O)=>{if(typeof U!="number")return;const W=u.getChainConfig(U);W&&B.push({id:U.toString(),name:W.displayName,icon:Fn[U]||ys,chainId:U,verified:!0,order:O})}),B},[s]);p.useEffect(()=>{h&&!A.has(parseInt(h,10))&&w(null)},[h,A]);const E=p.useMemo(()=>I.filter(B=>B.name.toLowerCase().includes(m.toLowerCase())).sort((B,U)=>B.order-U.order),[I,m]),N=async()=>{if(!h)return;const B=parseInt(h,10);b(!0),C(null);try{await k({chainId:B}),n&&n(h),o&&t()}catch(U){console.error("Failed to switch chain:",U),C(u.sanitizeError(U,"Failed to switch chain."))}finally{b(!1)}},R=!h||x;return i.jsxs(pn,{isOpen:e,onClose:t,title:"Select Chain",styles:r,theme:a,dark:l,children:[i.jsx("div",{style:{padding:"24px 20px"},children:i.jsx(ur,{value:m,onChange:f,ariaLabel:"Search chains",placeholder:"Search chain name, symbol or address",size:"md",dark:l,styles:r,endAdornment:i.jsx("div",{style:{padding:"5px 5px",borderRadius:"3px",fontSize:"13px",backgroundColor:l?d.cardBg:"#E9E9E9",color:l?d.textSecondary:"#485066",fontWeight:500,flexShrink:0},"aria-hidden":"true",children:"\u2318F"})})}),i.jsx("div",{style:{padding:"0 32px 20px",display:"flex",flexDirection:"column",gap:"12px"},children:E.map(B=>{const U=h===B.id,O=g===B.id;return i.jsxs("button",{onClick:()=>w(B.id),onMouseEnter:()=>y(B.id),onMouseLeave:()=>y(null),style:{width:"100%",display:"flex",alignItems:"center",gap:"16px",padding:"8px",borderRadius:"8px",backgroundColor:U?l?`${c}15`:`${c}12`:"transparent",border:U?l?`1px solid ${c}66`:`1px solid ${c}88`:O?l?`1px solid ${c}44`:`1px solid ${c}66`:"1px solid transparent",cursor:"pointer",transition:u.transition.interactive},children:[i.jsx("div",{style:{width:"40px",height:"40px",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"30px"},children:i.jsx("img",{src:B.icon,alt:B.name,loading:"lazy",decoding:"async",style:{width:"100%",height:"100%",borderRadius:"50%"}})}),i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px",flex:1},children:[i.jsx("span",{style:{fontFamily:u.font.mono,fontSize:"17px",fontWeight:500,letterSpacing:"0.4px",color:d.textPrimary,textAlign:"left"},children:B.name}),B.verified&&i.jsx("img",{src:Ml,alt:"","aria-hidden":"true",loading:"lazy",decoding:"async",width:16,height:16,style:{width:"16px",height:"16px",filter:l?"brightness(0) invert(1)":"none"}})]})]},B.id)})}),v&&i.jsx("div",{style:{padding:"0 25px 12px"},children:i.jsx(Xt,{variant:"error",size:"compact",palette:d,children:v})}),i.jsx("div",{style:{padding:"0 25px 25px"},children:i.jsxs(u.Button,{variant:"outline",onClick:N,disabled:R,fullWidth:!0,theme:a,styles:r,dark:l,children:["SELECT",i.jsx(_d,{size:20})]})})]})};function zl(e){const t=Al({enabled:e.enabled,chainId:e.lockChainId,address:e.destinationTokenAddress,decimals:e.destinationTokenDecimals,symbol:e.lockTokenSymbol,logoURI:e.lockTokenLogoURI}),n=t.token,s=p.useCallback((a,l)=>{if(!t.ready)throw new Error("Lock token metadata is unavailable.");const c={...n,name:n.symbol,isNative:S.isNativeToken(n.address),balance:0n,balanceFormatted:0,balanceUsd:0},d=typeof e.lockBatches=="function"?e.lockBatches({asset:c,amount:T.formatUnits(a,c.decimals),amountWei:a,feeAdjusted:!0,beneficiary:l.beneficiary??l.userAddress,executorAddress:l.executorAddress}):e.lockBatches;if(d.some(m=>m.chainId!==e.lockChainId||m.domain==="spicenet"||m.tokenTransfers?.some(f=>f.from!=="escrow"||!u.addressesEqual(f.token,n.address))))throw new Error("Lock action definitions must contain destination contract calls; the SDK supplies conversion and delivery.");return d.flatMap(m=>m.calls)},[t.ready,n,e.lockBatches,e.lockChainId]),o=Os({enabled:t.ready,destinationToken:t.ready?n:void 0,selectedAsset:e.selectedAsset,amountDirection:"input-inclusive",feeFunding:e.feeFunding,combineSourceBalances:e.combineSourceBalances,recipient:e.beneficiary,buildActionCalls:s,buildSpicenetBatch:e.buildSpicenetBatch,onSubmit:e.onSubmit,onSuccess:e.onLockSuccess,onError:(a,l)=>e.onLockError?.(a.message,l)}),r=p.useCallback(()=>{t.refresh(),o.quote.refreshQuote()},[t.refresh,o.quote.refreshQuote]);return{...o,quote:{...o.quote,refreshQuote:r},destination:n,metadataError:t.error,canExecute:t.ready&&o.canExecute}}function xf(e){const t=new Date;t.setDate(t.getDate()+Math.floor(e*30));const n=["January","February","March","April","May","June","July","August","September","October","November","December"],s=t.getDate(),o=s===1||s===21||s===31?"st":s===2||s===22?"nd":s===3||s===23?"rd":"th";return`${n[t.getMonth()]} ${s}${o} ${t.getFullYear()}`}const yf=({label:e,value:t,fontFamily:n,dark:s=!1,textPrimary:o="#111827",textSecondary:r="#6b7280"})=>i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"4px"},children:[i.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 14 14",fill:"none",style:{flexShrink:0},children:[i.jsx("circle",{cx:"7",cy:"7",r:"6.5",stroke:r,strokeWidth:"1.2"}),i.jsx("path",{d:"M7 6v4",stroke:r,strokeWidth:"1.2",strokeLinecap:"round"}),i.jsx("circle",{cx:"7",cy:"4.5",r:"0.7",fill:r})]}),i.jsx("span",{style:{fontSize:"13px",color:r,fontFamily:n},children:e})]}),i.jsx("span",{style:{fontSize:s?"17px":"13px",fontWeight:700,color:o,fontFamily:u.font.mono,letterSpacing:"0.3px"},children:t})]}),Hl=p.memo(yf),wf=({options:e,selectedIndex:t,onSelect:n,primaryColor:s,dark:o=!1,textPrimary:r="#111827",textSecondary:a="#6b7280",trackColor:l})=>{const c=e.length-1,d=l||(o?"#3a3a3a":"#d1d5db"),m=o?"4px":"50%",f=o?"none":"2px solid white",h=o?"none":`0 0 0 1px ${s}`;return i.jsxs("div",{style:{width:"100%",userSelect:"none"},children:[i.jsxs("div",{style:{position:"relative",paddingBottom:"4px"},children:[i.jsx("div",{style:{position:"absolute",top:"50%",left:0,right:0,height:"4px",background:d,borderRadius:"2px",transform:"translateY(-50%)",pointerEvents:"none"}}),i.jsx("div",{style:{position:"absolute",top:"50%",left:0,width:`${t/c*100}%`,height:"4px",background:s,borderRadius:"2px",transform:"translateY(-50%)",pointerEvents:"none",transition:"width 0.15s ease"}}),i.jsx("input",{type:"range","aria-label":"Lock duration","aria-valuetext":e[t]?.label,"data-spiceflow-focus":!0,min:0,max:c,step:1,value:t,onChange:w=>n(Number(w.target.value)),style:{WebkitAppearance:"none",appearance:"none",width:"100%",height:"20px",background:"transparent",cursor:"pointer",outline:"none",border:"none",position:"relative",zIndex:1,margin:0,padding:0}})]}),i.jsx("div",{style:{display:"flex",justifyContent:"space-between",marginTop:"6px"},children:e.map((w,g)=>i.jsxs("div",{onClick:()=>n(g),style:{display:"flex",flexDirection:"column",alignItems:g===0?"flex-start":g===c?"flex-end":"center",cursor:"pointer",flex:1},children:[i.jsx("span",{style:{fontSize:"12px",fontWeight:g===t?700:400,color:g===t?r:a,whiteSpace:"nowrap",transition:"color 0.15s, font-weight 0.15s"},children:w.label}),w.highlight&&i.jsx("span",{style:{fontSize:"10px",color:a,whiteSpace:"nowrap"},children:"(most common)"})]},g))}),i.jsx("style",{children:`
|
|
49
|
+
`})]}),document.body):null;return i.jsxs(i.Fragment,{children:[dt,De,Ct&&Gn.createPortal(i.jsx(Dr,{isOpen:!0,onClose:()=>Je(null),styles:d,walletAssets:{initialAsset:Ct},onWithdrawSuccess:()=>{ge(),J(),Je(null)}}),document.body),O&&Gn.createPortal(i.jsx(Di,{isOpen:!0,onClose:ze,supportedChains:[O.chainId],escrowOnly:!0,escrowTokenAddress:O.tokenAddress,escrowAmount:O.amount,escrowTokenDecimals:O.tokenDecimals,escrowTokenSymbol:O.tokenSymbol,styles:d,onDepositSuccess:Ze}),document.body)]})};function Qp({asset:e,showLogo:t=!0,showLabel:n=!0,denomination:s="token",className:o,style:r}){const a=u.useAssetDisplay()(e),l=s==="token"?u.formatAssetBalance(e):Number.isFinite(e.balanceUsd)&&(e.balanceUsd>0||e.balance===0n)?u.formatUsd(e.balanceUsd):"\u2014";return i.jsxs("span",{className:o,style:{display:"inline-flex",alignItems:"center",gap:6,...r},children:[t&&i.jsx(fo,{symbol:e.symbol,label:a.symbol,logoURI:a.logoURI,chainId:e.chainId,address:e.address}),n&&i.jsx("span",{children:a.symbol}),i.jsx("span",{children:l})]})}var Gp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAASrdJREFUeAHtfQeYHMd15quemc0LLhjBiAEDCAYQiUkgRQDMBNNClBlkSwdYsqQ7fz7Jd2f7fLYOgD/rbMmyLZ19n0VZMmDLFCWaFMAcRBILRjAgMElgxIAUAZAEiMXmndB19arqVVXPzkzPzM7ODqj+ycX09FSnqvfqxXoNECFChAgRIkSIECFChAgRIkRoCDCYACxe3N01mGhL5gDmQg6mi4skxZW6GGNdnPMkNxdnXQC8a8xNMQaiXdHz0+9uu2L7EO65ws4tWvRy4L30zQOekucAlhKH4fZOz/dTHdCyradnbS8cBOhew7sSTYNJ8Py5HGLTRRckuY/jwbvEGCQlFWCXeNCF+6FCYDdTl9I2cyirUHe7x4SgVzQ1/cyZGA95HEsxD1Ken9uJ2yMjHdvWr2A1H4+aMQgyxUC84+uC+BaJx1gMNQYRP6EQoee3Gc+16BohLXs8L7Y+Fsvevemhn6aggYBM0dQy9HXRI2Y88omSHq9MQg2gEIEXYpRibSs5b/kQ4xHz1o/m2N3rb2lNQQ0wbmqau/jmZCzmrRREtTyfoHI5XzysDznfVw8t/sFtAhJiYHYHNZG528y0hbLvljntzfEFrgFOG/d35nnmXJ7ejnlMbsdiMdX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AAElFTkSuQmCC",Ml="data:image/svg+xml,%3csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4.51484 1.22476C5.04689 0.494255 5.87167 0 6.83333 0C7.79352 0 8.62302 0.493038 9.15721 1.22447C10.0512 1.08473 10.9879 1.32154 11.6665 2.00014C12.3456 2.67921 12.5823 3.61677 12.4419 4.51135C13.1714 5.04616 13.6667 5.87042 13.6667 6.83333C13.6667 7.79624 13.1714 8.62051 12.4419 9.15532C12.5823 10.0499 12.3456 10.9875 11.6665 11.6665C10.986 12.3471 10.049 12.5769 9.15858 12.4403C8.62445 13.1728 7.79434 13.6667 6.83333 13.6667C5.86959 13.6667 5.04474 13.1705 4.50996 12.44C3.619 12.5772 2.68116 12.3475 2.00014 11.6665C1.31939 10.9858 1.08903 10.0476 1.23037 9.15532C0.501138 8.62162 0 7.79824 0 6.83333C0 5.86843 0.501137 5.04504 1.23037 4.51135C1.08903 3.61904 1.31939 2.68089 2.00014 2.00014C2.67986 1.32042 3.61766 1.08457 4.51484 1.22476ZM9.20928 5.95387C9.51334 5.74624 9.59152 5.33144 9.38389 5.02737C9.17626 4.72331 8.76145 4.64514 8.45739 4.85277L8.3995 4.89229C7.48372 5.51764 6.69012 6.30153 6.05487 7.20477L5.30449 6.45518C5.044 6.19497 4.62189 6.1952 4.36168 6.45569C4.10147 6.71618 4.10169 7.13829 4.36218 7.3985L5.7 8.73489C5.84693 8.88167 6.05387 8.95158 6.25971 8.924C6.46555 8.89641 6.64677 8.77448 6.74987 8.5942C7.34322 7.55668 8.16436 6.6674 9.1514 5.9934L9.20928 5.95387Z' fill='%23EA4B4B'/%3e%3c/svg%3e",Kp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAaYAAACLCAYAAAAqND1fAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYw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NfBEGHSIDs5WifuPG+rA7Gs5/nHTrCNTcgdErxZRdlCFGvl65zhFTcrlnUNXJFNxRDZFF8t8hWwTpIPYF5wVBIksZwHttlRHVGYRq6rIrIrdEcI2N5D74eXR+LYzfwJHjHOnbMv931IawI76eJ+6o9vAczj7bJrAQIU+hUcf5Azf69aIcP4eV5+dOj9fCHdKcjNdft49sEpvoP+9edVXUB1FkmLoD2/JrDseU60n1Yg0ZFHoxHi2ZywrixOSMdVCRuvrssArOhQREMJNB73auUbW6yH6MEoEQlMjfyMKi4deW5ZDmNa959aLOjGonpYynLgrKechQ60uGj/9Vh6kfpi5Cx6ohvNow145S51SzroQDC5qpqZ3yzDWJoK7/KEPTOR3NupEjVZYko1JTRuvjyLnW6b7ugxx8RKzf5l7IaNXHk2GrmYFygPWXYE3VgvT8anhK90DPTcere7L0NzlhnZ/+Xkf6+tJz0b2on2t9jfU163f1/ajXTw091r9TlqrPPbqGpE2ie6Jj1kGLPvvodavASe+ro+Pauelc9JlaG/U9qe9F/XtF1Vpn+nt9bfV16dzqAFHnWL9Orzn687RG6+tWMDOo4JU6+FLkrHP5/3uuR68bnUO9J+o6rdaJrkFfdc0vCuAJASsY1XF1PGWUuj7ttaP7C+tzP/p+10GTnIj+Vl9vvXbq56m1VCvQ6DoUqCo4k62o13n9PLTOhEzV61n7hq/6+nQMQdVHr4HaVtb2ow6M6ntb7+G6Tq+1ouurUZp6Pehz9Nr6NbJtPWzfLPv46nPQseq6fo1u/X+gRuOHSwDbkgAAAABJRU5ErkJggg==";const Zp=({size:e=20,active:t=!1,dark:n=!1})=>i.jsxs("svg",{width:e,height:e,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[i.jsx("rect",{x:"2",y:"4",width:"16",height:"2",rx:"1",fill:t?n?"#e5e7eb":"#111827":n?"#9ca3af":"#374151"}),i.jsx("rect",{x:"4",y:"9",width:"12",height:"2",rx:"1",fill:t?n?"#e5e7eb":"#111827":"#9ca3af"}),i.jsx("rect",{x:"6",y:"14",width:"8",height:"2",rx:"1",fill:t?n?"#e5e7eb":"#111827":"#9ca3af"})]}),Ul=({checked:e,primaryColor:t="#ef4444",dark:n=!1})=>i.jsx("div",{style:{width:"18px",height:"18px",borderRadius:"4px",border:e?"none":`2px solid ${n?"#4b5563":"#d1d5db"}`,backgroundColor:e?t:"transparent",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,transition:u.transition.interactive},children:e&&i.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:i.jsx("path",{d:"M2.5 6L5 8.5L9.5 3.5",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),Yp=({isOpen:e,onClose:t,closeOnBackdropClick:n=!1,onTokenSelect:s,walletAddress:o,supportedChainIds:r,network:a,prefetchedAssets:l,styles:c,dark:d})=>{const[m,f]=p.useState(""),[h,w]=p.useState(null),[g,y]=p.useState(null),[x,b]=p.useState(!1),[v,C]=p.useState(new Set),k=p.useContext(u.SpiceFlowProviderContext),I=a||k?.network||"testnet",A=k?.allowedTokens,E=(k?.mode||"7702")!=="7702",D=!!k?.isWhitelistGateActive,{dark:R,primaryColor:B,dk:W}=u.useSpiceBrand(c,d),O=R?W.cardBg:"white",M=R?`${B}55`:"#F4A5A5",U=R?"0 4px 12px rgba(0, 0, 0, 0.4)":"0 4px 12px rgba(0, 0, 0, 0.15)",F=R?W.hoverBg:"#E9E9E9",N=R?W.hoverBg:"#f9fafb",L=R?W.textPrimary:"#374151",q=R?W.textPrimary:"#111827",oe=R?W.textSecondary:"#9ca3af",pe=R?`${B}22`:"#FBDBDB",ae=R?`${B}55`:"#F4A5A5",Q=p.useMemo(()=>r||k?.supportedChainIds||S.getChainIdsByNetwork(I),[r,k?.supportedChainIds,I]),$=p.useMemo(()=>Q.map(J=>{const P=u.getChainConfig(J);return P?{id:J,name:P.displayName,icon:Bn[J]||ys}:null}).filter(Boolean),[Q]),X=l===void 0,{assets:ee,loading:Y}=Cs({address:X?o:void 0,supportedChains:Q,fetchBalances:Yn,enabled:e&&X&&!!o,refreshInterval:e?5e3:0}),we=l??(X?ee:[]),be=l===null||X&&Y,j=p.useMemo(()=>(we??[]).filter(J=>Tn(J,"deposit-source",{allowedTokens:A,rpcOverrides:k?.rpcOverrides,liquidityVenues:k?.liquidityVenues,isWhitelistGateActive:D},void 0,void 0,{requiresEscrow:E}).eligible),[we,A,k?.rpcOverrides,D,E]),K=p.useMemo(()=>{let J=j.filter(P=>P.balance>0n);if(v.size>0&&(J=J.filter(P=>v.has(P.chainId))),m.trim()){const P=m.toLowerCase();J=J.filter(_=>_.name.toLowerCase().includes(P)||_.symbol.toLowerCase().includes(P)||_.address.toLowerCase().includes(P))}return J=[...new Map(J.map(P=>[xe(P),P])).values()],J.sort((P,_)=>{const le=P.balanceFormatted>0?1:0,te=_.balanceFormatted>0?1:0;return te!==le?te-le:_.balanceUsd!==P.balanceUsd?_.balanceUsd-P.balanceUsd:_.balanceFormatted-P.balanceFormatted}),J},[j,m,v]),Z=xe;p.useEffect(()=>{const J=document.createElement("link");return J.href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@100;200;300;400;500;600;700&display=swap",J.rel="stylesheet",document.head.appendChild(J),()=>{document.head.removeChild(J)}},[]),p.useEffect(()=>{e||(f(""),w(null),b(!1),C(new Set))},[e]);const G=J=>{s(J)},ue=J=>{C(P=>{const _=new Set(P);return _.has(J)?_.delete(J):_.add(J),_})},me=()=>{C(new Set)},Se=v.size===0;return i.jsxs(fn,{isOpen:e,onClose:t,title:"Select a Token",bannerSrc:Kp,bannerAlt:"Select token banner",styles:c,dark:R,closeOnBackdropClick:n,children:[i.jsx("div",{style:{padding:"20px 20px"},children:i.jsx(pr,{value:m,onChange:f,ariaLabel:"Search tokens",placeholder:"Search token name, symbol or address",dark:R,styles:c,endAdornment:i.jsxs("div",{style:{position:"relative",flexShrink:0},children:[i.jsx("button",{onClick:()=>b(J=>!J),style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"5px",borderRadius:"3px",backgroundColor:x||!Se?F:"transparent",border:"none",cursor:"pointer",transition:"background-color 0.15s"},children:i.jsx(Zp,{size:20,active:!Se,dark:R})}),x&&i.jsxs("div",{style:{position:"absolute",top:"calc(100% + 8px)",right:0,backgroundColor:O,borderRadius:"8px",border:`1px solid ${M}`,boxShadow:U,padding:"8px",minWidth:"220px",zIndex:100},children:[i.jsxs("button",{onClick:me,style:{width:"100%",display:"flex",alignItems:"center",gap:"10px",padding:"8px",borderRadius:"6px",backgroundColor:"transparent",border:"none",cursor:"pointer",transition:"background-color 0.15s"},onMouseEnter:J=>J.currentTarget.style.backgroundColor=N,onMouseLeave:J=>J.currentTarget.style.backgroundColor="transparent",children:[i.jsx(Ul,{checked:Se,primaryColor:B,dark:R}),i.jsx("img",{src:Gp,alt:"All Networks",loading:"lazy",decoding:"async",width:20,height:20,style:{width:"20px",height:"20px",borderRadius:"4px",objectFit:"cover"}}),i.jsx("span",{style:{fontFamily:u.font.mono,fontSize:"12px",fontWeight:600,letterSpacing:"0.5px",color:L},children:"ALL NETWORKS"})]}),$.map(J=>i.jsxs("button",{onClick:()=>ue(J.id),style:{width:"100%",display:"flex",alignItems:"center",gap:"10px",padding:"8px",borderRadius:"6px",backgroundColor:"transparent",border:"none",cursor:"pointer",transition:"background-color 0.15s"},onMouseEnter:P=>P.currentTarget.style.backgroundColor=N,onMouseLeave:P=>P.currentTarget.style.backgroundColor="transparent",children:[i.jsx(Ul,{checked:v.has(J.id),primaryColor:B,dark:R}),i.jsx("img",{src:J.icon,alt:J.name,loading:"lazy",decoding:"async",width:20,height:20,style:{width:"20px",height:"20px",borderRadius:"50%"}}),i.jsx("span",{style:{fontFamily:u.font.mono,fontSize:"12px",fontWeight:600,letterSpacing:"0.5px",color:L},children:J.name.toUpperCase()})]},J.id))]})]})})}),i.jsxs("div",{style:{padding:"0 32px 20px",display:"flex",flexDirection:"column",gap:"8px",maxHeight:"400px",overflowY:"auto"},children:[be&&i.jsx("div",{style:{padding:"24px 8px",textAlign:"center",fontFamily:u.font.mono,fontSize:"13px",color:oe},children:"Loading balances..."}),!be&&K.length===0&&i.jsx("div",{style:{padding:"24px 8px",textAlign:"center",fontFamily:u.font.mono,fontSize:"13px",color:oe},children:"No tokens found"}),K.map(J=>{const P=Z(J),_=h===P,le=g===P,te=u.getChainConfig(J.chainId)?.displayName||`Chain ${J.chainId}`;return i.jsxs("button",{onClick:()=>G(J),onMouseEnter:()=>y(P),onMouseLeave:()=>y(null),style:{width:"100%",display:"flex",alignItems:"center",gap:"16px",padding:"8px",borderRadius:"8px",backgroundColor:_?pe:"transparent",border:_||le?`1px solid ${ae}`:"1px solid transparent",cursor:"pointer",transition:u.transition.interactive},children:[i.jsx("div",{style:{flexShrink:0},children:i.jsx(fo,{symbol:J.symbol,logoURI:J.logoURI,chainId:J.chainId,address:J.address,size:40})}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:"2px",flex:1,minWidth:0},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[i.jsx("span",{style:{fontFamily:u.font.mono,fontSize:"15px",fontWeight:500,letterSpacing:"0.4px",color:q,textAlign:"left"},children:J.name}),i.jsx("img",{src:Ml,alt:"","aria-hidden":"true",loading:"lazy",decoding:"async",width:14,height:14,style:{width:"14px",height:"14px"}})]}),i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"4px"},children:[Bn[J.chainId]&&i.jsx("img",{src:Bn[J.chainId],alt:"",loading:"lazy",decoding:"async",width:14,height:14,style:{width:"14px",height:"14px",borderRadius:"50%"}}),i.jsxs("span",{style:{fontFamily:u.font.mono,fontSize:"12px",fontWeight:400,color:oe,textAlign:"left"},children:[J.symbol," \xB7 ",te]})]})]}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-end",gap:"2px",flexShrink:0},children:[J.balanceUsd>0&&i.jsx("span",{style:{fontFamily:u.font.mono,fontSize:"16px",fontWeight:600,color:q},children:u.formatUsd(J.balanceUsd)}),i.jsxs("span",{style:{fontFamily:u.font.mono,fontSize:"12px",fontWeight:400,color:oe},children:[u.formatBalance(J.balanceFormatted)," ",J.symbol]})]})]},P)})]})]})};var Xp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAEICAMAAACQzmAoAAAAzFBMVEWgoJ/d1tbcxsbcycndzc3a2trd0NDe3t7c29vc3Nzd09Pcw8Pd2dncv7/bubnctLTg4ODbr6+BkfGSgdnm5ubcvLzr6+vy8fDcqanZ1tbbpKTf3NtILRbZzc3bnZ3UxsbT09PRvb0FUfLPzs7TtLQKCQcHUu8YFxXQqanJs7PIxsbTlpbAvb28rK2qqKjGnp5zPxrogB83NTTXch/EjYxUU1GRj46Sn+ujmNaBfnwWXPDM0O6xtuRramhbQi23XxzdUlJ6XExXhOY2buq+my/AAAAAAXRSTlP9g+pWxwAAAAlwSFlzAAALEwAACxMBAJqcGAAAIABJREFUeNrsvWtz20iyLWo+ilXgS9AMqRaEgFtj2W1vH9s7whH2HPeMv3T///90q3KtzMoCKbfnnBs34kZsWiJBEHzJtZCvlStfvPify/9c/ufyP5frl0929X/43P+5/P/ub/OffrZPjz95eeJvvgzl96nu/k8uT8/escvw7HOGp78++Kfe+D+5DM++2pPdeWoekj9V/QPVwx6fnuzOkzzAv2relkfLbl4eceV2cnPiXbmd8uXp10nv523ZKHvkptz++qtcTeUfr9xlutye2h3Tj479/+4yPfu20w+fcflF3NfE5hMexh+p/A3LrvznK2D61Pcxlp8ulttyL0Zsl5/Y9djdxYT9ETu7shdPyXt7uZOP6vAsObKTf/nxvucBZUevr5DvpL68TNeX18PzcUzX49V7/SR5V97Z69OxF9s93ibf5aMdvxDfs+yVD8qje3zhfBXwPH1BfB3sSfyi/JJ2pxzY8V3lU419N8YxH57GET/5TkqxH8uuGPd5x1geHPd5cz/25ar8yP1hP+zlvjzY78dF2ZIDFuMe1/v9YhwXQ/6VXYtF/sHVuNA7um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+MfIOTnTeuDBsafuxt+LH9nevnKadS7YG4YefJ4oOfR3xG584hSuIDofIkctFklttdBJVCkWQmqSc3vRj3hwEkH93G7azPib3z2L+ZPmW3O/uC/luctSrT157dKc8/x9/om5y7+PRdeudukyYEu0TI2GW/9r90wJ+oWyefu58eSQjmp+qtFHCdGQKsYaF43Kom98ZVa/8bzD5QeBysZbWLV1r+2O+yOfo3w5BdRjnR993sEU/X0G7giiFGD9gIL7YdaShwhy54AltrSg8RqItvth3shLfriqK+G7Id1wUfMhCDOl+U3W0HSUu9g9JCZdHdkla1vu1oi3O7K3lGutdub/kv4DywtdWPjc47nBUq+O99JBB4lpHnlpc96wk/Wy2eCvO993hjGqJJIcYhft4f9GWHFFtgUbi/xZmN3wcjZ/Xnj7frv3h0f/HzTFSOAPn3+Pf49/j3+Pf49/hfjv8Po2R9gfj4veEAAAAASUVORK5CYII=";const Nr=e=>{const t=(e.id||"").toLowerCase(),n=(e.name||"").toLowerCase();return t.startsWith("io.privy.wallet")||n.includes("privy wallet")};async function Pr(e,t){let n;try{return await Promise.race([e,new Promise((s,o)=>{n=setTimeout(()=>{const r=new Error("Wallet network read timed out. Please try again.");r.name="WalletReadTimeout",o(r)},Math.max(0,t-Date.now()))})])}finally{n!==void 0&&clearTimeout(n)}}const Jp=({dark:e,dk:t,primaryColor:n,disabled:s,hidden:o,onConnecting:r,onError:a})=>{const[l,c]=p.useState(!1),d=Cn.useAccount(),{embeddedAddress:m}=u.useProviderWallets(),f=p.useRef({account:d,embeddedAddress:m});f.current={account:d,embeddedAddress:m};const{ready:h,authenticated:w,user:g}=ps.usePrivy(),y={ready:h,authenticated:w,userId:g?.id},x=p.useRef(y);x.current=y;const b=p.useRef(0),v=()=>{const A=x.current;return A.ready===y.ready&&A.authenticated===y.authenticated&&A.userId===y.userId};p.useLayoutEffect(()=>(b.current++,c(!1),r(!1),()=>{b.current++}),[h,w,g?.id,r]);const{disconnectAsync:C}=Cn.useDisconnect(),{setActiveWallet:k}=ps.useActiveWallet(),{connectWallet:I}=ps.useConnectWallet({onSuccess:async({wallet:A})=>{if(!h||!v())return;const E=++b.current,D=()=>E===b.current&&v();c(!0),r(!0);try{if(A.type!=="ethereum"||A.connectorType==="embedded")throw new Error("Choose an external Ethereum wallet.");k(A);const R=f.current.account;R.address&&R.connector&&!Nr(R.connector)&&!u.addressesEqual(R.address,f.current.embeddedAddress)&&!u.addressesEqual(R.address,A.address)&&await C({connector:R.connector})}catch(R){D()&&a(u.sanitizeError(R,"Failed to connect wallet."))}finally{D()&&(c(!1),r(!1))}},onError:A=>{v()&&(b.current++,c(!1),r(!1),a(u.sanitizeError(A,"Failed to connect wallet.")))}});return o?null:i.jsxs("button",{onClick:()=>{s||l||(b.current++,c(!0),r(!0),I({walletChainType:"ethereum-only"}))},disabled:s||l,style:{width:"100%",display:"flex",alignItems:"center",gap:"14px",padding:"10px",borderRadius:"8px",backgroundColor:l?e?t.hoverBg:"#f3f4f6":"transparent",border:`2px solid ${e?`${n}33`:`${n}55`}`,cursor:s||l?"not-allowed":"pointer",opacity:s?.6:1,transition:u.transition.interactive},children:[i.jsx("div",{style:{width:"40px",height:"40px",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:e?t.cardBg:"#f3f4f6"},children:i.jsx("img",{src:ws.metamask,alt:"Browser wallet",style:{width:"26px",height:"26px",objectFit:"contain"}})}),i.jsx("span",{className:"ibm-plex-mono",style:{fontSize:"17px",fontWeight:500,letterSpacing:"0.4px",color:t.textPrimary,flex:1,textAlign:"left",fontFamily:u.font.mono},children:l?"Opening wallet picker...":"MetaMask / Browser Wallet"})]})},$p=({isOpen:e,onClose:t,closeOnBackdropClick:n=!1,onWalletSelect:s,onContinue:o,requiredChainId:r,styles:a})=>{const{dark:l,primaryColor:c,dk:d,theme:m}=u.useSpiceBrand(a),f=p.useContext(u.SpiceFlowProviderContext),[h,w]=p.useState(null),[g,y]=p.useState(!1),[x,b]=p.useState(null),[v,C]=p.useState(!1),[k,I]=p.useState(null),[A,E]=p.useState(!1);p.useEffect(()=>{e||(b(null),C(!1),y(!1),I(null))},[e]);const{address:D,chain:R,connector:B,isConnected:W}=Cn.useAccount(),{externalWallet:O,externalAddress:M}=u.useProviderWallets(),U=!!O&&!!M,F=O?.wallet.connector||O?.wallet.meta,N=Number(String(O?.wallet.chainId??"").replace(/^eip155:/,"")),L=O?.wallet.connector===B&&W&&u.addressesEqual(M,D)?R:u.getChainConfig(N)?.viemChain,{connectors:q,connectAsync:oe}=Cn.useConnect(),{disconnectAsync:pe}=Cn.useDisconnect(),ae=S.getChainIdsByNetwork(f?.network||"testnet"),Q=p.useRef(O);Q.current=O;const $=p.useRef(0),X=O?.wallet.connector||O?.wallet;p.useEffect(()=>($.current++,y(!1),b(null),()=>{$.current++}),[M,X,e]);const ee=(r?u.getChainConfig(r):null)?.displayName||L?.name||`Chain ${L?.id||r}`,Y=P=>P.type==="announced"||typeof P.ready=="boolean"&&P.ready?!0:P.type==="injected"?typeof window<"u"&&!!window.ethereum:!0,we=q.filter(P=>{const _=P.name.toLowerCase(),le=(P.id||"").toLowerCase();return f?.provider==="privy"&&Nr(P)||["safe"].includes(P.type)?!1:P.type==="walletConnect"?!!P?.options?.projectId:P.type==="announced"?!0:P.type==="injected"||["metamask","rabby","phantom","coinbase","trust","rainbow"].some(te=>_.includes(te)||le.includes(te))?Y(P):!1}),be=async P=>{if(!(v||g))try{if(C(!0),I(P.uid),b(null),await oe({connector:P}),await pn(500),Q.current?.wallet.connector!==P)throw new Error("Wallet changed. Please try again.");s&&s(P.id),r&&await Z(r),await pn(800)}catch(_){console.error("Connection error:",_),u.isUserRejection(_)?b("Connection rejected. Please try again."):b(u.sanitizeError(_,"Failed to connect wallet."))}finally{C(!1),I(null)}},j=P=>{if(P.icon)return P.icon;const _=(P.name||"").toLowerCase();for(const[le,te]of Object.entries(ws))if(_.includes(le.toLowerCase()))return te;if(!Nr(P)&&(P.type==="injected"||P.type==="announced")&&typeof window<"u"&&window.ethereum){const le=window.ethereum;if(le.isMetaMask)return ws.metamask;if(le.isRabby)return ws.rabby;if(le.isPhantom)return ws.phantom}return null},K=async(P,_,le)=>{const te=_.wallet.connector||_.wallet,ne=Date.now()+2e3;for(;Date.now()<ne;){if(await pn(Math.min(100,ne-Date.now())),le!==$.current||!u.addressesEqual(Q.current?.address,_.address)||(Q.current?.wallet.connector||Q.current?.wallet)!==te)return!1;try{const Ie=await Pr((async()=>{const ge=await _.getEthereumProvider();return parseInt(await ge.request({method:"eth_chainId"}),16)})(),ne);if(le!==$.current||!u.addressesEqual(Q.current?.address,_.address)||(Q.current?.wallet.connector||Q.current?.wallet)!==te)return!1;if(Ie===P)return!0}catch{}}return!1},Z=async P=>{const _=++$.current,le=Q.current,te=le?.wallet.connector||le?.wallet,ne=()=>_===$.current&&u.addressesEqual(Q.current?.address,le?.address)&&(Q.current?.wallet.connector||Q.current?.wallet)===te;y(!0),b(null);try{if(!le)throw new Error("Wallet not available");const Ie=Date.now()+2e3,ge=await Pr(le.getEthereumProvider(),Ie);let fe;const Ce=()=>{if(!ne())throw new Error("Wallet changed. Please try again.");if(fe)throw fe};Ce(),await ki({request:async st=>{if(st.method!=="eth_chainId")return ge.request(st);try{return await Pr(ge.request(st),Ie)}catch(ve){throw ve instanceof Error&&ve.name==="WalletReadTimeout"&&(fe=ve),ve}}},P,Ce),!await K(P,le,_)&&ne()&&b("Unable to switch to the correct network. Please switch manually in your wallet to continue.")}catch(Ie){ne()&&(console.error("Manual chain switch error:",Ie),b(u.describeChainSwitchError(Ie)))}finally{ne()&&y(!1)}},G=async P=>{g||(E(!1),await Z(P))},ue=async()=>{if(!g){if(!r){E(P=>!P);return}await Z(r)}},me=async()=>{try{const P=O?.wallet;P&&typeof P.disconnect=="function"&&P.disconnect(),B&&u.addressesEqual(M,D)&&await pe({connector:B})}finally{b(null),C(!1),y(!1),I(null),E(!1)}},Se=U&&!g&&!v&&(!r||L?.id===r),J=U&&!g&&!v&&r&&L?.id!==r;return i.jsxs(fn,{isOpen:e,onClose:t,title:"Connect Wallet",styles:a,dark:l,bannerSrc:Xp,bannerAlt:"Connect wallet banner",closeOnBackdropClick:n,children:[i.jsxs("div",{style:{padding:"0 24px 20px",display:"flex",flexDirection:"column",gap:"12px",marginTop:"20px"},children:[x&&i.jsx(vi,{dk:d,dark:l,message:x,buttonLabel:g?"Switching...":"Try Switch Again",onAction:ue,disabled:g}),g&&i.jsxs("div",{style:{padding:"12px",backgroundColor:l?d.infoBg:"#dbeafe",borderRadius:"8px",display:"flex",alignItems:"center",gap:"10px",marginTop:"20px"},children:[i.jsx(u.Spinner,{size:20,color:l?d.infoText:"#3b82f6"}),i.jsx("p",{style:{margin:0,color:l?d.infoText:"#1e40af",fontSize:"14px"},children:"Switching network..."})]}),f?.provider==="privy"&&i.jsx(Jp,{dark:l,dk:d,primaryColor:c,disabled:v||g,hidden:U,onConnecting:C,onError:b}),U&&M?i.jsxs("div",{style:{border:`1px solid ${l?d.successBorder:"#02974F"}`,borderRadius:"8px",overflow:"hidden",marginTop:"20px"},children:[i.jsxs("div",{style:{backgroundColor:l?d.successBg:"#00FFA81C",padding:"14px 18px",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.jsx("div",{style:{width:"22px",height:"22px",borderRadius:"50%",backgroundColor:"#02974F",display:"flex",alignItems:"center",justifyContent:"center",color:"white",fontSize:"14px",fontWeight:"bold"},children:"\u2713"}),i.jsx("span",{className:"ibm-plex-mono",style:{color:l?d.successText:"#02974F",fontWeight:600,fontSize:"14px",letterSpacing:"0.5px"},children:"WALLET CONNECTED"})]}),i.jsx("div",{style:{width:"38px",height:"38px",borderRadius:"50%",backgroundColor:l?d.cardBg:"#f3f4f6",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},children:F&&j(F)?i.jsx("img",{src:j(F),alt:F.name,style:{width:"24px",height:"24px",objectFit:"contain"}}):i.jsx("span",{style:{fontSize:"16px",fontWeight:"bold",color:l?d.textPrimary:"inherit"},children:F?.name?.charAt(0)||"W"})})]}),i.jsxs("div",{style:{padding:"18px",backgroundColor:l?d.cardBg:"white"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"14px"},children:[i.jsx("span",{className:"ibm-plex-mono",style:{color:l?d.textSecondary:"#939291",fontSize:"13px",fontWeight:500,letterSpacing:"0.3px"},children:"ADDRESS:"}),i.jsx("span",{className:"ibm-plex-mono",style:{color:l?d.textPrimary:"black",fontSize:"14px",fontWeight:600,fontFamily:u.font.mono,letterSpacing:"0.3px"},children:u.truncateAddress(M)})]}),A&&i.jsx("div",{style:{marginBottom:"12px",border:`1px solid ${l?d.inputBorder:"#E5E7EB"}`,borderRadius:"8px",overflow:"hidden",backgroundColor:d.cardBg},children:ae.map(P=>{const _=u.getChainConfig(P);if(!_)return null;const le=L?.id===P;return i.jsxs("button",{onClick:()=>{le?E(!1):G(P)},style:{width:"100%",display:"flex",alignItems:"center",gap:"8px",padding:"10px 12px",backgroundColor:le?l?`${c}15`:`${c}10`:"transparent",border:"none",borderBottom:`1px solid ${l?d.inputBorder:"#E5E7EB"}`,cursor:le?"default":"pointer",transition:"background-color 0.15s"},onMouseEnter:te=>{le||(te.currentTarget.style.backgroundColor=l?"rgba(255,255,255,0.05)":"rgba(0,0,0,0.03)")},onMouseLeave:te=>{te.currentTarget.style.backgroundColor=le?l?`${c}15`:`${c}10`:"transparent"},children:[i.jsx("img",{src:Bn[P]||ys,alt:_.displayName,style:{width:"20px",height:"20px",borderRadius:"50%",objectFit:"contain"}}),i.jsx("span",{style:{fontSize:"13px",fontWeight:le?600:400,color:l?d.textPrimary:"#1f2937",fontFamily:u.font.mono},children:_.displayName}),le&&i.jsx("span",{style:{marginLeft:"auto",fontSize:"11px",color:c,fontWeight:500},children:"Connected"})]},P)})}),i.jsxs("button",{className:"ibm-plex-mono",onClick:me,style:{width:"100%",padding:"10px",backgroundColor:"transparent",border:`1px solid ${l?d.inputBorder:"#E5E7EB"}`,borderRadius:"6px",cursor:"pointer",fontSize:"13px",fontWeight:500,color:l?d.textSecondary:"#9CA3AF",display:"flex",alignItems:"center",justifyContent:"center",gap:"6px"},children:[i.jsx("span",{style:{fontSize:"16px"},children:"\u27F2"}),"DISCONNECT"]})]})]}):i.jsx(i.Fragment,{children:we.map(P=>{const _=Y(P),le=k===P.uid,te=!_||v||le;return i.jsxs("button",{onClick:()=>{te||be(P)},onMouseEnter:()=>!te&&w(P.uid),onMouseLeave:()=>w(null),disabled:te,style:{width:"100%",display:"flex",alignItems:"center",gap:"14px",padding:"10px",borderRadius:"8px",backgroundColor:le?l?d.hoverBg:"#f3f4f6":"transparent",border:h===P.uid&&!te?`2px solid ${l?`${c}44`:`${c}66`}`:"2px solid transparent",cursor:te?"not-allowed":"pointer",opacity:te?.6:1,transition:u.transition.interactive},children:[i.jsx("div",{style:{width:"40px",height:"40px",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:l?d.cardBg:"#f3f4f6"},children:j(P)?i.jsx("img",{src:j(P),alt:P.name,style:{width:"26px",height:"26px",objectFit:"contain"}}):i.jsx("span",{style:{fontSize:"16px",fontWeight:"bold",color:l?d.textPrimary:"inherit"},children:P.name.charAt(0)})}),i.jsxs("span",{className:"ibm-plex-mono",style:{fontSize:"17px",fontWeight:500,letterSpacing:"0.4px",color:te?l?d.inputPlaceholder:"#9ca3af":l?d.textPrimary:"#111827",flex:1,textAlign:"left",fontFamily:u.font.mono},children:[le?"Connecting...":P.name,!_&&!le&&i.jsx("span",{style:{fontSize:"12px",marginLeft:"8px"},children:"(Not detected)"})]})]},P.uid)})})]}),J&&!x&&i.jsx("div",{style:{padding:"0 24px 20px"},children:i.jsx(vi,{dk:d,dark:l,message:`Please switch to ${ee} to continue.`,buttonLabel:g?"Switching...":"Switch Network",onAction:ue,disabled:g})}),i.jsx("div",{style:{padding:"0 24px 25px"},children:i.jsx(u.Button,{variant:"outline",fullWidth:!0,onClick:async()=>{Se&&(await pn(300),o?await o():t())},disabled:!Se,theme:m,dark:l,styles:a,children:v?"CONNECTING...":g?"SWITCHING NETWORK...":"CONTINUE"})})]})},_p=({isOpen:e,onClose:t,closeOnBackdropClick:n=!1,deposits:s,onComplete:o,onCancel:r,onSkip:a,onChangeWallet:l,isProcessing:c,error:d,styles:m})=>{const{dark:f,dk:h,theme:w}=u.useSpiceBrand(m);if(!e||s.length===0)return null;const g=s[0],y=m?.fontFamily||u.font.ui,x=u.font.mono,b=u.getChainName(g.chainId),v=parseFloat(g.amount).toPrecision(6).replace(/\.?0+$/,""),C=T.formatUnits(g.verifiedBalance,g.tokenDecimals);return i.jsx(fn,{isOpen:e,onClose:t,title:"Incomplete Deposit",styles:m,closeOnBackdropClick:n,children:i.jsxs("div",{style:{padding:"18px 24px 24px",fontFamily:y},children:[i.jsx("p",{style:{fontSize:"14px",color:h.textSecondary,lineHeight:"1.6",margin:"0 0 18px 0"},children:"Your funds reached your wallet, but the deposit didn't finish."}),i.jsxs("div",{style:{display:"grid",gridTemplateColumns:"minmax(0, 1fr) auto",gap:"14px 18px",marginBottom:"24px",padding:"16px 18px",backgroundColor:f?h.cardBg:"#f8fafc",border:`1px solid ${h.cardBorder}`,borderRadius:f?"14px":"10px",boxShadow:f?"inset 0 1px 0 rgba(255,255,255,0.03)":"0 1px 2px rgba(16,24,40,0.04)"},children:[i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[i.jsx("span",{style:{fontSize:"12px",fontWeight:600,color:h.textSecondary,fontFamily:x,letterSpacing:"0.8px"},children:"NETWORK"}),i.jsx("span",{style:{fontSize:"18px",fontWeight:600,color:h.textPrimary,fontFamily:y,lineHeight:1.2},children:b})]}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"4px",alignItems:"flex-end",textAlign:"right"},children:[i.jsx("span",{style:{fontSize:"12px",fontWeight:600,color:h.textSecondary,fontFamily:x,letterSpacing:"0.8px"},children:"DEPOSITED AMOUNT"}),i.jsxs("span",{style:{fontSize:"24px",fontWeight:700,color:h.successText,fontFamily:x,lineHeight:1.1},children:[v," ",g.tokenSymbol]}),i.jsx("span",{style:{fontSize:"12px",color:h.textSecondary,fontWeight:500,fontFamily:y},children:"Sent to embedded wallet"})]})]}),!g.hasFullBalance&&g.verifiedBalance>0n&&i.jsxs("div",{style:{marginBottom:"16px",padding:"8px 12px",backgroundColor:h.warningBg,border:`1px solid ${f?h.warningBorder:"#fcd34d"}`,borderRadius:"8px",fontSize:"13px",color:h.warningText,lineHeight:"1.4"},children:["Partial balance \u2014 only ",parseFloat(C).toFixed(4)," ",g.tokenSymbol," available."]}),d&&i.jsx("div",{style:{marginBottom:"16px",padding:"10px 12px",backgroundColor:h.errorBg,border:`1px solid ${f?h.errorBorder:"#fca5a5"}`,borderRadius:"8px",fontSize:"13px",color:f?h.errorText:"#991b1b",lineHeight:"1.4"},children:d}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"12px"},children:[i.jsx(u.Button,{variant:"outline",fullWidth:!0,disabled:c,onClick:()=>o(g),theme:w,dark:f,styles:m,children:"CONFIRM DEPOSIT"}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"10px"},children:[i.jsx(u.Button,{variant:"ghost",fullWidth:!0,disabled:c,onClick:()=>r(g),theme:w,dark:f,style:{height:"48px",fontSize:"13px",letterSpacing:"0.4px",color:f?h.textPrimary:"#374151",border:`1px solid ${f?h.cardBorder:"#d1d5db"}`,borderRadius:"12px",backgroundColor:f?"rgba(255,255,255,0.02)":"#ffffff"},children:c?"RETURNING...":"RETURN FUNDS"}),i.jsxs("div",{style:{display:"grid",gridTemplateColumns:l?"1fr 1fr":"1fr",gap:"10px"},children:[i.jsx(u.Button,{variant:"ghost",fullWidth:!0,disabled:c,onClick:a,theme:w,dark:f,style:{height:"44px",fontSize:"12px",letterSpacing:"0.4px",color:h.textSecondary,border:`1px solid ${f?h.cardBorder:"#d1d5db"}`,borderRadius:"12px",backgroundColor:"transparent"},children:"START OVER"}),l&&i.jsx(u.Button,{variant:"ghost",fullWidth:!0,disabled:c,onClick:l,theme:w,dark:f,style:{height:"44px",fontSize:"12px",letterSpacing:"0.4px",color:h.textSecondary,border:`1px solid ${f?h.cardBorder:"#d1d5db"}`,borderRadius:"12px",backgroundColor:"transparent"},children:"CHANGE WALLET"})]})]})]}),s.length>1&&i.jsxs("p",{style:{fontSize:"12px",color:h.textSecondary,textAlign:"center",marginTop:"14px",marginBottom:0,lineHeight:"1.5"},children:[s.length," incomplete deposits found \u2014 resolving one at a time."]})]})})},ef=[{source:"wallet",title:"From Wallet",description:"Deposit crypto you already hold in a connected wallet"},{source:"card",title:"With Card",description:"Buy and deposit using a debit or credit card"},{source:"exchange",title:"From Exchange",description:"Transfer from Coinbase, Binance, or any exchange"}],tf=({isOpen:e,onClose:t,closeOnBackdropClick:n,onSelect:s,styles:o})=>{const{dark:r,dk:a}=u.useSpiceBrand(o),[l,c]=p.useState(null);return i.jsx(fn,{isOpen:e,onClose:t,title:"Deposit",subtitle:"Choose how you want to add funds",styles:o,dark:r,closeOnBackdropClick:n,children:i.jsx("div",{style:{padding:"0 24px 25px",display:"flex",flexDirection:"column",gap:"12px",marginTop:"20px"},children:ef.map(({source:d,title:m,description:f})=>i.jsxs("button",{onClick:()=>s(d),onMouseEnter:()=>c(d),onMouseLeave:()=>c(null),style:{width:"100%",display:"flex",flexDirection:"column",alignItems:"flex-start",gap:"4px",padding:"14px 16px",borderRadius:"8px",border:`1px solid ${r?a.cardBorder:"#e5e7eb"}`,backgroundColor:l===d?r?a.hoverBg:"#f9fafb":r?a.cardBg:"white",cursor:"pointer",textAlign:"left",transition:u.transition.color},children:[i.jsx("span",{style:{fontSize:"15px",fontWeight:600,fontFamily:u.font.ui,color:r?a.textPrimary:"#111827"},children:m}),i.jsx("span",{style:{fontSize:"13px",fontFamily:u.font.ui,color:r?a.textSecondary:"#6b7280"},children:f})]},d))})})},nf=({isOpen:e,onClose:t,onBack:n,closeOnBackdropClick:s,source:o,destinationChainId:r,onShowWidget:a,onHideWidget:l,verifying:c,verifyError:d,onRetryVerify:m,funded:f,styles:h})=>{const{dark:w,dk:g,primaryColor:y,theme:x}=u.useSpiceBrand(h),b=u.getChainName(r),v=p.useRef(null),C=p.useRef(a);C.current=a;const k=p.useRef(l);k.current=l;const I=c||!!d||!!f;return p.useEffect(()=>{if(!e)return;const A=v.current;if(A){if(I){k.current();return}return C.current(A,o),()=>k.current()}},[e,o,I]),i.jsx(fn,{isOpen:e,onClose:t,title:o==="card"?"Deposit with Card":"Deposit from Exchange",styles:h,dark:w,closeOnBackdropClick:s,children:i.jsxs("div",{style:{padding:"0 24px 25px",display:"flex",flexDirection:"column",gap:"12px",marginTop:"12px"},children:[i.jsx("button",{onClick:n,disabled:c,style:{alignSelf:"flex-start",padding:0,border:"none",background:"none",fontSize:"13px",fontFamily:u.font.ui,color:w?g.textSecondary:"#6b7280",cursor:c?"default":"pointer",opacity:c?.5:1},children:"\u2190 Back"}),i.jsxs("div",{style:{position:"relative",width:"100%"},children:[i.jsx("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center"},children:i.jsx(u.Spinner,{size:28,color:y})}),i.jsx("div",{ref:v,style:{position:"relative",width:"100%",height:"560px"}}),I&&i.jsx("div",{style:{position:"absolute",inset:0,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"16px",padding:"24px",borderRadius:"9px",backgroundColor:w?"rgba(0, 0, 0, 0.82)":"rgba(255, 255, 255, 0.94)"},children:c?i.jsxs(i.Fragment,{children:[i.jsx(u.Spinner,{size:28,color:y}),i.jsxs("p",{style:{margin:0,fontSize:"14px",fontFamily:u.font.ui,color:w?g.textPrimary:"#111827",textAlign:"center"},children:["Confirming your deposit arrived on ",b,"\u2026"]})]}):f?i.jsxs(i.Fragment,{children:[i.jsxs("p",{style:{margin:0,fontSize:"14px",fontFamily:u.font.ui,color:w?g.textPrimary:"#111827",textAlign:"center"},children:[f.amount," ",f.symbol," is in your wallet on"," ",b,"."]}),i.jsx(u.Button,{variant:"outline",onClick:t,theme:x,dark:w,styles:h,children:"DONE"})]}):i.jsxs(i.Fragment,{children:[i.jsx("p",{style:{margin:0,fontSize:"14px",fontFamily:u.font.ui,color:w?g.textPrimary:"#111827",textAlign:"center"},children:d}),i.jsx(u.Button,{variant:"outline",onClick:m,theme:x,dark:w,styles:h,children:"RETRY"}),i.jsx("button",{onClick:t,style:{padding:0,border:"none",background:"none",fontSize:"13px",fontFamily:u.font.ui,color:w?g.textSecondary:"#6b7280",cursor:"pointer",textDecoration:"underline"},children:"Close \u2014 we'll detect your funds later"})]})})]})]})})},sf="692fb8af264069ca12a9",as=42161,of=[8453,as];function rf(e){const{targetKind:t,appChainId:n}=e;return t!=="external"||n===void 0||!of.includes(n)?as:S.getTokenBySymbol("USDC",n)?n:as}function So(e=as){return S.getTokenBySymbol("USDC",e)}function af(e){const t=e?.integratorId??sf;return{integratorId:t,enabled:e?.enabled===!0&&t!=="",embedFactory:e?.embedFactory}}const lf=e=>import("@swapper-finance/deposit-sdk").then(t=>new t.SwapperEmbed(e));function cf(e,t,n){return{themeMode:t?"dark":"light",componentStyles:{width:"100%",primaryColor:n,accentColor:n,borderRadius:"9px",...t?{backgroundColor:e.shell,surfaceColor:e.cardBg,surfaceAltColor:e.inputBg,textColor:e.textPrimary,border:`1px solid ${e.cardBorder}`}:{}}}}function Wl(e){return e==="card"?["depositWithCash"]:e==="exchange"?["transferCrypto"]:["depositWithCash","transferCrypto"]}function df(e){const t=e.destinationChainId??as,n=So(t);if(!n)throw new Error("USDC is not configured for the Swapper destination chain");return{iframeUrl:"https://swapper-deposit-sdk.web.app/",integratorId:e.integratorId,dstChainId:String(t),dstTokenAddr:n.address,depositWalletAddress:e.depositWalletAddress,supportedDepositOptions:Wl(e.source),styles:e.styles,actionLabel:"deposit",flexibleHeight:!0,iframeAttributes:{borderRadius:"9px"}}}async function Ll(e,t=as){const n=So(t);if(!n)throw new Error("USDC is not configured for the Swapper destination chain");return u.getClientForChain(t).readContract({address:n.address,abi:T.erc20Abi,functionName:"balanceOf",args:[e]})}async function uf(e,t,n){const s=n?.timeoutMs??12e4,o=n?.intervalMs??3e3,r=Date.now()+s;for(;Date.now()<r;){if(n?.signal?.aborted)return null;try{const a=await Ll(e,n?.chainId);if(a>t)return a}catch{}await new Promise(a=>setTimeout(a,o))}return null}function pf({enabled:e,integratorId:t,depositWalletAddress:n,destinationChainId:s,brand:o,embedFactory:r,onTransactionSuccess:a,onCloseRequest:l}){const c=p.useRef(null),d=p.useRef(null),m=p.useRef(a);m.current=a;const f=p.useRef(l);f.current=l;const h=p.useRef(o);h.current=o;const w=p.useRef(r);w.current=r;const g=p.useCallback((b,v,C)=>{if(!v.isConnected)return;const k=b.getIframe();k.updateConfig({supportedDepositOptions:Wl(C)}),k.sendConfig(),b.showIn(v)},[]);p.useEffect(()=>{if(!e||!n)return;let b=!1;return Promise.resolve().then(()=>{const{dk:v,dark:C,primaryColor:k}=h.current;return(w.current??lf)(df({integratorId:t,depositWalletAddress:n,destinationChainId:s,source:null,styles:cf(v,C,k)}))}).then(v=>{if(b){v.destroy();return}const C=v.getIframe();C.on("transaction_success",I=>m.current(I)),C.on("close_request",()=>f.current()),c.current=v;const k=d.current;k&&g(v,k.placeholder,k.source)}).catch(v=>{console.error("[useSwapperEmbed] Failed to preload Swapper widget:",v)}),()=>{b=!0,d.current=null,c.current?.destroy(),c.current=null}},[e,t,n,s,g]);const y=p.useCallback((b,v)=>{d.current={placeholder:b,source:v};const C=c.current;C&&g(C,b,v)},[g]),x=p.useCallback(()=>{d.current=null,c.current?.hide()},[]);return{showWidget:y,hideWidget:x}}function ff(e,t,n,s,o){return{address:t,symbol:n||"UNKNOWN",name:n||"Unknown Token",decimals:s||18,chainId:e,balance:0n,balanceFormatted:o?parseFloat(o):0,balanceUsd:0,isNative:S.isNativeToken(t)}}const mf=({isOpen:e,onClose:t,closeOnBackdropClick:n=!1,styles:s,depositBatches:o,onDepositAmountChange:r,destinationChainId:a,destinationTokenAddress:l,onDepositExecute:c,depositActionLabel:d,sponsorGas:m=!1,escrowRecovery:f,skipTokenSelection:h=!1,directSubmit:w=!1,onSubmit:g,onDepositSuccess:y,onDepositError:x,skipRecovery:b=!0})=>{const v=p.useContext(u.SpiceFlowProviderContext);if(!v)return i.jsx("div",{children:"Error: SpiceDeposit must be used within SpiceFlowProvider"});const C=(v.mode||"7702")!="7702",k=C,I=v.nativeChainId,A=v.network||"testnet",{dark:E,dk:D,primaryColor:R}=u.useSpiceBrand(s),B=!!f,W=u.useWallet(),{isReady:O,isAuthenticated:M,actions:U}=W,F=v?.embeddedWalletAddress,N=v.externalWalletAddress,L=!!N,q=af(v.swapper),oe=k?{address:N,kind:"external"}:{address:F,kind:"embedded"},pe=rf({targetKind:oe.kind,appChainId:a||I}),ae=q.enabled&&!B&&A==="mainnet"&&!!So(pe),Q=()=>h?"deposit":"select-token",$=()=>ae?"select-source":k?L?Q():"connect-wallet":"provider-login",[X,ee]=p.useState($()),[Y,we]=p.useState(null),[be,j]=p.useState(!1),[K,Z]=p.useState(null),[G,ue]=p.useState(!1),[me,Se]=p.useState(null),[J,P]=p.useState(null),[_,le]=p.useState(null),te=p.useRef(null),ne=p.useRef(null),{pendingDeposits:Ie,loading:ge,refresh:fe}=_a(F,{enabled:e&&!b,network:A,chainIds:v.supportedChainIds}),[Ce,st]=p.useState(null),[ve,ze]=p.useState(!1),[Ze,He]=p.useState(null),[et,tt]=p.useState(!1),[ot,gt]=p.useState("idle");p.useEffect(()=>{e&&!b&&!B&&!Ce&&!et&&ot==="idle"&&M&&F&&L&&N&&!ge&&Ie.length>0&&X!=="recovery"&&X!=="deposit"&&X!=="swapper"&&ee("recovery")},[e,b,B,M,F,L,N,ge,Ie,X,Ce,et,ot]);const Xe=p.useCallback(z=>{const $e={address:z.tokenAddress,symbol:z.tokenSymbol,name:z.tokenSymbol,decimals:z.tokenDecimals,chainId:z.chainId,balance:z.verifiedBalance,balanceFormatted:parseFloat(z.amount),balanceUsd:0,isNative:z.isNative};we($e),st(z),ee("deposit")},[]),ct=p.useCallback(z=>{if(Z(z),k){ee(L?z==="wallet"?Q():"swapper":"connect-wallet");return}const $e=M&&!!F;ee(z==="wallet"?$e?L?Q():"connect-wallet":"provider-login":$e?"swapper":"provider-login")},[k,M,F,L,h]),Pe=p.useCallback(()=>{ne.current?.abort(),ue(!1),Se(null),P(null),Z(null),te.current=null,le(null),ee("select-source")},[]);p.useEffect(()=>{X==="swapper"&&(_||!oe.address||le({address:oe.address,kind:oe.kind}))},[X,_,oe.address,oe.kind]);const lt=_??oe,Me=lt.address,ht=lt.kind,Ct=p.useCallback(async z=>{if(!e||X!=="swapper"||!Me)return;ne.current?.abort();const $e=new AbortController;ne.current=$e,Se(null),ue(!0);const Re=So(pe);if(!Re){ue(!1);return}const Ve=rt=>{ue(!1);const wt=T.formatUnits(rt,Re.decimals);if(ht==="external"){P({amount:wt,symbol:Re.symbol});const Ft={type:"wallet-funding",status:"success",amount:wt,asset:Re.address,sourceChain:String(pe)};window.dispatchEvent(new CustomEvent("spiceflow:action",{detail:Ft})),y?.(Ft);return}Xe({chainId:pe,tokenAddress:Re.address,tokenSymbol:Re.symbol,tokenDecimals:Re.decimals,amount:wt,rawAmount:rt.toString(),embeddedWalletAddress:Me,externalWalletAddress:"",timestamp:0,isNative:!1,verifiedBalance:rt,hasFullBalance:!0})},Mt=te.current,At=await Mt;if($e.signal.aborted||te.current!==Mt)return;if(At===null){ue(!1),Se("Unable to confirm your starting balance. Go back and reopen the deposit to try again.");return}const Oe=await uf(Me,At,{signal:$e.signal,chainId:pe});if(!$e.signal.aborted){if(Oe===null){ue(!1);const rt=u.getChainConfig(pe)?.viemChain?.name??`chain ${pe}`;Se(`We haven't seen your funds arrive on ${rt} yet \u2014 they may still be in transit.`);return}Ve(Oe)}},[e,X,Me,ht,pe,Xe,y]);p.useEffect(()=>{if(!e||X!=="swapper"||!Me)return;const z=Ll(Me,pe).catch(()=>null);return te.current=z,()=>{te.current===z&&(te.current=null),ne.current?.abort()}},[e,X,Me,pe]);const{showWidget:Je,hideWidget:ft}=pf({enabled:e&&ae,integratorId:q.integratorId,depositWalletAddress:Me,destinationChainId:pe,brand:{dk:D,dark:E,primaryColor:R},embedFactory:q.embedFactory,onTransactionSuccess:Ct,onCloseRequest:()=>{G||Pe()}}),Be=p.useCallback(()=>{tt(!0),ee(M&&F&&L&&N?h?"deposit":"select-token":M&&F?"connect-wallet":"provider-login")},[M,F,L,N,h]),dt=p.useCallback(()=>{He(null),gt("awaiting-disconnect"),ee("connect-wallet")},[]),De=p.useCallback(async z=>{ze(!0),He(null);try{if(!F)throw new Error("Embedded wallet not available");const $e=await U.getEthereumProvider(),Re=u.getChainConfig(z.chainId);await u.ensureWalletOnChain($e,z.chainId);const Ve=u.getClientForChain(z.chainId),Mt=await un.getBalance(Ve,{address:F}),At=Re?.viemChain?.name||`chain ${z.chainId}`;if(Mt===0n)throw new Error(`Your embedded wallet has no ETH on ${At} to pay for gas. We recommend completing the deposit instead \u2014 it doesn't require gas.`);const Oe=T.createWalletClient({account:F,transport:T.custom($e),chain:Re?.viemChain}),rt=z.externalWalletAddress&&T.isAddress(z.externalWalletAddress)?z.externalWalletAddress:N;if(!rt||!T.isAddress(rt))throw new Error("Connect the external wallet that should receive these funds, then try again.");const wt={recipient:rt,tokenAddr:z.tokenAddress,isNative:z.isNative||S.isNativeToken(z.tokenAddress),amount:z.verifiedBalance,viemChain:Re?.viemChain},Ft=await ir(Oe,wt),{receipt:nt}=await ao({client:Ve,hash:Ft,call:uo(wt.recipient,wt.tokenAddr,wt.isNative,wt.amount),confirmations:1});if(nt.status!=="success")throw new Error("The return transaction failed. Please try again.");Jo(z.embeddedWalletAddress,z.chainId,z.tokenAddress),fe(),Ie.length<=1&&ee($())}catch($e){const Re=$e?.message||"Couldn't return your funds. Please try again.",Ve=/insufficient funds for gas/i.test(Re);He(Ve?"Not enough ETH in your embedded wallet to cover gas fees. Complete the deposit instead \u2014 it doesn't require gas.":Re)}finally{ze(!1)}},[U,F,N,Ie,fe]);p.useEffect(()=>{e||(st(null),He(null),ze(!1),tt(!1),gt("idle"),ne.current?.abort(),Z(null),ue(!1),Se(null),P(null),te.current=null,le(null))},[e]),p.useEffect(()=>{if(!(b||ot==="idle")){if(ot==="awaiting-disconnect"){(!L||!N)&>("awaiting-reconnect");return}e&&!ge&&Ie.length>0&&M&&F&&(gt("idle"),ee("recovery"))}},[b,ot,L,N,e,ge,Ie,M,F]),p.useEffect(()=>{!B||!e||(M&&F?(j(!0),!Y&&f?.chainId&&f?.tokenAddress&&we(ff(f.chainId,f.tokenAddress,f.tokenSymbol,f.tokenDecimals,f.amount)),ee("deposit")):ee("provider-login"))},[B,e,X,M,F]);const{assets:re,loading:de}=Cs({address:N,supportedChains:v.supportedChainIds,fetchBalances:Yn,enabled:e&&!!N,refreshInterval:e?5e3:0}),Ee=p.useCallback(()=>{j(!0),ee(B?"deposit":K==="card"||K==="exchange"?"swapper":L?h?"deposit":"select-token":"connect-wallet")},[B,K,L,h]),Fe=p.useCallback(async()=>{if((!L||!N)&&(await pn(500),!L||!N)){alert("Please connect your wallet first");return}ee(h?"deposit":"select-token")},[L,N,h]),ce=p.useCallback(z=>{we(z),ee("deposit")},[]),We=p.useCallback(()=>{if(we(null),r?.(""),!N){ee("connect-wallet");return}ee("select-token")},[N,r]),je=p.useCallback(()=>{t()},[t]);if(p.useEffect(()=>{if(!e){const z=setTimeout(()=>{B||(ee($()),we(null)),j(!1)},300);return()=>clearTimeout(z)}},[e,B,f?.chainId]),p.useEffect(()=>{e&&X==="deposit"&&!Y&&!B&&!Ce&&!h&&ee("select-token")},[e,X,Y,B,Ce,h]),p.useEffect(()=>{if(e&&X==="connect-wallet"&&L&&N&&ot==="idle"){if(ae&&!K){ee("select-source");return}if(ae&&K&&K!=="wallet"){ee("swapper");return}ee(h?"deposit":"select-token")}},[e,X,L,N,ot,h,ae,K]),p.useEffect(()=>{if(!k&&e&&X==="provider-login"&&O&&M&&F&&!be){const z=setTimeout(()=>{j(!0),ee(K==="card"||K==="exchange"?"swapper":L?h?"deposit":"select-token":"connect-wallet")},100);return()=>clearTimeout(z)}},[k,e,X,O,M,F,K,L,h,be]),!e)return null;if(X==="recovery")return i.jsx(_p,{isOpen:e,onClose:je,closeOnBackdropClick:n,deposits:Ie,onComplete:Xe,onCancel:De,onSkip:Be,onChangeWallet:dt,isProcessing:ve,error:Ze,styles:s});if(X==="select-source")return ae?i.jsx(tf,{isOpen:e,onClose:je,closeOnBackdropClick:n,onSelect:ct,styles:s}):(ee("provider-login"),null);if(X==="swapper")return K!=="card"&&K!=="exchange"?(ee($()),null):Me?i.jsx(nf,{isOpen:e,onClose:je,onBack:Pe,closeOnBackdropClick:n,source:K,destinationChainId:pe,onShowWidget:Je,onHideWidget:ft,verifying:G,verifyError:me,onRetryVerify:Ct,funded:J,styles:s}):i.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(0, 0, 0, 0.5)",display:"flex",alignItems:"center",justifyContent:"center",padding:"16px",zIndex:50},children:i.jsx("div",{style:{backgroundColor:E?D.cardBg:"white",borderRadius:"9px",padding:"32px 24px",maxWidth:"400px",width:"100%",textAlign:"center",fontFamily:'"Helvetica Neue", sans-serif',fontSize:"14px",color:E?D.textPrimary:"#111827"},children:"Preparing your account..."})});if(X==="provider-login"&&!k)return i.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(0, 0, 0, 0.5)",display:"flex",alignItems:"center",justifyContent:"center",padding:"16px",zIndex:50},children:i.jsx("div",{style:{backgroundColor:E?D.cardBg:"white",borderRadius:"9px",padding:"32px 24px",maxWidth:"400px",width:"100%"},children:i.jsx(mr,{onAuthSuccess:Ee,autoTrigger:!0})})});if(X==="connect-wallet")return i.jsx($p,{isOpen:e,onClose:je,closeOnBackdropClick:n,onContinue:Fe,requiredChainId:C?I:void 0,styles:s});if(X==="select-token")return N?i.jsx(Yp,{isOpen:e,onClose:je,closeOnBackdropClick:n,onTokenSelect:ce,walletAddress:N,supportedChainIds:v.supportedChainIds,network:A,prefetchedAssets:de?null:re??null,styles:s,dark:E}):(ee("connect-wallet"),null);if(X==="deposit"){if(!Y&&!h)return null;const z=!!Ce;return i.jsx(Di,{isOpen:e,onClose:je,closeOnBackdropClick:n,supportedChains:Y?[Y.chainId]:v.supportedChainIds??[],styles:s,externalWalletAddress:N,depositBatches:z?void 0:o,onDepositAmountChange:r,destinationChainId:a,destinationTokenAddress:l,onDepositExecute:c,depositActionLabel:d,nativeChainId:I,sponsorGas:m,preSelectedAsset:Y??void 0,escrowOnly:B||z,escrowTokenAddress:z?Ce.tokenAddress:f?.tokenAddress,escrowAmount:z?Ce.amount:f?.amount,escrowTokenDecimals:z?Ce.tokenDecimals:f?.tokenDecimals,escrowTokenSymbol:z?Ce.tokenSymbol:f?.tokenSymbol,onSubmit:g,directSubmit:w,onDepositSuccess:y,onDepositError:x,embeddedWalletAddress:F,onViewAllAssets:h?void 0:We})}return null},ql=e=>p.useContext(u.SpiceFlowProviderContext)?i.jsx(mf,{...e}):i.jsx("div",{children:"Error: SpiceDeposit must be used within SpiceFlowProvider"}),hf=({depositProps:e,withdrawProps:t,...n})=>{const[s,o]=p.useState(!1),[r,a]=p.useState(null);return i.jsxs(i.Fragment,{children:[i.jsx(Pl,{...n,onDepositClick:()=>o(!0),onWithdrawClick:l=>a({assetId:l})}),i.jsx(ql,{styles:n.styles,onDepositSuccess:n.onDepositSuccess,...e,isOpen:s,onClose:()=>o(!1)}),i.jsx(Dr,{styles:n.styles,...t,isOpen:!!r,onClose:()=>a(null),initialSourceAssetId:r?.assetId})]})},gf=({isOpen:e,onClose:t,onChainSelect:n,supportedChains:s,closeOnSelect:o=!0,styles:r})=>{const{theme:a,dark:l,primaryColor:c,dk:d}=u.useSpiceBrand(r),[m,f]=p.useState(""),[h,w]=p.useState(null),[g,y]=p.useState(null),[x,b]=p.useState(!1),[v,C]=p.useState(null),{switchChainAsync:k}=Cn.useSwitchChain(),I=p.useMemo(()=>new Set(s||[]),[s]),A=p.useMemo(()=>{if(!s||s.length===0)return[];const B=[];return s.forEach((W,O)=>{if(typeof W!="number")return;const M=u.getChainConfig(W);M&&B.push({id:W.toString(),name:M.displayName,icon:Bn[W]||ys,chainId:W,verified:!0,order:O})}),B},[s]);p.useEffect(()=>{h&&!I.has(parseInt(h,10))&&w(null)},[h,I]);const E=p.useMemo(()=>A.filter(B=>B.name.toLowerCase().includes(m.toLowerCase())).sort((B,W)=>B.order-W.order),[A,m]),D=async()=>{if(!h)return;const B=parseInt(h,10);b(!0),C(null);try{await k({chainId:B}),n&&n(h),o&&t()}catch(W){console.error("Failed to switch chain:",W),C(u.sanitizeError(W,"Failed to switch chain."))}finally{b(!1)}},R=!h||x;return i.jsxs(fn,{isOpen:e,onClose:t,title:"Select Chain",styles:r,theme:a,dark:l,children:[i.jsx("div",{style:{padding:"24px 20px"},children:i.jsx(pr,{value:m,onChange:f,ariaLabel:"Search chains",placeholder:"Search chain name, symbol or address",size:"md",dark:l,styles:r,endAdornment:i.jsx("div",{style:{padding:"5px 5px",borderRadius:"3px",fontSize:"13px",backgroundColor:l?d.cardBg:"#E9E9E9",color:l?d.textSecondary:"#485066",fontWeight:500,flexShrink:0},"aria-hidden":"true",children:"\u2318F"})})}),i.jsx("div",{style:{padding:"0 32px 20px",display:"flex",flexDirection:"column",gap:"12px"},children:E.map(B=>{const W=h===B.id,O=g===B.id;return i.jsxs("button",{onClick:()=>w(B.id),onMouseEnter:()=>y(B.id),onMouseLeave:()=>y(null),style:{width:"100%",display:"flex",alignItems:"center",gap:"16px",padding:"8px",borderRadius:"8px",backgroundColor:W?l?`${c}15`:`${c}12`:"transparent",border:W?l?`1px solid ${c}66`:`1px solid ${c}88`:O?l?`1px solid ${c}44`:`1px solid ${c}66`:"1px solid transparent",cursor:"pointer",transition:u.transition.interactive},children:[i.jsx("div",{style:{width:"40px",height:"40px",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"30px"},children:i.jsx("img",{src:B.icon,alt:B.name,loading:"lazy",decoding:"async",style:{width:"100%",height:"100%",borderRadius:"50%"}})}),i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px",flex:1},children:[i.jsx("span",{style:{fontFamily:u.font.mono,fontSize:"17px",fontWeight:500,letterSpacing:"0.4px",color:d.textPrimary,textAlign:"left"},children:B.name}),B.verified&&i.jsx("img",{src:Ml,alt:"","aria-hidden":"true",loading:"lazy",decoding:"async",width:16,height:16,style:{width:"16px",height:"16px",filter:l?"brightness(0) invert(1)":"none"}})]})]},B.id)})}),v&&i.jsx("div",{style:{padding:"0 25px 12px"},children:i.jsx(Jt,{variant:"error",size:"compact",palette:d,children:v})}),i.jsx("div",{style:{padding:"0 25px 25px"},children:i.jsxs(u.Button,{variant:"outline",onClick:D,disabled:R,fullWidth:!0,theme:a,styles:r,dark:l,children:["SELECT",i.jsx(_d,{size:20})]})})]})};function zl(e){const t=Al({enabled:e.enabled,chainId:e.lockChainId,address:e.destinationTokenAddress,decimals:e.destinationTokenDecimals,symbol:e.lockTokenSymbol,logoURI:e.lockTokenLogoURI}),n=t.token,s=p.useCallback((a,l)=>{if(!t.ready)throw new Error("Lock token metadata is unavailable.");const c={...n,name:n.symbol,isNative:S.isNativeToken(n.address),balance:0n,balanceFormatted:0,balanceUsd:0},d=typeof e.lockBatches=="function"?e.lockBatches({asset:c,amount:T.formatUnits(a,c.decimals),amountWei:a,feeAdjusted:!0,beneficiary:l.beneficiary??l.userAddress,executorAddress:l.executorAddress}):e.lockBatches;if(d.some(m=>m.chainId!==e.lockChainId||m.domain==="spicenet"||m.tokenTransfers?.some(f=>f.from!=="escrow"||!u.addressesEqual(f.token,n.address))))throw new Error("Lock action definitions must contain destination contract calls; the SDK supplies conversion and delivery.");return d.flatMap(m=>m.calls)},[t.ready,n,e.lockBatches,e.lockChainId]),o=Os({enabled:t.ready,destinationToken:t.ready?n:void 0,selectedAsset:e.selectedAsset,amountDirection:"input-inclusive",feeFunding:e.feeFunding,combineSourceBalances:e.combineSourceBalances,recipient:e.beneficiary,buildActionCalls:s,buildSpicenetBatch:e.buildSpicenetBatch,onSubmit:e.onSubmit,onSuccess:e.onLockSuccess,onError:(a,l)=>e.onLockError?.(a.message,l)}),r=p.useCallback(()=>{t.refresh(),o.quote.refreshQuote()},[t.refresh,o.quote.refreshQuote]);return{...o,quote:{...o.quote,refreshQuote:r},destination:n,metadataError:t.error,canExecute:t.ready&&o.canExecute}}function xf(e){const t=new Date;t.setDate(t.getDate()+Math.floor(e*30));const n=["January","February","March","April","May","June","July","August","September","October","November","December"],s=t.getDate(),o=s===1||s===21||s===31?"st":s===2||s===22?"nd":s===3||s===23?"rd":"th";return`${n[t.getMonth()]} ${s}${o} ${t.getFullYear()}`}const yf=({label:e,value:t,fontFamily:n,dark:s=!1,textPrimary:o="#111827",textSecondary:r="#6b7280"})=>i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"4px"},children:[i.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 14 14",fill:"none",style:{flexShrink:0},children:[i.jsx("circle",{cx:"7",cy:"7",r:"6.5",stroke:r,strokeWidth:"1.2"}),i.jsx("path",{d:"M7 6v4",stroke:r,strokeWidth:"1.2",strokeLinecap:"round"}),i.jsx("circle",{cx:"7",cy:"4.5",r:"0.7",fill:r})]}),i.jsx("span",{style:{fontSize:"13px",color:r,fontFamily:n},children:e})]}),i.jsx("span",{style:{fontSize:s?"17px":"13px",fontWeight:700,color:o,fontFamily:u.font.mono,letterSpacing:"0.3px"},children:t})]}),Hl=p.memo(yf),wf=({options:e,selectedIndex:t,onSelect:n,primaryColor:s,dark:o=!1,textPrimary:r="#111827",textSecondary:a="#6b7280",trackColor:l})=>{const c=e.length-1,d=l||(o?"#3a3a3a":"#d1d5db"),m=o?"4px":"50%",f=o?"none":"2px solid white",h=o?"none":`0 0 0 1px ${s}`;return i.jsxs("div",{style:{width:"100%",userSelect:"none"},children:[i.jsxs("div",{style:{position:"relative",paddingBottom:"4px"},children:[i.jsx("div",{style:{position:"absolute",top:"50%",left:0,right:0,height:"4px",background:d,borderRadius:"2px",transform:"translateY(-50%)",pointerEvents:"none"}}),i.jsx("div",{style:{position:"absolute",top:"50%",left:0,width:`${t/c*100}%`,height:"4px",background:s,borderRadius:"2px",transform:"translateY(-50%)",pointerEvents:"none",transition:"width 0.15s ease"}}),i.jsx("input",{type:"range","aria-label":"Lock duration","aria-valuetext":e[t]?.label,"data-spiceflow-focus":!0,min:0,max:c,step:1,value:t,onChange:w=>n(Number(w.target.value)),style:{WebkitAppearance:"none",appearance:"none",width:"100%",height:"20px",background:"transparent",cursor:"pointer",outline:"none",border:"none",position:"relative",zIndex:1,margin:0,padding:0}})]}),i.jsx("div",{style:{display:"flex",justifyContent:"space-between",marginTop:"6px"},children:e.map((w,g)=>i.jsxs("div",{onClick:()=>n(g),style:{display:"flex",flexDirection:"column",alignItems:g===0?"flex-start":g===c?"flex-end":"center",cursor:"pointer",flex:1},children:[i.jsx("span",{style:{fontSize:"12px",fontWeight:g===t?700:400,color:g===t?r:a,whiteSpace:"nowrap",transition:"color 0.15s, font-weight 0.15s"},children:w.label}),w.highlight&&i.jsx("span",{style:{fontSize:"10px",color:a,whiteSpace:"nowrap"},children:"(most common)"})]},g))}),i.jsx("style",{children:`
|
|
50
50
|
input[type='range']::-webkit-slider-thumb {
|
|
51
51
|
-webkit-appearance: none;
|
|
52
52
|
width: 20px;
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
input[type='range']::-webkit-slider-thumb:hover {
|
|
71
71
|
transform: scale(1.12);
|
|
72
72
|
}
|
|
73
|
-
`})]})},bf=p.memo(wf),vf=({isOpen:e,onClose:t,closeOnBackdropClick:n=!1,lockBatches:s,lockTokenSymbol:o,lockTokenLogoURI:r,destinationInputHook:a,sourceAssetInputHook:l,lockDurationHook:c,lockChainId:d,durationOptions:m,votingPowerEstimate:f,destinationTokenAddress:h,destinationTokenDecimals:w,beneficiary:g,onSubmit:y,onLockSuccess:x,onLockError:b,onLockExecute:v,sourceToDestinationConversionRate:C,onAddFunds:k,buildSpicenetBatch:A,feeFunding:I,combineSourceBalances:E,styles:N,dark:R})=>{const{theme:B,dark:U,primaryColor:O,dk:W}=u.useSpiceBrand(N,R),D=B.typography.fontFamily,F=U?W.cardBg:N?.assetSelector?.backgroundColor||N?.secondaryBackground||"#e9e9e9",P=U?`1px solid ${W.cardBorder}`:"0.5px solid #A8A8A7",q=U?"12px":"6px",L=U?W.textPrimary:"#111827",ne=U?W.textSecondary:"#6b7280",pe=p.useMemo(()=>({...N,assetSelector:{...N?.assetSelector,backgroundColor:U?W.cardBg:N?.assetSelector?.backgroundColor,borderRadius:U?"12px":N?.assetSelector?.borderRadius},secondaryBackground:U?W.cardBg:N?.secondaryBackground}),[N,U]),ce=p.useMemo(()=>U?{...B,colors:{...B.colors,secondary:W.cardBg,surfaceHover:W.hoverBg,border:W.cardBorder,borderHover:W.inputBorder}}:B,[U,B]),[X,z]=p.useState(null),V=p.useRef(!1);p.useEffect(()=>{e||(V.current=!1)},[e]);const[fe,Y]=p.useState(0),Ce=c?.selectedDurationIdx??fe,be=c?.setSelectedDurationIdx??Y,j=c?.selectedDuration??m[Ce]??m[0],Z=zl({enabled:e&&!v,selectedAsset:X,lockBatches:s,lockChainId:d,lockTokenSymbol:o,lockTokenLogoURI:r,destinationTokenAddress:h,destinationTokenDecimals:w,beneficiary:g,onSubmit:y,onLockSuccess:x,onLockError:b,buildSpicenetBatch:A,feeFunding:I,combineSourceBalances:E}),$=Z.assets.selectable,{isExecuting:H,step:me,txHash:ge}=Z.status,[je,K]=p.useState(!1),M=Number(X?.amount||"0"),J=Z.quote.isDirect,ae=!J,oe=Z.fees.error,ee=Z.fees.isLoading,Ae=Z.fees.preview,te=M>0,Re={error:Z.quote.quoteError,isQuoting:Z.quote.isQuoting},We=v?"Move onLockExecute protocol calls to lockBatches and application updates to onLockSuccess before continuing.":Z.metadataError||Z.status.error||oe||Re.error,ot=Z.canExecute,ve=Z.fees.destinationAmount,Ge=ve===void 0?"0":T.formatUnits(ve,Z.destination.decimals),De=Number(Ge),at=De>0?De.toLocaleString(void 0,{maximumSignificantDigits:6}):null,Pe=$.find(Ue=>Ue.chainId===d&&Ue.address.toLowerCase()===Z.destination.address.toLowerCase()),it=Pe&&Pe.balanceFormatted>0&&Pe.balanceUsd>0?Pe.balanceUsd/Pe.balanceFormatted:C&&C>0?C:null,nt=it===null?null:(De*it).toFixed(2),xt=X&&X.asset.balanceFormatted>0&&X.asset.balanceUsd>0?X.asset.balanceUsd/X.asset.balanceFormatted:J?it:null,Ke=xt===null?void 0:`$${(M*xt).toFixed(2)}`,lt=f&&De>0&&j?f(De,j.months):void 0,Ee=p.useCallback(Ue=>{z(rt=>({asset:Ue,amount:rt&&ye(rt.asset)===ye(Ue)?rt.amount:""})),Z.retrySupply(),l?.setSelectedAsset({address:Ue.address,symbol:Ue.symbol,decimals:Ue.decimals,chainId:Ue.chainId})},[l?.setSelectedAsset,Z.retrySupply]),st=p.useCallback(Ue=>{z(rt=>rt&&{...rt,amount:Ue}),l?.setAssetAmount(Ue),Z.retrySupply()},[l?.setAssetAmount,Z.retrySupply]);p.useEffect(()=>{if(Z.capability?.policyExcluded){z(null);return}H||Z.assets.loading||Z.assets.refreshing||Z.assets.error||z(Ue=>{if(!Ue)return V.current||!$[0]?null:(V.current=!0,{asset:$[0],amount:l?.assetAmount??""});const rt=$.find(Le=>ye(Le)===ye(Ue.asset));return rt?rt===Ue.asset?Ue:{...Ue,asset:rt}:Ue.asset.balance===0n?Ue:{...Ue,asset:{...Ue.asset,balance:0n,balanceFormatted:0,balanceUsd:0}}})},[$,H,Z.assets.loading,Z.assets.refreshing,Z.assets.error,Z.capability?.policyExcluded]),p.useEffect(()=>{a&&(a.setSelectedAsset(Z.destination),a.setAssetAmount(Ge))},[Z.destination,Ge,a?.setSelectedAsset,a?.setAssetAmount]);const Je=async()=>{K(!0),await Z.submitSupply()},ft=()=>{K(!1),Z.retrySupply()},yt=()=>{K(!1),z(null),Z.resetAfterSuccess()},Xe=i.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:"6px"},children:[i.jsx(nr,{color:ne}),i.jsxs("p",{style:{fontSize:"13px",color:ne,margin:0,lineHeight:"1.5"},children:["Add ",o," by converting assets from your account"]})]});if(!e)return null;const ct={backgroundColor:F,border:P,borderRadius:q,padding:"16px",marginBottom:"16px"};return i.jsx(pn,{isOpen:e,onClose:t,title:`Add ${o} to your account`,subtitle:Xe,styles:N,dark:U,footerLinkText:"Spicenet accounts \u2192",closeOnBackdropClick:n,children:i.jsxs("div",{style:{padding:"0 24px 8px 24px",position:"relative"},children:[i.jsx(mo,{activity:Z.status.activity,palette:W,onRefresh:()=>{Z.assets.refreshSpiceAssets(),Z.assets.refreshWalletAssets()}}),i.jsxs("div",{style:{marginBottom:"12px"},children:[k&&i.jsx("div",{style:{display:"flex",justifyContent:"flex-end",marginBottom:"6px"},children:i.jsx(dr,{onClick:k,color:O,fontFamily:D})}),i.jsx("div",{style:{marginTop:"10px",fontSize:"13px",color:ne,fontFamily:D},children:i.jsx($n,{assets:$,selectedAsset:X??void 0,onAssetSelect:Ee,onAmountChange:st,label:"Amount",showBalance:!0,getAvailableBalance:Z.assets.getAvailableBalance,showMaxButton:!0,disabled:H||Z.status.finalizing,maxAmount:X&&Z.amount.availableBalance!==void 0?T.formatUnits(Z.amount.availableBalance,X.asset.decimals):void 0,resolveMaxAmount:Z.resolveMaxAmount,theme:ce,styles:pe})}),i.jsx("div",{style:{marginTop:"6px",paddingLeft:"4px",fontSize:"13px",color:ne,fontFamily:D},children:Ke})]}),i.jsxs("div",{style:ct,children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingBottom:"16px",borderBottom:U?`1px solid ${W.cardBorder}`:"1px solid #e5e7eb"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"10px"},children:[r?i.jsx("img",{src:r,alt:o,style:{width:"32px",height:"32px",borderRadius:"50%",objectFit:"cover"}}):i.jsx("div",{style:{width:"32px",height:"32px",borderRadius:"50%",backgroundColor:U?W.inputBg:"#d1d5db",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"12px",fontWeight:700,color:L},children:o.slice(0,2)}),i.jsx("span",{style:{fontSize:"16px",fontWeight:600,color:L,fontFamily:D},children:o})]}),i.jsxs("div",{style:{textAlign:"right"},children:[i.jsx("div",{style:{fontSize:"22px",fontWeight:700,color:L,fontFamily:D,lineHeight:1.1},children:at??"0.00"}),(!ae||nt!==null)&&i.jsxs("div",{style:{fontSize:"12px",color:ne,fontFamily:D,marginTop:"2px"},children:["~$",nt??"0.00"]})]})]}),i.jsxs("div",{style:{paddingTop:"16px",paddingBottom:"16px",borderBottom:U?`1px solid ${W.cardBorder}`:"1px solid #e5e7eb"},children:[i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"16px"},children:[i.jsx("span",{style:{fontSize:"15px",fontWeight:500,color:ne,fontFamily:D},children:"Lock Duration"}),i.jsx(Jn,{color:ne})]}),i.jsx(bf,{options:m,selectedIndex:Ce,onSelect:Ue=>{!H&&!Z.status.finalizing&&be(Ue)},primaryColor:O,dark:U,textPrimary:L,textSecondary:ne})]}),i.jsxs("div",{style:{paddingTop:"12px",display:"flex",flexDirection:"column",gap:"8px"},children:[i.jsx(Hl,{label:"Estimated Lock Expiry",value:j?.months!==void 0?xf(j.months):"\u2014",fontFamily:D,dark:U,textPrimary:L,textSecondary:ne}),f&&i.jsx(Hl,{label:"Estimated voting power",value:lt!==void 0?`${lt} votes/epoch`:"\u2014",fontFamily:D,dark:U,textPrimary:L,textSecondary:ne})]})]}),te&&i.jsx(or,{fontFamily:D,textPrimary:L,textSecondary:ne,cardBg:F,cardBorder:P,resolvedDark:U,darkCardBorder:W.cardBorder,primaryColor:O,feePreview:Ae,asset:X?.asset,directExecutionFeeNote:Z.flags.directExecutionFeeNote,isLoading:ee||Re.isQuoting,errorText:oe}),Z.status.finalizationError&&i.jsx(u.Button,{onClick:Z.retryFinalization,disabled:Z.status.finalizing,children:"Retry application update"}),We&&i.jsx(Xt,{variant:"error",palette:W,fontFamily:D,style:{marginBottom:"12px"},children:We}),i.jsx(u.Button,{variant:"outline",fullWidth:!0,onClick:()=>{Re.error?Z.retrySupply():Je()},disabled:H||!ot&&!Re.error,loading:H,dark:U,styles:{...N,button:{...N?.button,backgroundColor:O}},children:H?J?"LOCKING...":"CONVERTING...":Re.error?"RETRY QUOTE":Re.isQuoting?"GETTING SWAP QUOTE...":ee&&te?"CALCULATING FEES...":J?`LOCK ${o}`:`CONVERT TO ${o}`}),je&&!Z.status.finalizationError&&(me==="success"||me==="error"||H)&&i.jsx(mr,{type:"lock",isOpen:!H,isProcessing:H,closeOnComplete:!1,chainId:d,showStepBreakdown:!1,onRetryTx:ft,onNewTx:yt,onClose:()=>K(!1),onComplete:yt,results:me==="success"||me==="error"?[{asset:{symbol:o,address:Z.destination.address},txHash:ge??"",success:me==="success",error:We??void 0,amount:X?.amount}]:void 0,theme:B,styles:N,dark:U})]})})},Cf=({variant:e,destinationSymbol:t,destinationLogoURI:n,destinationDecimals:s,primaryColor:o,fontFamily:r,textPrimary:a,textSecondary:l,cardBg:c,cardBorder:d,dk:m,dark:f,isQuoting:h,quoteError:w,estimatedOutput:g,paymentAmount:y,needsSwap:x,exactOutputSwap:b,adjustable:v=!1,maxAmount:C,onAmountChange:k})=>e==="supply"?i.jsxs("div",{style:{backgroundColor:c,border:`1px solid ${d}`,borderRadius:f?"8px":"7px",padding:"14px 16px 12px 16px",marginBottom:"16px",minHeight:"112px",display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:"12px"},children:[i.jsxs("div",{style:{minWidth:0},children:[i.jsx("span",{style:{fontFamily:r,fontSize:"17px",fontWeight:500,color:f?"#a7abb2":"#7D7C7B",lineHeight:"24px"},children:"Used in TX"}),i.jsx("div",{style:{fontSize:"12px",fontWeight:500,color:l,fontFamily:r,marginTop:"10px"},children:"Net amount after swap and fees"})]}),i.jsxs("div",{style:{textAlign:"right",minWidth:0,display:"inline-flex",alignItems:"center",gap:"8px",border:`1px solid ${d}`,borderRadius:"8px",padding:"8px 10px",minHeight:"42px"},children:[i.jsx(Ql,{symbol:t,logoURI:n,primaryColor:o,size:24}),i.jsx("span",{style:{fontSize:"16px",fontWeight:500,color:f?"#f3f4f6":"#3C3E42",lineHeight:"1.3",fontFamily:r,letterSpacing:0},children:t})]})]}),i.jsx("div",{style:{textAlign:"right",minWidth:0},children:h?i.jsx("span",{style:{fontSize:"18px",color:l,fontFamily:r},children:"Quoting..."}):w?i.jsx("span",{style:{fontSize:"13px",color:f?"#f87171":"#dc2626",fontFamily:r},children:"Quote failed"}):g?i.jsx(Mn,{value:g,title:g,fontFamily:r,color:a,lineHeight:"0.95",textAlign:"right",maxFontSize:32,minFontSize:18}):i.jsx("span",{style:{fontSize:"20px",color:l,fontFamily:r},children:"\u2014"})})]}):i.jsx(kf,{destinationSymbol:t,destinationLogoURI:n,destinationDecimals:s,primaryColor:o,fontFamily:r,textPrimary:a,textSecondary:l,cardBg:c,cardBorder:d,dk:m,dark:f,paymentAmount:y||"0",needsSwap:x,exactOutputSwap:b,isQuoting:h,adjustable:v,maxAmount:C,onAmountChange:k}),Vl=p.memo(Cf),Ql=({symbol:e,logoURI:t,primaryColor:n,size:s})=>t?i.jsx("img",{src:t,alt:e,style:{width:s,height:s,borderRadius:"50%",objectFit:"cover"}}):i.jsx("div",{style:{width:s,height:s,borderRadius:"50%",backgroundColor:`${n}22`,display:"flex",alignItems:"center",justifyContent:"center",fontSize:s<30?"11px":"12px",fontWeight:700,color:n},children:e.slice(0,2)}),kf=({destinationSymbol:e,destinationLogoURI:t,destinationDecimals:n,primaryColor:s,fontFamily:o,textPrimary:r,textSecondary:a,cardBg:l,cardBorder:c,dk:d,dark:m,paymentAmount:f,needsSwap:h,exactOutputSwap:w,isQuoting:g,adjustable:y,maxAmount:x,onAmountChange:b})=>{const v=u.font.mono,C=parseFloat(f||"0"),k=x?parseFloat(x):0,[A,I]=p.useState(f||""),E=p.useRef(null),[N,R]=p.useState(null),[B,U]=p.useState(null);p.useEffect(()=>{y||I(f||"")},[f,y]);const O=F=>{let P=F;P.startsWith(".")&&(P="0"+P);const q=u.parseNumericInput(P);let L=q;x&&parseFloat(q)>parseFloat(x)&&(L=x),I(L),E.current&&clearTimeout(E.current),E.current=setTimeout(()=>b?.(L),300)},W=F=>{if(!k)return;if(F===100){I(x||k.toString()),E.current&&clearTimeout(E.current),b?.(x||k.toString());return}const P=10**n,q=Math.floor(k*F/100*P)/P,L=u.formatDecimalInput(q,n);I(L),E.current&&clearTimeout(E.current),b?.(L)},D=k>0?parseFloat(A||"0")/k*100:0;return p.useEffect(()=>()=>{E.current&&clearTimeout(E.current)},[]),i.jsxs("div",{style:{backgroundColor:l,border:`1px solid ${c}`,borderRadius:m?"12px":"6px",padding:"16px",marginBottom:"16px"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"10px"},children:[i.jsx(Ql,{symbol:e,logoURI:t,primaryColor:s,size:32}),i.jsxs("div",{children:[i.jsx("span",{style:{fontSize:"14px",fontWeight:600,color:r,fontFamily:o},children:"Payment"}),i.jsx("div",{style:{fontSize:"12px",color:a,fontFamily:o,marginTop:"2px"},children:e})]})]}),i.jsxs("div",{style:{textAlign:"right"},children:[y?i.jsx(Mn,{element:"input",ariaLabel:`${e} amount`,dataSpiceflowFocus:!0,value:A,onChange:F=>O(F.target.value),placeholder:"0.0",fontFamily:v,color:r,lineHeight:1.1,textAlign:"right",maxFontSize:20,minFontSize:12,style:{width:"120px"}}):i.jsx(Mn,{element:"div",value:C>0?f:"0.00",title:C>0?f:"0.00",fontFamily:v,color:r,lineHeight:1.1,textAlign:"right",maxFontSize:20,minFontSize:12}),i.jsx("div",{style:{fontSize:"12px",color:a,fontFamily:v,marginTop:"2px"},children:e}),y&&k>0&&i.jsx("div",{style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"10px",marginTop:"6px"},children:[0,25,50,75,100].map((F,P)=>{const q=Math.abs(D-F)<1,L=P===4,ne=N===F,pe=B===F;return i.jsx("button",{onClick:()=>W(F),onMouseEnter:()=>R(F),onMouseLeave:()=>{R(null),U(null)},onMouseDown:()=>U(F),onMouseUp:()=>U(null),title:`${F}%`,style:{width:"14px",height:"14px",padding:0,border:"none",backgroundColor:"transparent",cursor:"pointer",opacity:q?1:ne?.8:.5,transform:pe?"scale(0.85)":ne?"scale(1.15)":"scale(1)",transition:u.transition.interactive},children:i.jsx(lr,{pct:F,isMax:L,primaryColor:s,dark:m,fillColor:m?d?.textSecondary||"#9ca3af":"#3C3E42"})},F)})})]})]}),h&&w&&!g&&i.jsx("div",{style:{marginTop:"12px",paddingTop:"12px",borderTop:m?`1px solid ${d?.cardBorder||c}`:"1px solid #e5e7eb",display:"flex",justifyContent:"flex-end"},children:i.jsxs("span",{style:{fontSize:"11px",color:a,fontFamily:o,opacity:.7},children:["via ",w.venue]})})]})},Gl={idle:"",building:"Preparing transaction...","signing-delegation":"Signing delegation...","signing-intent":"Signing intent...",submitting:"Submitting transaction...",executing:"Executing on-chain...",success:"Deposit confirmed",error:"Transaction failed"},Kl=["building","signing-delegation","signing-intent","submitting","executing"],Sf=({step:e,statusMsg:t,txHash:n,explorerUrl:s,currentStepIdx:o,palette:r,cardBg:a,cardBorder:l,textPrimary:c,textSecondary:d,fontFamily:m,primaryColor:f,onRetry:h})=>i.jsxs("div",{style:{padding:"10px 14px",borderRadius:"7px",marginBottom:"16px",backgroundColor:e==="success"?a:e==="error"?r.errorBg:a,border:`1px solid ${e==="success"?l:e==="error"?r.errorBorder:l}`},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"10px"},children:[e==="success"?i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",style:{flexShrink:0},children:i.jsx("path",{d:"M5 13l4 4L19 7",stroke:r.successText,strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})}):e==="error"?i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",style:{flexShrink:0},children:i.jsx("path",{d:"M18 6L6 18M6 6l12 12",stroke:r.errorText,strokeWidth:"2.5",strokeLinecap:"round"})}):i.jsx(u.Spinner,{size:14,color:f}),i.jsx("span",{style:{fontSize:"13px",fontWeight:500,color:e==="success"?c:e==="error"?r.errorText:c,fontFamily:m,flex:1},children:e==="success"?"Deposit confirmed":e==="error"?t||"Transaction failed":t||Gl[e]}),e==="success"&&n&&i.jsx("a",{href:`${s}/tx/${n}`,target:"_blank",rel:"noopener noreferrer",style:{fontSize:"12px",color:f,fontFamily:m,textDecoration:"none",whiteSpace:"nowrap",flexShrink:0},children:"View tx \u2192"}),e==="error"&&i.jsx("button",{onClick:h,style:{background:"none",border:"none",fontSize:"12px",color:f,fontFamily:m,cursor:"pointer",padding:0,whiteSpace:"nowrap",flexShrink:0},children:"Retry \u2192"})]}),o>=0&&e!=="success"&&e!=="error"&&i.jsx("div",{style:{marginTop:"8px",height:"3px",borderRadius:"2px",backgroundColor:`${d}22`,overflow:"hidden"},children:i.jsx("div",{style:{height:"100%",width:"100%",borderRadius:"2px",backgroundColor:f,transformOrigin:"left center",transform:`scaleX(${(o+1)/Kl.length})`,transition:"transform 400ms ease"}})})]}),If=()=>{},Af=({isOpen:e,onClose:t,closeOnBackdropClick:n=!1,destinationToken:s,sourceChains:o,supportedSourceAssets:r,additionalSourceTokens:a,includeExternalWalletAssets:l,includeCrossChainEmbeddedAssets:c,combineSourceBalances:d,recipient:m,feeOnlyAction:f,actionInput:h,actionProceeds:w,feeFunding:g,feeFundingReserve:y,maxSlippage:x,resolveInputSwap:b,buildActionCalls:v,feeExecutionMode:C="user-transfer",buildSpicenetBatch:k,onPayExecute:A,resolveExactOutputSwap:I,actionLabel:E,amountDirection:N=f?"output":"input",swapDescription:R,directDescription:B,paymentAmount:U,amountInputMode:O="fixed",maxPaymentAmount:W,onAmountChange:D,styles:F,dark:P,title:q,subtitle:L,onAddFunds:ne,onSubmit:pe,beforeSubmit:ce,submitDisabled:X,onStateChange:z,onSuccess:V,onError:fe})=>{const Y=N==="output",Ce=u.useAssetDisplay(),be=N==="input-inclusive",{theme:j,dark:Z,primaryColor:$,dk:H,palette:me,fontFamily:ge,monoFont:je,inputDark:K,cardBg:M,cardBorder:J,textPrimary:ae,textSecondary:oe,subtitleText:ee}=u.useSpiceBrand(F,P),Ae=p.useMemo(()=>K?{...j,colors:{...j.colors,secondary:H.cardBg,surfaceHover:H.hoverBg,border:"#2d2d2d",borderHover:"#3a3a3a"}}:j,[K,j,H.cardBg,H.hoverBg]),te=El(s,e),Re=te.token??Er,We=p.useMemo(()=>Re.logoURI?Re:{...Re,logoURI:zo[Re.symbol.toUpperCase()]},[Re]),ot=We.chainId,[ve,Ge]=p.useState(null),[De,at]=p.useState(U||""),Pe=O==="adjustable"?De:U||"0",it=U?.trim(),nt=Y&&O==="fixed"&&it!==void 0&&it!==""&&parseFloat(Pe||"0")===0,{operationKey:xt,feeQuote:Ke,selectedAsset:lt,capability:Ee,retryFinalization:st,assets:{selectable:Je,loading:ft,refreshing:yt,error:Xe,getAvailableBalance:ct},quote:{isQuoting:Ue,quoteError:rt,estimatedOutput:Le,exactOutputSwap:ie,isDirect:ue,needsSwap:Te,pivot:Be},fees:{preview:de,isLoading:Oe,error:le},amount:{sourceRequiredAmount:se,parsed:Qe,isInsufficientBalance:Ne,availableBalance:pt},status:{activity:jt,finalizationError:It,finalizing:Ie,step:_e,statusMsg:vt,txHash:Et,isExecuting:dt,error:Dt,showStatusPanel:Dn,paymentResult:mt},flags:{directExecutionFeeNote:rn},canExecute:Ft,submitSupply:Lt,retrySupply:Ct,dismissPaymentStatus:Qt,submitPay:Pt,resolveMaxAmount:Mt,resetAfterSuccess:Gt,resetPaymentState:ht}=Os({enabled:e,destinationToken:te.token&&We,selectedAsset:ve,paymentAmount:Pe,amountDirection:N,sourceChains:o,supportedSourceAssets:r,additionalSourceTokens:a,includeExternalWalletAssets:l,includeCrossChainEmbeddedAssets:c,combineSourceBalances:d,recipient:m,feeOnlyAction:f,actionInput:h,actionProceeds:w,feeFunding:g,feeFundingReserve:y,maxSlippage:x,resolveInputSwap:b,buildActionCalls:v,feeExecutionMode:C,buildSpicenetBatch:k,onPayExecute:A,resolveExactOutputSwap:I,isZeroAmountPay:nt,onSubmit:pe,beforeSubmit:ce,submitDisabled:X,onSuccess:V,onError:fe}),Fe=p.useMemo(()=>({operationKey:xt,feeQuote:Ke,selectedAsset:lt,canExecute:Ft&&!X,isExecuting:dt,finalizing:Ie,finalizationError:It,feePreview:de,txHash:Et,error:Dt,statusStep:_e,statusMsg:vt}),[xt,Ke,lt,Ft,X,dt,Ie,It,de,Et,Dt,_e,vt]),kt=p.useRef(z);kt.current=z,p.useEffect(()=>{kt.current?.(Fe)},[Fe]);const qt=!!f||!!ve?.asset&&Qe>0,Kt=te.error||Dt,Ot=It?i.jsx(u.Button,{onClick:st,disabled:Ie,children:"Retry application update"}):null;p.useEffect(()=>{e||(Ge(null),O==="adjustable"&&at(U||""))},[e]),p.useEffect(()=>{if(Ee?.policyExcluded){Ge(null);return}if(dt||ft||yt||Xe||!ve)return;const et=Je.find(Ye=>ye(Ye)===ye(ve.asset));et&&et!==ve.asset?Ge({...ve,asset:et}):!et&&ve.asset.balance>0n&&Ge({...ve,asset:{...ve.asset,balance:0n,balanceFormatted:0,balanceUsd:0}})},[Je,ft,yt,Xe,dt,Ee?.policyExcluded]);const Me=p.useCallback(et=>{Ge(Ye=>({asset:et,amount:Ye?.asset&&ye(Ye.asset)===ye(et)&&Ye.amount||""}))},[]),Jt=p.useCallback(et=>{Ge(Ye=>Ye&&{...Ye,amount:et})},[]),zt=p.useCallback(et=>{let Ye=et;W&&parseFloat(Ye)>parseFloat(W)&&(Ye=W),at(Ye),D?.(Ye)},[W,D]),Nt=p.useCallback(()=>{ht(),Ge(null)},[ht]),$t=ue?B||`Your ${We.symbol} will be used directly.`:R||"Your assets will be swapped and used in a single atomic transaction.",an=(ot?u.getChainConfig(ot):void 0)?.viemChain?.blockExplorers?.default?.url??"",Sn=Kl.indexOf(_e),In=dt?(Gl[_e]||"EXECUTING...").toUpperCase():_e==="success"?"DONE":Ne?"INSUFFICIENT BALANCE":(Te||Be)&&rt&&!Ue?"QUOTE ERROR":E.toUpperCase(),fn=p.useMemo(()=>{if(mt?.status==="success")return"DONE";if(dt)return"PAYING...";if(Ne&&ve?.asset)return`INSUFFICIENT ${Ce(ve.asset).symbol}`;if((Te||Be)&&rt&&!Ue)return"QUOTE ERROR";if(E)return E.toUpperCase();const et=Qe>0?` ${Pe} ${We.symbol}`:"";return Te?`SWAP & PAY${et}`:`PAY${et}`},[dt,Ne,ve,E,Ce,Qe,Pe,We.symbol,Te,rt,Ue,mt?.status]),Ht=_e==="success"?()=>{Gt(),Ge(null)}:Lt,Tt=_e==="success"?!1:!!X||!Ft;if(!e)return null;const re=Y?q||`Pay ${We.symbol}`:E,_=Y?L:i.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:"3px"},children:[i.jsx("span",{style:{marginTop:"3px",flexShrink:0},children:i.jsx(nr,{color:ee})}),i.jsx("p",{style:{fontSize:"12px",color:ee,margin:0,lineHeight:"1.4",fontFamily:ge},children:$t})]}),Se={...F,button:{...F?.button,backgroundColor:$}},Ze=qt&&i.jsx(or,{fontFamily:ge,textPrimary:ae,textSecondary:oe,cardBg:M,cardBorder:J,resolvedDark:Z,darkCardBorder:H.cardBorder,primaryColor:$,feePreview:de,feeOnlyAction:f,asset:ve?.asset,isLoading:Oe,errorText:le,directExecutionFeeNote:rn});if(Y){const et=mt&&(mt.status==="success"||mt.status==="failed")?[{asset:{symbol:ve?.asset?Ce(ve.asset).symbol:We.symbol,address:ve?.asset?.address||""},amount:Pe,txHash:mt.txHash||"",success:mt.status==="success",error:mt.status==="failed"?mt.error:void 0}]:void 0;return i.jsx(pn,{isOpen:e,onClose:t,title:re,subtitle:_,styles:F,dark:Z,footerLinkText:"Spicenet accounts \u2192",closeOnBackdropClick:n,children:i.jsxs("div",{style:{padding:"16px 24px 8px 24px",position:"relative"},children:[i.jsx(mo,{activity:jt,palette:H}),ne&&i.jsx("div",{style:{display:"flex",justifyContent:"flex-end",marginBottom:"6px"},children:i.jsx(dr,{onClick:ne,color:$,fontFamily:ge})}),!nt&&i.jsx("div",{style:{marginBottom:"12px"},children:i.jsx($n,{assets:Je,selectedAsset:ve??void 0,disabled:dt,onAssetSelect:Me,onAmountChange:If,label:"Pay with",showBalance:!0,getAvailableBalance:ct,showMaxButton:!1,hideAmountInput:!0,displayAmount:ve&&se!==null?T.formatUnits(se,ve.asset.decimals):ve?"...":void 0,dark:Z,theme:Ae,styles:F})}),!f&&i.jsx(Vl,{variant:"pay",destinationSymbol:We.symbol,destinationLogoURI:We.logoURI,destinationDecimals:We.decimals,primaryColor:$,fontFamily:ge,textPrimary:ae,textSecondary:oe,cardBg:M,cardBorder:J,dk:H,dark:Z,isQuoting:Ue,quoteError:rt,estimatedOutput:Le,paymentAmount:Pe,needsSwap:Te,exactOutputSwap:ie,adjustable:O==="adjustable",maxAmount:W,onAmountChange:zt}),Ze,Ot,Kt&&i.jsx(Xt,{variant:"error",palette:me,fontFamily:ge,style:{marginBottom:"12px"},children:Kt}),i.jsx(u.Button,{variant:"outline",fullWidth:!0,onClick:mt?.status==="success"?t:Pt,disabled:mt?.status==="success"?!1:!!X||!Ft,loading:dt,dark:Z,styles:Se,children:fn}),mt&&Dn&&!It&&i.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:10,backgroundColor:Z?H.shell:"white",borderRadius:Z?"12px":"6px",padding:"16px 0"},children:i.jsx(mr,{type:"payment",isOpen:mt.status!=="processing",isProcessing:dt||mt.status==="processing",closeOnComplete:!1,chainId:ot,onRetryTx:()=>{Qt(),Pt()},onNewTx:Nt,onClose:()=>{Qt()},onComplete:Nt,results:et,styles:F,dark:Z})})]})})}return i.jsx(pn,{isOpen:e,onClose:t,title:re,subtitle:_,dark:Z,styles:F,theme:j,closeOnBackdropClick:n,children:i.jsxs("div",{style:{padding:"24px 24px 5px 24px",position:"relative"},children:[i.jsx(mo,{activity:jt,palette:H}),i.jsx("div",{style:{marginBottom:"16px"},children:i.jsx($n,{assets:Je,selectedAsset:ve||void 0,onAssetSelect:Me,onAmountChange:Jt,disabled:dt||_e==="success",showBalance:!0,getAvailableBalance:ct,showMaxButton:!0,label:d?"From":"From Wallet",placeholder:"0.00",theme:Ae,styles:F,dark:K,resolveMaxAmount:be?void 0:Mt,maxAmount:ve?.asset&&pt!==void 0?T.formatUnits(pt,ve.asset.decimals):void 0})}),ve?.asset&&(!ue||!!Be)&&!(be&&Be)&&i.jsx(Vl,{variant:"supply",destinationSymbol:We.symbol,destinationLogoURI:We.logoURI,destinationDecimals:We.decimals,primaryColor:$,fontFamily:ge,textPrimary:ae,textSecondary:oe,cardBg:M,cardBorder:J,dark:Z,isQuoting:Ue,quoteError:rt,estimatedOutput:Le}),Ze,_e!=="idle"&&i.jsx(Sf,{step:_e,statusMsg:vt,txHash:Et,explorerUrl:an,currentStepIdx:Sn,palette:me,cardBg:M,cardBorder:J,textPrimary:ae,textSecondary:oe,fontFamily:ge,primaryColor:$,onRetry:()=>{Ct()}}),Ot,Dt&&(_e==="idle"||!!It)&&i.jsx(Xt,{variant:"error",palette:me,fontFamily:ge,style:{marginBottom:"16px"},children:Dt}),i.jsx(u.Button,{variant:"outline",fullWidth:!0,disabled:Tt,onClick:Ht,theme:j,dark:Z,styles:Se,style:{fontSize:"20px",fontWeight:600,letterSpacing:"1.5px",fontFamily:je},children:In})]})})},Ef=()=>{const[e,t]=p.useState("0"),[n,s]=p.useState(null);return{assetAmount:e,setAssetAmount:t,selectedAsset:n,setSelectedAsset:s}};function Ff(e,t=0){const[n,s]=p.useState(t),o=e[n]??e[0],r=p.useMemo(()=>o?BigInt(Math.round(o.months*30*24*3600)):0n,[o?.months]);return{selectedDurationIdx:n,setSelectedDurationIdx:s,selectedDuration:o,durationSeconds:r}}function Tf(){const{actions:e,isReady:t,isAuthenticated:n}=u.useWallet(),s=p.useContext(u.SpiceFlowProviderContext)?.embeddedWalletAddress,o=p.useRef(!1),r=p.useRef(0),a=p.useRef(null),l=p.useRef(e),[c,d]=p.useState(0);l.current=e,p.useEffect(()=>{o.current=!1,r.current=0,a.current&&(clearTimeout(a.current),a.current=null)},[s]),p.useEffect(()=>{if(!s||!t||!n||o.current)return;o.current=!0;let m=!1;return(async()=>{await un(2e3);try{await u.ensureSmartWallet(s,l.current.signMessage),r.current=0}catch(f){console.warn("[SmartWallet] Registration failed:",f),o.current=!1,!m&&r.current<3&&(r.current+=1,a.current=setTimeout(()=>{d(h=>h+1)},5e3))}})(),()=>{m=!0,a.current&&(clearTimeout(a.current),a.current=null)}},[s,t,n,c])}function Bf(){const e=p.useContext(u.SpiceFlowProviderContext),t=(e?.mode??"7702")==="7702"?"embedded":"external",n=e?.setMode,s=p.useCallback(o=>n?.(o==="embedded"?"7702":"ondemand"),[n]);return{mode:t,setMode:s,ownerAddress:t==="embedded"?e?.embeddedWalletAddress:e?.externalWalletAddress,embeddedAddress:e?.embeddedWalletAddress,externalAddress:e?.externalWalletAddress,isUserWhitelisted:e?.isUserWhitelisted??null,isWhitelistChecking:e?.isWhitelistChecking??!1,isWhitelistGateActive:e?.isWhitelistGateActive??!1,whitelistCheck:e?.whitelistCheck}}function Rf({amount:e,enabled:t=!0,...n}){const s=p.useContext(u.SpiceFlowProviderContext),[o,r]=p.useState(null);p.useEffect(()=>{r(d=>d&&d.amount!==e?{...d,amount:e}:d)},[e]);const a=p.useMemo(()=>{if(!o)return null;const d=o.asset,m=d.location??(d._source==="spice"?"rollup":d._fundingWallet??((s?.mode??"7702")==="7702"?"embedded":"external"));return{...o,asset:{...d,location:m,owner:d.owner??(m==="external"?s?.externalWalletAddress:s?.embeddedWalletAddress),...d._wrapFromNative?{address:S.ZERO_ADDRESS,isNative:!0,positionId:void 0}:{}}}},[o,s?.mode,s?.embeddedWalletAddress,s?.externalWalletAddress]),l=Os({...n,enabled:t,selectedAsset:a,paymentAmount:n.amountDirection==="output"?e:void 0}),c=p.useCallback(d=>r({asset:d,amount:e}),[e]);return{sources:l.assets.selectable,getAvailableBalance:l.assets.getAvailableBalance,availableBalance:l.amount.availableBalance,selectedAsset:l.selectedAsset,setSelectedAsset:r,selectAsset:c,quote:{isQuoting:l.quote.isQuoting,error:l.quote.quoteError,estimatedInput:l.quote.estimatedInput,estimatedOutput:l.quote.estimatedOutput,estimatedMinOutput:l.fees.destinationAmount===void 0||!n.destinationToken?null:T.formatUnits(l.fees.destinationAmount,n.destinationToken.decimals),isDirect:l.quote.isDirect,needsSwap:l.quote.needsSwap},feePreview:l.fees.preview,isFeePreviewLoading:l.fees.isLoading,feePreviewError:l.fees.error||l.status.error,canSubmit:l.canExecute,execute:l.submit,isExecuting:l.status.isExecuting,step:l.status.step,statusMsg:l.status.statusMsg,txHash:l.status.txHash,refreshAssets:l.assets.refreshSpiceAssets,resolveMaxAmount:l.resolveMaxAmount,retryFinalization:l.retryFinalization}}const jf="spiceflow-limit-order:v1",Zl=T.parseAbi(["function exactInput((bytes path, address recipient, uint256 deadline, uint256 amountIn, uint256 amountOutMinimum) params) payable returns (uint256 amountOut)"]);function Df(e){if(!/^ord_[0-9a-f]{64}$/.test(e))throw new Error("Invalid limit order ID");return`Spice Flow limit order cancellation v1
|
|
74
|
-
Order: ${e}`}function Of(e){const t=e.intents[0];if(e.intents.length!==1||t.mode!=="7702")throw new Error("Invalid order intent");return`ord_${ai(t.chainBatches,BigInt(t.exp)).slice(2)}`}function Nf(e){if(!Number.isSafeInteger(e.expiresAt)||e.minimumOutput<=0n||e.amountIn<=0n||e.platformFee<0n||e.gasBridgeFee<0n||e.amountIn+e.platformFee+e.gasBridgeFee!==e.grossAmount)throw new Error("Invalid limit order amounts or expiry");const t=Fs({userAddress:e.user,destinationChainId:e.chainId,deliveryToken:e.tokenIn,deliveryAmount:e.grossAmount,deliveryRecipient:e.user,requestTimestampMs:e.requestTimestampMs,expiresAt:e.expiresAt,metadata:jf,requestNonce:e.requestNonce});if(!t)throw new Error("Order requires a positive cash balance");const n=[...go(e.chainId,e.tokenIn,[{recipient:S.SPICE_PLATFORM_FEE_RECIPIENT,amount:e.platformFee},{recipient:S.SPICE_GAS_FEE_RECIPIENT,amount:e.gasBridgeFee}]).calls,{to:e.tokenIn,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"approve",args:[e.router,e.amountIn]})},{to:e.router,value:0n,data:T.encodeFunctionData({abi:Zl,functionName:"exactInput",args:[{path:e.path,recipient:e.user,deadline:BigInt(e.expiresAt),amountIn:e.amountIn,amountOutMinimum:e.minimumOutput}]})}],s=S.hashChainBatches([t,{chainId:e.chainId,calls:n}]);return{user:e.user,amountMode:"gross_input",intents:[{mode:"7702",signatureType:"ecdsa",signature:"0x00",nbf:0,exp:e.expiresAt,chainBatches:s.map((o,r)=>({...o,chainId:Number(o.chainId),tokenTransfers:r===0?[]:[{from:"escrow",to:e.user,token:e.tokenIn,amount:e.grossAmount}]}))}]}}function Pf(e){const t=u.useWallet(),n=p.useContext(u.SpiceFlowProviderContext),s=Ss(),o=p.useRef(s);o.current=s;const r=p.useRef(e?.combineSourceBalances);r.current=e?.combineSourceBalances;const a=p.useRef({wallet:t,provider:n});a.current={wallet:t,provider:n};const l=p.useRef(!1),c=p.useRef(!0),d=p.useRef(0);p.useEffect(()=>(c.current=!0,()=>{c.current=!1,d.current++}),[]);const m=p.useRef(new WeakMap),f=p.useRef(new WeakMap),h=()=>{if(!c.current)throw new Error("Order hook is no longer mounted");return JSON.stringify([d.current,a.current.wallet.address,u.relayerService.getBaseUrl(),a.current.provider?.rpcOverrides,a.current.provider?.provider,a.current.provider?.network,a.current.provider?.mode])},w=p.useCallback(async b=>{b=structuredClone(b);const v=T.bytesToHex(crypto.getRandomValues(new Uint8Array(32))),C=a.current.wallet.address;if(!C)throw new Error("Connect a wallet before preparing an order");if(a.current.provider?.mode!=="7702")throw new Error("Limit orders require the 7702 wallet mode");if(!a.current.provider?.rpcOverrides?.[b.chainId])throw new Error(`Configure rpcOverrides[${b.chainId}] before preparing an order`);const k=h(),A=Date.now();if(!Number.isSafeInteger(b.expiresAt)||b.expiresAt<=Math.floor(A/1e3)||b.expiresAt>Math.floor(A/1e3)+30*86400||b.grossAmount<=0n||b.minimumOutput<=0n)throw new Error("Enter a positive amount, minimum output and expiry within 30 days");let I,E;if(r.current){const W=Vo(await u.getWalletBalanceEntries(C),b.chainId,b.tokenIn);if(W<b.grossAmount){const D=S.getTokenByAddress(b.tokenIn,b.chainId);if(!D||S.isNativeToken(b.tokenIn))throw new Error("This source is unavailable.");const F=b.grossAmount-W,P=await u.getClientForChain(b.chainId,a.current.provider?.rpcOverrides).readContract({address:b.tokenIn,abi:T.erc20Abi,functionName:"balanceOf",args:[C]});if(P<F)E="insufficient_balance";else{const q=await ir({address:C,escrowOnly:!0,depositQuote:{asset:{address:b.tokenIn,chainId:b.chainId,owner:C,location:"embedded",_source:"wallet",symbol:D.symbol,name:D.name,decimals:D.decimals,balance:P,balanceFormatted:Number(T.formatUnits(P,D.decimals)),balanceUsd:0,isNative:!1},amount:F,token:b.tokenIn,chainId:b.chainId}});if(q.fee>=F)throw new Error("Cash amount does not cover order fees");I={sourceSpendCap:F,depositAmount:q.net,feeAmount:q.fee},b.grossAmount-=q.fee}}if(h()!==k)throw new Error("Wallet or provider changed while preparing the order")}const N=b.venue??Vs;if(!(N.chainIds??[8453]).includes(b.chainId))throw new Error("Venue does not support the destination chain");const R=Qs(N);let B=b.grossAmount,U=0n,O=0n;for(let W=0;W<5;W++){const D=await R.resolve({type:"swap",tokenIn:b.tokenIn,tokenOut:b.tokenOut,amountIn:B},b.chainId,C);if(!D)throw new Error("No supported route for this order");const F=D.calls.find(fe=>u.addressesEqual(fe.to,N.swapRouter));if(!F)throw new Error("Order route is missing its swap");const{path:P}=T.decodeFunctionData({abi:Zl,data:F.data}).args[0],q=Nf({user:C,chainId:b.chainId,tokenIn:b.tokenIn,router:N.swapRouter,path:P,grossAmount:b.grossAmount,amountIn:B,minimumOutput:b.minimumOutput,expiresAt:b.expiresAt,platformFee:U,gasBridgeFee:O,requestTimestampMs:A,requestNonce:v});if(q.intents[0].mode!=="7702")throw new Error("Unsupported order mode");const L=structuredClone(q),ne=L.intents[0];if(ne.mode!=="7702")throw new Error("Unsupported order mode");const pe=oo(ne.chainBatches,C);pe[1].calls=D.calls;const ce=S.hashChainBatches(pe);ne.chainBatches=pe.map((fe,Y)=>({...ne.chainBatches[Y],calls:fe.calls,hash:ce[Y].hash}));const X=(await u.relayerService.estimateActionFees(L)).intents[0]?.batches.find(fe=>fe.chainId===b.chainId);if(!X)throw new Error("Order fee quote is unavailable");const z=u.getBatchFees(X),V=b.grossAmount-z.totalFee;if(V<=0n)throw new Error("Cash amount does not cover order fees");if(h()!==k)throw new Error("Wallet or provider changed while preparing the order");if(V===B&&U===z.spicenetFee&&O===z.gasFee+z.bridgeFee){const fe={user:C,request:q,amountIn:B,minimumOutput:b.minimumOutput,feeAmount:z.totalFee,funding:I,fundingWarning:E,path:P};return m.current.set(fe,{scope:k,request:structuredClone(q),funding:I&&{...I,chainId:b.chainId,token:b.tokenIn}}),fe}B=V,U=z.spicenetFee,O=z.gasFee+z.bridgeFee}throw new Error("Order fees did not converge; prepare the order again")},[]),g=p.useCallback(async b=>{if(l.current)throw new Error("An order signature is already in progress");const v=m.current.get(b),C=v?.scope,k=()=>{if(!C||h()!==C||!u.addressesEqual(a.current.wallet.address,v?.request.user))throw new Error("Prepare the order again for the current wallet and provider")};k();const A=structuredClone(v.request),I=A.intents[0];if(I.mode!=="7702"||I.exp<=Date.now()/1e3)throw new Error("Order expired before signing");l.current=!0;try{const E=a.current.wallet.actions;if(A.chainAuthorizations=await li({chainBatches:I.chainBatches,signingAddress:A.user,actions:E}),k(),I.signature=await ii(E,I.chainBatches,BigInt(I.exp)),k(),I.exp<=Date.now()/1e3)throw new Error("Order expired during signing");return f.current.set(A,{scope:C,request:structuredClone(A),funding:v.funding}),A}finally{l.current=!1}},[]),y=p.useCallback(async b=>{const v=h(),{signature:C}=await a.current.wallet.actions.signMessage(Df(b));if(h()!==v)throw new Error("Wallet or provider changed during cancellation");return u.relayerService.cancelLimitOrder(b,C)},[]),x=p.useCallback(b=>{const v=f.current.get(b),C=()=>{if(!v||h()!==v.scope)throw new Error("Sign the order for the current wallet and provider before placing it");const I=v.request.intents[0];if(I.mode!=="7702"||I.exp<=Date.now()/1e3)throw new Error("Order expired before placement")};C();const{user:k}=v.request,A=v.funding;return A?(async()=>{const{chainId:I,token:E}=A,N=await u.getWalletBalanceEntries(k);if(C(),await o.current.execute([{chainId:I,tokenTransfers:[],calls:Fi({escrowAddress:S.getEscrowContractAddress(I),tokenAddress:E,isNative:!1,amount:A.depositAmount,gasFeeAmount:A.feeAmount})}],E,0n,void 0,void 0,{userOverride:k,useCustomTransfers:!0,skipPreSubmitFeeEstimate:!0,skipUserFundingPreflight:!0,walletFundingRequirement:{chainId:I,token:E,amount:A.sourceSpendCap},validateBeforeSubmit:async()=>C()}),!await ri({deposits:[{chainId:I,token:E,amount:A.depositAmount}],baseline:N,fetchEntries:()=>u.getWalletBalanceEntries(k)}))throw new Error("Your deposit is still waiting for Spice credit. Check this transaction's status before trying again.");return C(),u.relayerService.createLimitOrder(structuredClone(v.request))})():u.relayerService.createLimitOrder(structuredClone(v.request))},[]);return{prepareOrder:w,signOrder:g,placeOrder:x,getOrder:b=>u.relayerService.getLimitOrder(b),listOrders:b=>{if(!t.address)throw new Error("Connect a wallet to list orders");return u.relayerService.listLimitOrders(t.address,b)},cancelOrder:y}}mc(),exports.SpiceFlowProvider=u.SpiceFlowProvider,exports.SpiceFlowProviderContext=u.SpiceFlowProviderContext,exports.SpiceflowError=u.SpiceflowError,exports.Spinner=u.Spinner,exports.buildDarkPalette=u.buildDarkPalette,exports.buildLightPalette=u.buildLightPalette,exports.calculateBpsFee=u.calculateBpsFee,exports.duration=u.duration,exports.easing=u.easing,exports.font=u.font,exports.getChainConfig=u.getChainConfig,exports.getChainName=u.getChainName,exports.isSpiceflowError=u.isSpiceflowError,exports.radius=u.radius,exports.relayerService=u.relayerService,exports.resolveTheme=u.resolveTheme,exports.transition=u.transition,exports.useAssetDisplay=u.useAssetDisplay,exports.useIsUserWhitelisted=u.useIsUserWhitelisted,exports.useSpiceBrand=u.useSpiceBrand,exports.useWallet=u.useWallet,exports.z=u.z,Object.defineProperty(exports,"NATIVE_TOKEN_ADDRESS",{enumerable:!0,get:function(){return S.ZERO_ADDRESS}}),Object.defineProperty(exports,"SPICENET_NATIVE_CHAIN_ID",{enumerable:!0,get:function(){return S.SPICENET_NATIVE_CHAIN_ID}}),Object.defineProperty(exports,"SPICE_COMBINED_FEE_RECIPIENT",{enumerable:!0,get:function(){return S.SPICE_COMBINED_FEE_RECIPIENT}}),Object.defineProperty(exports,"SPICE_GAS_FEE_RECIPIENT",{enumerable:!0,get:function(){return S.SPICE_GAS_FEE_RECIPIENT}}),Object.defineProperty(exports,"SPICE_PLATFORM_FEE_RECIPIENT",{enumerable:!0,get:function(){return S.SPICE_PLATFORM_FEE_RECIPIENT}}),Object.defineProperty(exports,"SPICE_SOLVER_ADDRESS",{enumerable:!0,get:function(){return S.SPICE_SOLVER_ADDRESS}}),Object.defineProperty(exports,"applySlippage",{enumerable:!0,get:function(){return S.applySlippage}}),Object.defineProperty(exports,"buildUniV3SwapCalls",{enumerable:!0,get:function(){return S.buildUniV3SwapCalls}}),Object.defineProperty(exports,"getChainIdsByNetwork",{enumerable:!0,get:function(){return S.getChainIdsByNetwork}}),Object.defineProperty(exports,"getEscrowContractAddress",{enumerable:!0,get:function(){return S.getEscrowContractAddress}}),Object.defineProperty(exports,"isNativeToken",{enumerable:!0,get:function(){return S.isNativeToken}}),Object.defineProperty(exports,"isSpicenetChainId",{enumerable:!0,get:function(){return S.isSpicenetChainId}}),Object.defineProperty(exports,"normalizeNativeTokenAddress",{enumerable:!0,get:function(){return S.normalizeNativeTokenAddress}}),Object.defineProperty(exports,"spicenetAbi",{enumerable:!0,get:function(){return S.spicenetAbi}}),Object.defineProperty(exports,"spicenetWithdrawalAbi",{enumerable:!0,get:function(){return S.spicenetAbi}}),exports.AERODROME_BASE_CONFIG=Vs,exports.AccountDisplay=Pl,exports.AddFundsLink=dr,exports.AssetBalance=Qp,exports.AssetSelector=$n,exports.CheckIcon=yi,exports.ChevronIcon=Jn,exports.CloseIcon=As,exports.DEFAULT_LIQUIDITY_VENUES=Po,exports.DetailRow=on,exports.ProviderLogin=fr,exports.SATSUMA_CITREA_CONFIG=jo,exports.SPICE_PLATFORM_FEE_BPS=zd,exports.SearchInput=ur,exports.SelectChainModal=gf,exports.SpiceAccount=hf,exports.SpiceDeposit=ql,exports.SpiceLock=vf,exports.SpiceSupply=Af,exports.SpiceWithdraw=jr,exports.StatusBanner=Xt,exports.UNIV3_ARBITRUM_CONFIG=ia,exports.UNIV3_BASE_CONFIG=ra,exports.UNIV3_ETHEREUM_CONFIG=aa,exports.UNIV3_ROBINHOOD_CONFIG=la,exports.UNIV3_ROBINHOOD_SUSHI_CONFIG=ca,exports.UNIV4_BASE_CONFIG=xa,exports.UNIV4_ROBINHOOD_CONFIG=ya,exports.V4_NATIVE_CURRENCY=hn,exports.areEquivalentOnChains=gs,exports.assetCapability=En,exports.assetPositionId=ye,exports.buildLiquidityVenues=Pn,exports.buildPayChainBatches=xo,exports.buildRoutedBatches=Su,exports.buildSpicenetWithdrawalBatch=Fs,exports.buildSupplyChainBatches=yo,exports.createAerodromeExactOutputVenue=fa,exports.createAerodromeVenue=Qs,exports.createExactOutputRegistry=js,exports.createLiquidityRegistry=ma,exports.createSatsumaExactOutputVenue=Oo,exports.createSatsumaVenue=hs,exports.createUniV3ExactOutputVenue=Oo,exports.createUniV3Venue=hs,exports.createUniV4ExactOutputVenue=Ea,exports.createUniV4Venue=Aa,exports.encodeUniV3ExactOutputCall=ta,exports.estimateFeePreview=Un,exports.estimateRequiredGrossFunding=Qu,exports.estimateSupplyMaxAmount=_u,exports.executePay=vl,exports.executeSupply=bl,exports.fetchBalances=Yn,exports.findEquivalentOnChain=kn,exports.getAssetChainTokenCandidates=Kn,exports.getBestUniV3ExactOutputQuote=sa,exports.getBestUniV3Quote=na,exports.isExternalSource=$s,exports.isSupportedSupplyAsset=dp,exports.limitOrderId=Of,exports.resolveAssetTokenAddressOnChain=sn,exports.resolveFundedToken=ja,exports.resolveInputSupplySwapQuote=Br,exports.resolveRoute=ku,exports.reverseUniV3Path=ea,exports.scaleTokenAmount=rs,exports.useAssetInput=Ef,exports.useLockDuration=Ff,exports.useSmartWallet=Tf,exports.useSpiceAccount=Bf,exports.useSpiceAction=Rf,exports.useSpiceActionActivity=pr,exports.useSpiceAssets=Qa,exports.useSpiceExecution=Ss,exports.useSpiceInventory=Xn,exports.useSpiceLimitOrders=Pf,exports.useSpiceLock=zl,exports.useSpicePendingDeposits=ei,exports.useSpiceSupply=Os,exports.useSupplyAssets=Tl,exports.useSupplyQuote=jl,exports.useTokenLogo=cr,exports.useWalletBalances=Cs;
|
|
73
|
+
`})]})},bf=p.memo(wf),vf=({isOpen:e,onClose:t,closeOnBackdropClick:n=!1,lockBatches:s,lockTokenSymbol:o,lockTokenLogoURI:r,destinationInputHook:a,sourceAssetInputHook:l,lockDurationHook:c,lockChainId:d,durationOptions:m,votingPowerEstimate:f,destinationTokenAddress:h,destinationTokenDecimals:w,beneficiary:g,onSubmit:y,onLockSuccess:x,onLockError:b,onLockExecute:v,sourceToDestinationConversionRate:C,onAddFunds:k,buildSpicenetBatch:I,feeFunding:A,combineSourceBalances:E,styles:D,dark:R})=>{const{theme:B,dark:W,primaryColor:O,dk:M}=u.useSpiceBrand(D,R),U=B.typography.fontFamily,F=W?M.cardBg:D?.assetSelector?.backgroundColor||D?.secondaryBackground||"#e9e9e9",N=W?`1px solid ${M.cardBorder}`:"0.5px solid #A8A8A7",L=W?"12px":"6px",q=W?M.textPrimary:"#111827",oe=W?M.textSecondary:"#6b7280",pe=p.useMemo(()=>({...D,assetSelector:{...D?.assetSelector,backgroundColor:W?M.cardBg:D?.assetSelector?.backgroundColor,borderRadius:W?"12px":D?.assetSelector?.borderRadius},secondaryBackground:W?M.cardBg:D?.secondaryBackground}),[D,W]),ae=p.useMemo(()=>W?{...B,colors:{...B.colors,secondary:M.cardBg,surfaceHover:M.hoverBg,border:M.cardBorder,borderHover:M.inputBorder}}:B,[W,B]),[Q,$]=p.useState(null),X=p.useRef(!1);p.useEffect(()=>{e||(X.current=!1)},[e]);const[ee,Y]=p.useState(0),we=c?.selectedDurationIdx??ee,be=c?.setSelectedDurationIdx??Y,j=c?.selectedDuration??m[we]??m[0],K=zl({enabled:e&&!v,selectedAsset:Q,lockBatches:s,lockChainId:d,lockTokenSymbol:o,lockTokenLogoURI:r,destinationTokenAddress:h,destinationTokenDecimals:w,beneficiary:g,onSubmit:y,onLockSuccess:x,onLockError:b,buildSpicenetBatch:I,feeFunding:A,combineSourceBalances:E}),Z=K.assets.selectable,{isExecuting:G,step:ue,txHash:me}=K.status,[Se,J]=p.useState(!1),P=Number(Q?.amount||"0"),_=K.quote.isDirect,le=!_,te=K.fees.error,ne=K.fees.isLoading,Ie=K.fees.preview,ge=P>0,fe={error:K.quote.quoteError,isQuoting:K.quote.isQuoting},Ce=v?"Move onLockExecute protocol calls to lockBatches and application updates to onLockSuccess before continuing.":K.metadataError||K.status.error||te||fe.error,st=K.canExecute,ve=K.fees.destinationAmount,ze=ve===void 0?"0":T.formatUnits(ve,K.destination.decimals),Ze=Number(ze),He=Ze>0?Ze.toLocaleString(void 0,{maximumSignificantDigits:6}):null,et=Z.find(Be=>Be.chainId===d&&Be.address.toLowerCase()===K.destination.address.toLowerCase()),tt=et&&et.balanceFormatted>0&&et.balanceUsd>0?et.balanceUsd/et.balanceFormatted:C&&C>0?C:null,ot=tt===null?null:(Ze*tt).toFixed(2),gt=Q&&Q.asset.balanceFormatted>0&&Q.asset.balanceUsd>0?Q.asset.balanceUsd/Q.asset.balanceFormatted:_?tt:null,Xe=gt===null?void 0:`$${(P*gt).toFixed(2)}`,ct=f&&Ze>0&&j?f(Ze,j.months):void 0,Pe=p.useCallback(Be=>{$(dt=>({asset:Be,amount:dt&&xe(dt.asset)===xe(Be)?dt.amount:""})),K.retrySupply(),l?.setSelectedAsset({address:Be.address,symbol:Be.symbol,decimals:Be.decimals,chainId:Be.chainId})},[l?.setSelectedAsset,K.retrySupply]),lt=p.useCallback(Be=>{$(dt=>dt&&{...dt,amount:Be}),l?.setAssetAmount(Be),K.retrySupply()},[l?.setAssetAmount,K.retrySupply]);p.useEffect(()=>{if(K.capability?.policyExcluded){$(null);return}G||K.assets.loading||K.assets.refreshing||K.assets.error||$(Be=>{if(!Be)return X.current||!Z[0]?null:(X.current=!0,{asset:Z[0],amount:l?.assetAmount??""});const dt=Z.find(De=>xe(De)===xe(Be.asset));return dt?dt===Be.asset?Be:{...Be,asset:dt}:Be.asset.balance===0n?Be:{...Be,asset:{...Be.asset,balance:0n,balanceFormatted:0,balanceUsd:0}}})},[Z,G,K.assets.loading,K.assets.refreshing,K.assets.error,K.capability?.policyExcluded]),p.useEffect(()=>{a&&(a.setSelectedAsset(K.destination),a.setAssetAmount(ze))},[K.destination,ze,a?.setSelectedAsset,a?.setAssetAmount]);const Me=async()=>{J(!0),await K.submitSupply()},ht=()=>{J(!1),K.retrySupply()},Ct=()=>{J(!1),$(null),K.resetAfterSuccess()},Je=i.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:"6px"},children:[i.jsx(sr,{color:oe}),i.jsxs("p",{style:{fontSize:"13px",color:oe,margin:0,lineHeight:"1.5"},children:["Add ",o," by converting assets from your account"]})]});if(!e)return null;const ft={backgroundColor:F,border:N,borderRadius:L,padding:"16px",marginBottom:"16px"};return i.jsx(fn,{isOpen:e,onClose:t,title:`Add ${o} to your account`,subtitle:Je,styles:D,dark:W,footerLinkText:"Spicenet accounts \u2192",closeOnBackdropClick:n,children:i.jsxs("div",{style:{padding:"0 24px 8px 24px",position:"relative"},children:[i.jsx(ho,{activity:K.status.activity,palette:M,onRefresh:()=>{K.assets.refreshSpiceAssets(),K.assets.refreshWalletAssets()}}),i.jsxs("div",{style:{marginBottom:"12px"},children:[k&&i.jsx("div",{style:{display:"flex",justifyContent:"flex-end",marginBottom:"6px"},children:i.jsx(ur,{onClick:k,color:O,fontFamily:U})}),i.jsx("div",{style:{marginTop:"10px",fontSize:"13px",color:oe,fontFamily:U},children:i.jsx($n,{assets:Z,selectedAsset:Q??void 0,onAssetSelect:Pe,onAmountChange:lt,label:"Amount",showBalance:!0,getAvailableBalance:K.assets.getAvailableBalance,showMaxButton:!0,disabled:G||K.status.finalizing,maxAmount:Q&&K.amount.availableBalance!==void 0?T.formatUnits(K.amount.availableBalance,Q.asset.decimals):void 0,resolveMaxAmount:K.resolveMaxAmount,theme:ae,styles:pe})}),i.jsx("div",{style:{marginTop:"6px",paddingLeft:"4px",fontSize:"13px",color:oe,fontFamily:U},children:Xe})]}),i.jsxs("div",{style:ft,children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingBottom:"16px",borderBottom:W?`1px solid ${M.cardBorder}`:"1px solid #e5e7eb"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"10px"},children:[r?i.jsx("img",{src:r,alt:o,style:{width:"32px",height:"32px",borderRadius:"50%",objectFit:"cover"}}):i.jsx("div",{style:{width:"32px",height:"32px",borderRadius:"50%",backgroundColor:W?M.inputBg:"#d1d5db",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"12px",fontWeight:700,color:q},children:o.slice(0,2)}),i.jsx("span",{style:{fontSize:"16px",fontWeight:600,color:q,fontFamily:U},children:o})]}),i.jsxs("div",{style:{textAlign:"right"},children:[i.jsx("div",{style:{fontSize:"22px",fontWeight:700,color:q,fontFamily:U,lineHeight:1.1},children:He??"0.00"}),(!le||ot!==null)&&i.jsxs("div",{style:{fontSize:"12px",color:oe,fontFamily:U,marginTop:"2px"},children:["~$",ot??"0.00"]})]})]}),i.jsxs("div",{style:{paddingTop:"16px",paddingBottom:"16px",borderBottom:W?`1px solid ${M.cardBorder}`:"1px solid #e5e7eb"},children:[i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"16px"},children:[i.jsx("span",{style:{fontSize:"15px",fontWeight:500,color:oe,fontFamily:U},children:"Lock Duration"}),i.jsx(Jn,{color:oe})]}),i.jsx(bf,{options:m,selectedIndex:we,onSelect:Be=>{!G&&!K.status.finalizing&&be(Be)},primaryColor:O,dark:W,textPrimary:q,textSecondary:oe})]}),i.jsxs("div",{style:{paddingTop:"12px",display:"flex",flexDirection:"column",gap:"8px"},children:[i.jsx(Hl,{label:"Estimated Lock Expiry",value:j?.months!==void 0?xf(j.months):"\u2014",fontFamily:U,dark:W,textPrimary:q,textSecondary:oe}),f&&i.jsx(Hl,{label:"Estimated voting power",value:ct!==void 0?`${ct} votes/epoch`:"\u2014",fontFamily:U,dark:W,textPrimary:q,textSecondary:oe})]})]}),ge&&i.jsx(rr,{fontFamily:U,textPrimary:q,textSecondary:oe,cardBg:F,cardBorder:N,resolvedDark:W,darkCardBorder:M.cardBorder,primaryColor:O,feePreview:Ie,asset:Q?.asset,directExecutionFeeNote:K.flags.directExecutionFeeNote,isLoading:ne||fe.isQuoting,errorText:te}),K.status.finalizationError&&i.jsx(u.Button,{onClick:K.retryFinalization,disabled:K.status.finalizing,children:"Retry application update"}),Ce&&i.jsx(Jt,{variant:"error",palette:M,fontFamily:U,style:{marginBottom:"12px"},children:Ce}),i.jsx(u.Button,{variant:"outline",fullWidth:!0,onClick:()=>{fe.error?K.retrySupply():Me()},disabled:G||!st&&!fe.error,loading:G,dark:W,styles:{...D,button:{...D?.button,backgroundColor:O}},children:G?_?"LOCKING...":"CONVERTING...":fe.error?"RETRY QUOTE":fe.isQuoting?"GETTING SWAP QUOTE...":ne&&ge?"CALCULATING FEES...":_?`LOCK ${o}`:`CONVERT TO ${o}`}),Se&&!K.status.finalizationError&&(ue==="success"||ue==="error"||G)&&i.jsx(hr,{type:"lock",isOpen:!G,isProcessing:G,closeOnComplete:!1,chainId:d,showStepBreakdown:!1,onRetryTx:ht,onNewTx:Ct,onClose:()=>J(!1),onComplete:Ct,results:ue==="success"||ue==="error"?[{asset:{symbol:o,address:K.destination.address},txHash:me??"",success:ue==="success",error:Ce??void 0,amount:Q?.amount}]:void 0,theme:B,styles:D,dark:W})]})})},Cf=({variant:e,destinationSymbol:t,destinationLogoURI:n,destinationDecimals:s,primaryColor:o,fontFamily:r,textPrimary:a,textSecondary:l,cardBg:c,cardBorder:d,dk:m,dark:f,isQuoting:h,quoteError:w,estimatedOutput:g,paymentAmount:y,needsSwap:x,exactOutputSwap:b,adjustable:v=!1,maxAmount:C,onAmountChange:k})=>e==="supply"?i.jsxs("div",{style:{backgroundColor:c,border:`1px solid ${d}`,borderRadius:f?"8px":"7px",padding:"14px 16px 12px 16px",marginBottom:"16px",minHeight:"112px",display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:"12px"},children:[i.jsxs("div",{style:{minWidth:0},children:[i.jsx("span",{style:{fontFamily:r,fontSize:"17px",fontWeight:500,color:f?"#a7abb2":"#7D7C7B",lineHeight:"24px"},children:"Used in TX"}),i.jsx("div",{style:{fontSize:"12px",fontWeight:500,color:l,fontFamily:r,marginTop:"10px"},children:"Net amount after swap and fees"})]}),i.jsxs("div",{style:{textAlign:"right",minWidth:0,display:"inline-flex",alignItems:"center",gap:"8px",border:`1px solid ${d}`,borderRadius:"8px",padding:"8px 10px",minHeight:"42px"},children:[i.jsx(Ql,{symbol:t,logoURI:n,primaryColor:o,size:24}),i.jsx("span",{style:{fontSize:"16px",fontWeight:500,color:f?"#f3f4f6":"#3C3E42",lineHeight:"1.3",fontFamily:r,letterSpacing:0},children:t})]})]}),i.jsx("div",{style:{textAlign:"right",minWidth:0},children:h?i.jsx("span",{style:{fontSize:"18px",color:l,fontFamily:r},children:"Quoting..."}):w?i.jsx("span",{style:{fontSize:"13px",color:f?"#f87171":"#dc2626",fontFamily:r},children:"Quote failed"}):g?i.jsx(Un,{value:g,title:g,fontFamily:r,color:a,lineHeight:"0.95",textAlign:"right",maxFontSize:32,minFontSize:18}):i.jsx("span",{style:{fontSize:"20px",color:l,fontFamily:r},children:"\u2014"})})]}):i.jsx(kf,{destinationSymbol:t,destinationLogoURI:n,destinationDecimals:s,primaryColor:o,fontFamily:r,textPrimary:a,textSecondary:l,cardBg:c,cardBorder:d,dk:m,dark:f,paymentAmount:y||"0",needsSwap:x,exactOutputSwap:b,isQuoting:h,adjustable:v,maxAmount:C,onAmountChange:k}),Vl=p.memo(Cf),Ql=({symbol:e,logoURI:t,primaryColor:n,size:s})=>t?i.jsx("img",{src:t,alt:e,style:{width:s,height:s,borderRadius:"50%",objectFit:"cover"}}):i.jsx("div",{style:{width:s,height:s,borderRadius:"50%",backgroundColor:`${n}22`,display:"flex",alignItems:"center",justifyContent:"center",fontSize:s<30?"11px":"12px",fontWeight:700,color:n},children:e.slice(0,2)}),kf=({destinationSymbol:e,destinationLogoURI:t,destinationDecimals:n,primaryColor:s,fontFamily:o,textPrimary:r,textSecondary:a,cardBg:l,cardBorder:c,dk:d,dark:m,paymentAmount:f,needsSwap:h,exactOutputSwap:w,isQuoting:g,adjustable:y,maxAmount:x,onAmountChange:b})=>{const v=u.font.mono,C=parseFloat(f||"0"),k=x?parseFloat(x):0,[I,A]=p.useState(f||""),E=p.useRef(null),[D,R]=p.useState(null),[B,W]=p.useState(null);p.useEffect(()=>{y||A(f||"")},[f,y]);const O=F=>{let N=F;N.startsWith(".")&&(N="0"+N);const L=u.parseNumericInput(N);let q=L;x&&parseFloat(L)>parseFloat(x)&&(q=x),A(q),E.current&&clearTimeout(E.current),E.current=setTimeout(()=>b?.(q),300)},M=F=>{if(!k)return;if(F===100){A(x||k.toString()),E.current&&clearTimeout(E.current),b?.(x||k.toString());return}const N=10**n,L=Math.floor(k*F/100*N)/N,q=u.formatDecimalInput(L,n);A(q),E.current&&clearTimeout(E.current),b?.(q)},U=k>0?parseFloat(I||"0")/k*100:0;return p.useEffect(()=>()=>{E.current&&clearTimeout(E.current)},[]),i.jsxs("div",{style:{backgroundColor:l,border:`1px solid ${c}`,borderRadius:m?"12px":"6px",padding:"16px",marginBottom:"16px"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"10px"},children:[i.jsx(Ql,{symbol:e,logoURI:t,primaryColor:s,size:32}),i.jsxs("div",{children:[i.jsx("span",{style:{fontSize:"14px",fontWeight:600,color:r,fontFamily:o},children:"Payment"}),i.jsx("div",{style:{fontSize:"12px",color:a,fontFamily:o,marginTop:"2px"},children:e})]})]}),i.jsxs("div",{style:{textAlign:"right"},children:[y?i.jsx(Un,{element:"input",ariaLabel:`${e} amount`,dataSpiceflowFocus:!0,value:I,onChange:F=>O(F.target.value),placeholder:"0.0",fontFamily:v,color:r,lineHeight:1.1,textAlign:"right",maxFontSize:20,minFontSize:12,style:{width:"120px"}}):i.jsx(Un,{element:"div",value:C>0?f:"0.00",title:C>0?f:"0.00",fontFamily:v,color:r,lineHeight:1.1,textAlign:"right",maxFontSize:20,minFontSize:12}),i.jsx("div",{style:{fontSize:"12px",color:a,fontFamily:v,marginTop:"2px"},children:e}),y&&k>0&&i.jsx("div",{style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"10px",marginTop:"6px"},children:[0,25,50,75,100].map((F,N)=>{const L=Math.abs(U-F)<1,q=N===4,oe=D===F,pe=B===F;return i.jsx("button",{onClick:()=>M(F),onMouseEnter:()=>R(F),onMouseLeave:()=>{R(null),W(null)},onMouseDown:()=>W(F),onMouseUp:()=>W(null),title:`${F}%`,style:{width:"14px",height:"14px",padding:0,border:"none",backgroundColor:"transparent",cursor:"pointer",opacity:L?1:oe?.8:.5,transform:pe?"scale(0.85)":oe?"scale(1.15)":"scale(1)",transition:u.transition.interactive},children:i.jsx(cr,{pct:F,isMax:q,primaryColor:s,dark:m,fillColor:m?d?.textSecondary||"#9ca3af":"#3C3E42"})},F)})})]})]}),h&&w&&!g&&i.jsx("div",{style:{marginTop:"12px",paddingTop:"12px",borderTop:m?`1px solid ${d?.cardBorder||c}`:"1px solid #e5e7eb",display:"flex",justifyContent:"flex-end"},children:i.jsxs("span",{style:{fontSize:"11px",color:a,fontFamily:o,opacity:.7},children:["via ",w.venue]})})]})},Gl={idle:"",building:"Preparing transaction...","signing-delegation":"Signing delegation...","signing-intent":"Signing intent...",submitting:"Submitting transaction...",executing:"Executing on-chain...",success:"Deposit confirmed",error:"Transaction failed"},Kl=["building","signing-delegation","signing-intent","submitting","executing"],Sf=({step:e,statusMsg:t,txHash:n,explorerUrl:s,currentStepIdx:o,palette:r,cardBg:a,cardBorder:l,textPrimary:c,textSecondary:d,fontFamily:m,primaryColor:f,onRetry:h})=>i.jsxs("div",{style:{padding:"10px 14px",borderRadius:"7px",marginBottom:"16px",backgroundColor:e==="success"?a:e==="error"?r.errorBg:a,border:`1px solid ${e==="success"?l:e==="error"?r.errorBorder:l}`},children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"10px"},children:[e==="success"?i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",style:{flexShrink:0},children:i.jsx("path",{d:"M5 13l4 4L19 7",stroke:r.successText,strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})}):e==="error"?i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",style:{flexShrink:0},children:i.jsx("path",{d:"M18 6L6 18M6 6l12 12",stroke:r.errorText,strokeWidth:"2.5",strokeLinecap:"round"})}):i.jsx(u.Spinner,{size:14,color:f}),i.jsx("span",{style:{fontSize:"13px",fontWeight:500,color:e==="success"?c:e==="error"?r.errorText:c,fontFamily:m,flex:1},children:e==="success"?"Deposit confirmed":e==="error"?t||"Transaction failed":t||Gl[e]}),e==="success"&&n&&i.jsx("a",{href:`${s}/tx/${n}`,target:"_blank",rel:"noopener noreferrer",style:{fontSize:"12px",color:f,fontFamily:m,textDecoration:"none",whiteSpace:"nowrap",flexShrink:0},children:"View tx \u2192"}),e==="error"&&i.jsx("button",{onClick:h,style:{background:"none",border:"none",fontSize:"12px",color:f,fontFamily:m,cursor:"pointer",padding:0,whiteSpace:"nowrap",flexShrink:0},children:"Retry \u2192"})]}),o>=0&&e!=="success"&&e!=="error"&&i.jsx("div",{style:{marginTop:"8px",height:"3px",borderRadius:"2px",backgroundColor:`${d}22`,overflow:"hidden"},children:i.jsx("div",{style:{height:"100%",width:"100%",borderRadius:"2px",backgroundColor:f,transformOrigin:"left center",transform:`scaleX(${(o+1)/Kl.length})`,transition:"transform 400ms ease"}})})]}),If=()=>{},Af=({isOpen:e,onClose:t,closeOnBackdropClick:n=!1,destinationToken:s,sourceChains:o,supportedSourceAssets:r,additionalSourceTokens:a,includeExternalWalletAssets:l,includeCrossChainEmbeddedAssets:c,combineSourceBalances:d,recipient:m,feeOnlyAction:f,actionInput:h,actionProceeds:w,feeFunding:g,feeFundingReserve:y,maxSlippage:x,resolveInputSwap:b,buildActionCalls:v,feeExecutionMode:C="user-transfer",buildSpicenetBatch:k,onPayExecute:I,resolveExactOutputSwap:A,actionLabel:E,amountDirection:D=f?"output":"input",swapDescription:R,directDescription:B,paymentAmount:W,amountInputMode:O="fixed",maxPaymentAmount:M,onAmountChange:U,styles:F,dark:N,title:L,subtitle:q,onAddFunds:oe,onSubmit:pe,beforeSubmit:ae,submitDisabled:Q,onStateChange:$,onSuccess:X,onError:ee})=>{const Y=D==="output",we=u.useAssetDisplay(),be=D==="input-inclusive",{theme:j,dark:K,primaryColor:Z,dk:G,palette:ue,fontFamily:me,monoFont:Se,inputDark:J,cardBg:P,cardBorder:_,textPrimary:le,textSecondary:te,subtitleText:ne}=u.useSpiceBrand(F,N),Ie=p.useMemo(()=>J?{...j,colors:{...j.colors,secondary:G.cardBg,surfaceHover:G.hoverBg,border:"#2d2d2d",borderHover:"#3a3a3a"}}:j,[J,j,G.cardBg,G.hoverBg]),ge=El(s,e),fe=ge.token??Fr,Ce=p.useMemo(()=>fe.logoURI?fe:{...fe,logoURI:Ho[fe.symbol.toUpperCase()]},[fe]),st=Ce.chainId,[ve,ze]=p.useState(null),[Ze,He]=p.useState(W||""),et=O==="adjustable"?Ze:W||"0",tt=W?.trim(),ot=Y&&O==="fixed"&&tt!==void 0&&tt!==""&&parseFloat(et||"0")===0,{operationKey:gt,feeQuote:Xe,selectedAsset:ct,capability:Pe,retryFinalization:lt,assets:{selectable:Me,loading:ht,refreshing:Ct,error:Je,getAvailableBalance:ft},quote:{isQuoting:Be,quoteError:dt,estimatedOutput:De,exactOutputSwap:re,isDirect:de,needsSwap:Ee,pivot:Fe},fees:{preview:ce,isLoading:We,error:je},amount:{sourceRequiredAmount:z,parsed:$e,isInsufficientBalance:Re,availableBalance:Ve},status:{activity:Mt,finalizationError:At,finalizing:Oe,step:rt,statusMsg:wt,txHash:Ft,isExecuting:nt,error:Dt,showStatusPanel:Nn,paymentResult:xt},flags:{directExecutionFeeNote:gn},canExecute:Tt,submitSupply:on,retrySupply:bt,dismissPaymentStatus:Ut,submitPay:zt,resolveMaxAmount:$t,resetAfterSuccess:Ht,resetPaymentState:ut}=Os({enabled:e,destinationToken:ge.token&&Ce,selectedAsset:ve,paymentAmount:et,amountDirection:D,sourceChains:o,supportedSourceAssets:r,additionalSourceTokens:a,includeExternalWalletAssets:l,includeCrossChainEmbeddedAssets:c,combineSourceBalances:d,recipient:m,feeOnlyAction:f,actionInput:h,actionProceeds:w,feeFunding:g,feeFundingReserve:y,maxSlippage:x,resolveInputSwap:b,buildActionCalls:v,feeExecutionMode:C,buildSpicenetBatch:k,onPayExecute:I,resolveExactOutputSwap:A,isZeroAmountPay:ot,onSubmit:pe,beforeSubmit:ae,submitDisabled:Q,onSuccess:X,onError:ee}),Te=p.useMemo(()=>({operationKey:gt,feeQuote:Xe,selectedAsset:ct,canExecute:Tt&&!Q,isExecuting:nt,finalizing:Oe,finalizationError:At,feePreview:ce,txHash:Ft,error:Dt,statusStep:rt,statusMsg:wt}),[gt,Xe,ct,Tt,Q,nt,Oe,At,ce,Ft,Dt,rt,wt]),kt=p.useRef($);kt.current=$,p.useEffect(()=>{kt.current?.(Te)},[Te]);const _t=!!f||!!ve?.asset&&$e>0,Vt=ge.error||Dt,Ot=At?i.jsx(u.Button,{onClick:lt,disabled:Oe,children:"Retry application update"}):null;p.useEffect(()=>{e||(ze(null),O==="adjustable"&&He(W||""))},[e]),p.useEffect(()=>{if(Pe?.policyExcluded){ze(null);return}if(nt||ht||Ct||Je||!ve)return;const Ue=Me.find(Qe=>xe(Qe)===xe(ve.asset));Ue&&Ue!==ve.asset?ze({...ve,asset:Ue}):!Ue&&ve.asset.balance>0n&&ze({...ve,asset:{...ve.asset,balance:0n,balanceFormatted:0,balanceUsd:0}})},[Me,ht,Ct,Je,nt,Pe?.policyExcluded]);const Wt=p.useCallback(Ue=>{ze(Qe=>({asset:Ue,amount:Qe?.asset&&xe(Qe.asset)===xe(Ue)&&Qe.amount||""}))},[]),qe=p.useCallback(Ue=>{ze(Qe=>Qe&&{...Qe,amount:Ue})},[]),Nt=p.useCallback(Ue=>{let Qe=Ue;M&&parseFloat(Qe)>parseFloat(M)&&(Qe=M),He(Qe),U?.(Qe)},[M,U]),Rt=p.useCallback(()=>{ut(),ze(null)},[ut]),en=de?B||`Your ${Ce.symbol} will be used directly.`:R||"Your assets will be swapped and used in a single atomic transaction.",ln=(st?u.getChainConfig(st):void 0)?.viemChain?.blockExplorers?.default?.url??"",xn=Kl.indexOf(rt),yn=nt?(Gl[rt]||"EXECUTING...").toUpperCase():rt==="success"?"DONE":Re?"INSUFFICIENT BALANCE":(Ee||Fe)&&dt&&!Be?"QUOTE ERROR":E.toUpperCase(),wn=p.useMemo(()=>{if(xt?.status==="success")return"DONE";if(nt)return"PAYING...";if(Re&&ve?.asset)return`INSUFFICIENT ${we(ve.asset).symbol}`;if((Ee||Fe)&&dt&&!Be)return"QUOTE ERROR";if(E)return E.toUpperCase();const Ue=$e>0?` ${et} ${Ce.symbol}`:"";return Ee?`SWAP & PAY${Ue}`:`PAY${Ue}`},[nt,Re,ve,E,we,$e,et,Ce.symbol,Ee,dt,Be,xt?.status]),Qt=rt==="success"?()=>{Ht(),ze(null)}:on,Lt=rt==="success"?!1:!!Q||!Tt;if(!e)return null;const ie=Y?L||`Pay ${Ce.symbol}`:E,se=Y?q:i.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:"3px"},children:[i.jsx("span",{style:{marginTop:"3px",flexShrink:0},children:i.jsx(sr,{color:ne})}),i.jsx("p",{style:{fontSize:"12px",color:ne,margin:0,lineHeight:"1.4",fontFamily:me},children:en})]}),ke={...F,button:{...F?.button,backgroundColor:Z}},_e=_t&&i.jsx(rr,{fontFamily:me,textPrimary:le,textSecondary:te,cardBg:P,cardBorder:_,resolvedDark:K,darkCardBorder:G.cardBorder,primaryColor:Z,feePreview:ce,feeOnlyAction:f,asset:ve?.asset,isLoading:We,errorText:je,directExecutionFeeNote:gn});if(Y){const Ue=xt&&(xt.status==="success"||xt.status==="failed")?[{asset:{symbol:ve?.asset?we(ve.asset).symbol:Ce.symbol,address:ve?.asset?.address||""},amount:et,txHash:xt.txHash||"",success:xt.status==="success",error:xt.status==="failed"?xt.error:void 0}]:void 0;return i.jsx(fn,{isOpen:e,onClose:t,title:ie,subtitle:se,styles:F,dark:K,footerLinkText:"Spicenet accounts \u2192",closeOnBackdropClick:n,children:i.jsxs("div",{style:{padding:"16px 24px 8px 24px",position:"relative"},children:[i.jsx(ho,{activity:Mt,palette:G}),oe&&i.jsx("div",{style:{display:"flex",justifyContent:"flex-end",marginBottom:"6px"},children:i.jsx(ur,{onClick:oe,color:Z,fontFamily:me})}),!ot&&i.jsx("div",{style:{marginBottom:"12px"},children:i.jsx($n,{assets:Me,selectedAsset:ve??void 0,disabled:nt,onAssetSelect:Wt,onAmountChange:If,label:"Pay with",showBalance:!0,getAvailableBalance:ft,showMaxButton:!1,hideAmountInput:!0,displayAmount:ve&&z!==null?T.formatUnits(z,ve.asset.decimals):ve?"...":void 0,dark:K,theme:Ie,styles:F})}),!f&&i.jsx(Vl,{variant:"pay",destinationSymbol:Ce.symbol,destinationLogoURI:Ce.logoURI,destinationDecimals:Ce.decimals,primaryColor:Z,fontFamily:me,textPrimary:le,textSecondary:te,cardBg:P,cardBorder:_,dk:G,dark:K,isQuoting:Be,quoteError:dt,estimatedOutput:De,paymentAmount:et,needsSwap:Ee,exactOutputSwap:re,adjustable:O==="adjustable",maxAmount:M,onAmountChange:Nt}),_e,Ot,Vt&&i.jsx(Jt,{variant:"error",palette:ue,fontFamily:me,style:{marginBottom:"12px"},children:Vt}),i.jsx(u.Button,{variant:"outline",fullWidth:!0,onClick:xt?.status==="success"?t:zt,disabled:xt?.status==="success"?!1:!!Q||!Tt,loading:nt,dark:K,styles:ke,children:wn}),xt&&Nn&&!At&&i.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:10,backgroundColor:K?G.shell:"white",borderRadius:K?"12px":"6px",padding:"16px 0"},children:i.jsx(hr,{type:"payment",isOpen:xt.status!=="processing",isProcessing:nt||xt.status==="processing",closeOnComplete:!1,chainId:st,onRetryTx:()=>{Ut(),zt()},onNewTx:Rt,onClose:()=>{Ut()},onComplete:Rt,results:Ue,styles:F,dark:K})})]})})}return i.jsx(fn,{isOpen:e,onClose:t,title:ie,subtitle:se,dark:K,styles:F,theme:j,closeOnBackdropClick:n,children:i.jsxs("div",{style:{padding:"24px 24px 5px 24px",position:"relative"},children:[i.jsx(ho,{activity:Mt,palette:G}),i.jsx("div",{style:{marginBottom:"16px"},children:i.jsx($n,{assets:Me,selectedAsset:ve||void 0,onAssetSelect:Wt,onAmountChange:qe,disabled:nt||rt==="success",showBalance:!0,getAvailableBalance:ft,showMaxButton:!0,label:d?"From":"From Wallet",placeholder:"0.00",theme:Ie,styles:F,dark:J,resolveMaxAmount:be?void 0:$t,maxAmount:ve?.asset&&Ve!==void 0?T.formatUnits(Ve,ve.asset.decimals):void 0})}),ve?.asset&&(!de||!!Fe)&&!(be&&Fe)&&i.jsx(Vl,{variant:"supply",destinationSymbol:Ce.symbol,destinationLogoURI:Ce.logoURI,destinationDecimals:Ce.decimals,primaryColor:Z,fontFamily:me,textPrimary:le,textSecondary:te,cardBg:P,cardBorder:_,dark:K,isQuoting:Be,quoteError:dt,estimatedOutput:De}),_e,rt!=="idle"&&i.jsx(Sf,{step:rt,statusMsg:wt,txHash:Ft,explorerUrl:ln,currentStepIdx:xn,palette:ue,cardBg:P,cardBorder:_,textPrimary:le,textSecondary:te,fontFamily:me,primaryColor:Z,onRetry:()=>{bt()}}),Ot,Dt&&(rt==="idle"||!!At)&&i.jsx(Jt,{variant:"error",palette:ue,fontFamily:me,style:{marginBottom:"16px"},children:Dt}),i.jsx(u.Button,{variant:"outline",fullWidth:!0,disabled:Lt,onClick:Qt,theme:j,dark:K,styles:ke,style:{fontSize:"20px",fontWeight:600,letterSpacing:"1.5px",fontFamily:Se},children:yn})]})})},Ef=()=>{const[e,t]=p.useState("0"),[n,s]=p.useState(null);return{assetAmount:e,setAssetAmount:t,selectedAsset:n,setSelectedAsset:s}};function Ff(e,t=0){const[n,s]=p.useState(t),o=e[n]??e[0],r=p.useMemo(()=>o?BigInt(Math.round(o.months*30*24*3600)):0n,[o?.months]);return{selectedDurationIdx:n,setSelectedDurationIdx:s,selectedDuration:o,durationSeconds:r}}function Tf(){const{actions:e,isReady:t,isAuthenticated:n}=u.useWallet(),s=p.useContext(u.SpiceFlowProviderContext)?.embeddedWalletAddress,o=p.useRef(!1),r=p.useRef(0),a=p.useRef(null),l=p.useRef(e),[c,d]=p.useState(0);l.current=e,p.useEffect(()=>{o.current=!1,r.current=0,a.current&&(clearTimeout(a.current),a.current=null)},[s]),p.useEffect(()=>{if(!s||!t||!n||o.current)return;o.current=!0;let m=!1;return(async()=>{await pn(2e3);try{await u.ensureSmartWallet(s,l.current.signMessage),r.current=0}catch(f){console.warn("[SmartWallet] Registration failed:",f),o.current=!1,!m&&r.current<3&&(r.current+=1,a.current=setTimeout(()=>{d(h=>h+1)},5e3))}})(),()=>{m=!0,a.current&&(clearTimeout(a.current),a.current=null)}},[s,t,n,c])}function Bf(){const e=p.useContext(u.SpiceFlowProviderContext),t=(e?.mode??"7702")==="7702"?"embedded":"external",n=e?.setMode,s=p.useCallback(o=>n?.(o==="embedded"?"7702":"ondemand"),[n]);return{mode:t,setMode:s,ownerAddress:t==="embedded"?e?.embeddedWalletAddress:e?.externalWalletAddress,embeddedAddress:e?.embeddedWalletAddress,externalAddress:e?.externalWalletAddress,isUserWhitelisted:e?.isUserWhitelisted??null,isWhitelistChecking:e?.isWhitelistChecking??!1,isWhitelistGateActive:e?.isWhitelistGateActive??!1,whitelistCheck:e?.whitelistCheck}}function Rf({amount:e,enabled:t=!0,...n}){const s=p.useContext(u.SpiceFlowProviderContext),[o,r]=p.useState(null);p.useEffect(()=>{r(d=>d&&d.amount!==e?{...d,amount:e}:d)},[e]);const a=p.useMemo(()=>{if(!o)return null;const d=o.asset,m=d.location??(d._source==="spice"?"rollup":d._fundingWallet??((s?.mode??"7702")==="7702"?"embedded":"external"));return{...o,asset:{...d,location:m,owner:d.owner??(m==="external"?s?.externalWalletAddress:s?.embeddedWalletAddress),...d._wrapFromNative?{address:S.ZERO_ADDRESS,isNative:!0,positionId:void 0}:{}}}},[o,s?.mode,s?.embeddedWalletAddress,s?.externalWalletAddress]),l=Os({...n,enabled:t,selectedAsset:a,paymentAmount:n.amountDirection==="output"?e:void 0}),c=p.useCallback(d=>r({asset:d,amount:e}),[e]);return{sources:l.assets.selectable,getAvailableBalance:l.assets.getAvailableBalance,availableBalance:l.amount.availableBalance,selectedAsset:l.selectedAsset,setSelectedAsset:r,selectAsset:c,quote:{isQuoting:l.quote.isQuoting,error:l.quote.quoteError,estimatedInput:l.quote.estimatedInput,estimatedOutput:l.quote.estimatedOutput,estimatedMinOutput:l.fees.destinationAmount===void 0||!n.destinationToken?null:T.formatUnits(l.fees.destinationAmount,n.destinationToken.decimals),isDirect:l.quote.isDirect,needsSwap:l.quote.needsSwap},feePreview:l.fees.preview,isFeePreviewLoading:l.fees.isLoading,feePreviewError:l.fees.error||l.status.error,canSubmit:l.canExecute,execute:l.submit,isExecuting:l.status.isExecuting,step:l.status.step,statusMsg:l.status.statusMsg,txHash:l.status.txHash,refreshAssets:l.assets.refreshSpiceAssets,resolveMaxAmount:l.resolveMaxAmount,retryFinalization:l.retryFinalization}}const jf="spiceflow-limit-order:v1",Zl=T.parseAbi(["function exactInput((bytes path, address recipient, uint256 deadline, uint256 amountIn, uint256 amountOutMinimum) params) payable returns (uint256 amountOut)"]);function Df(e){if(!/^ord_[0-9a-f]{64}$/.test(e))throw new Error("Invalid limit order ID");return`Spice Flow limit order cancellation v1
|
|
74
|
+
Order: ${e}`}function Of(e){const t=e.intents[0];if(e.intents.length!==1||t.mode!=="7702")throw new Error("Invalid order intent");return`ord_${ai(t.chainBatches,BigInt(t.exp)).slice(2)}`}function Nf(e){if(!Number.isSafeInteger(e.expiresAt)||e.minimumOutput<=0n||e.amountIn<=0n||e.platformFee<0n||e.gasBridgeFee<0n||e.amountIn+e.platformFee+e.gasBridgeFee!==e.grossAmount)throw new Error("Invalid limit order amounts or expiry");const t=Fs({userAddress:e.user,destinationChainId:e.chainId,deliveryToken:e.tokenIn,deliveryAmount:e.grossAmount,deliveryRecipient:e.user,requestTimestampMs:e.requestTimestampMs,expiresAt:e.expiresAt,metadata:jf,requestNonce:e.requestNonce});if(!t)throw new Error("Order requires a positive cash balance");const n=[...xo(e.chainId,e.tokenIn,[{recipient:S.SPICE_PLATFORM_FEE_RECIPIENT,amount:e.platformFee},{recipient:S.SPICE_GAS_FEE_RECIPIENT,amount:e.gasBridgeFee}]).calls,{to:e.tokenIn,value:0n,data:T.encodeFunctionData({abi:T.erc20Abi,functionName:"approve",args:[e.router,e.amountIn]})},{to:e.router,value:0n,data:T.encodeFunctionData({abi:Zl,functionName:"exactInput",args:[{path:e.path,recipient:e.user,deadline:BigInt(e.expiresAt),amountIn:e.amountIn,amountOutMinimum:e.minimumOutput}]})}],s=S.hashChainBatches([t,{chainId:e.chainId,calls:n}]);return{user:e.user,amountMode:"gross_input",intents:[{mode:"7702",signatureType:"ecdsa",signature:"0x00",nbf:0,exp:e.expiresAt,chainBatches:s.map((o,r)=>({...o,chainId:Number(o.chainId),tokenTransfers:r===0?[]:[{from:"escrow",to:e.user,token:e.tokenIn,amount:e.grossAmount}]}))}]}}function Pf(e){const t=u.useWallet(),n=p.useContext(u.SpiceFlowProviderContext),s=Ss(),o=p.useRef(s);o.current=s;const r=p.useRef(e?.combineSourceBalances);r.current=e?.combineSourceBalances;const a=p.useRef({wallet:t,provider:n});a.current={wallet:t,provider:n};const l=p.useRef(!1),c=p.useRef(!0),d=p.useRef(0);p.useEffect(()=>(c.current=!0,()=>{c.current=!1,d.current++}),[]);const m=p.useRef(new WeakMap),f=p.useRef(new WeakMap),h=()=>{if(!c.current)throw new Error("Order hook is no longer mounted");return JSON.stringify([d.current,a.current.wallet.address,u.relayerService.getBaseUrl(),a.current.provider?.rpcOverrides,a.current.provider?.provider,a.current.provider?.network,a.current.provider?.mode])},w=p.useCallback(async b=>{b=structuredClone(b);const v=T.bytesToHex(crypto.getRandomValues(new Uint8Array(32))),C=a.current.wallet.address;if(!C)throw new Error("Connect a wallet before preparing an order");if(a.current.provider?.mode!=="7702")throw new Error("Limit orders require the 7702 wallet mode");if(!a.current.provider?.rpcOverrides?.[b.chainId])throw new Error(`Configure rpcOverrides[${b.chainId}] before preparing an order`);const k=h(),I=Date.now();if(!Number.isSafeInteger(b.expiresAt)||b.expiresAt<=Math.floor(I/1e3)||b.expiresAt>Math.floor(I/1e3)+30*86400||b.grossAmount<=0n||b.minimumOutput<=0n)throw new Error("Enter a positive amount, minimum output and expiry within 30 days");let A,E;if(r.current){const M=Qo(await u.getWalletBalanceEntries(C),b.chainId,b.tokenIn);if(M<b.grossAmount){const U=S.getTokenByAddress(b.tokenIn,b.chainId);if(!U||S.isNativeToken(b.tokenIn))throw new Error("This source is unavailable.");const F=b.grossAmount-M,N=await u.getClientForChain(b.chainId,a.current.provider?.rpcOverrides).readContract({address:b.tokenIn,abi:T.erc20Abi,functionName:"balanceOf",args:[C]});if(N<F)E="insufficient_balance";else{const L=await lr({address:C,escrowOnly:!0,depositQuote:{asset:{address:b.tokenIn,chainId:b.chainId,owner:C,location:"embedded",_source:"wallet",symbol:U.symbol,name:U.name,decimals:U.decimals,balance:N,balanceFormatted:Number(T.formatUnits(N,U.decimals)),balanceUsd:0,isNative:!1},amount:F,token:b.tokenIn,chainId:b.chainId}});if(L.fee>=F)throw new Error("Cash amount does not cover order fees");A={sourceSpendCap:F,depositAmount:L.net,feeAmount:L.fee},b.grossAmount-=L.fee}}if(h()!==k)throw new Error("Wallet or provider changed while preparing the order")}const D=b.venue??Qs;if(!(D.chainIds??[8453]).includes(b.chainId))throw new Error("Venue does not support the destination chain");const R=Gs(D);let B=b.grossAmount,W=0n,O=0n;for(let M=0;M<5;M++){const U=await R.resolve({type:"swap",tokenIn:b.tokenIn,tokenOut:b.tokenOut,amountIn:B},b.chainId,C);if(!U)throw new Error("No supported route for this order");const F=U.calls.find(ee=>u.addressesEqual(ee.to,D.swapRouter));if(!F)throw new Error("Order route is missing its swap");const{path:N}=T.decodeFunctionData({abi:Zl,data:F.data}).args[0],L=Nf({user:C,chainId:b.chainId,tokenIn:b.tokenIn,router:D.swapRouter,path:N,grossAmount:b.grossAmount,amountIn:B,minimumOutput:b.minimumOutput,expiresAt:b.expiresAt,platformFee:W,gasBridgeFee:O,requestTimestampMs:I,requestNonce:v});if(L.intents[0].mode!=="7702")throw new Error("Unsupported order mode");const q=structuredClone(L),oe=q.intents[0];if(oe.mode!=="7702")throw new Error("Unsupported order mode");const pe=ro(oe.chainBatches,C);pe[1].calls=U.calls;const ae=S.hashChainBatches(pe);oe.chainBatches=pe.map((ee,Y)=>({...oe.chainBatches[Y],calls:ee.calls,hash:ae[Y].hash}));const Q=(await u.relayerService.estimateActionFees(q)).intents[0]?.batches.find(ee=>ee.chainId===b.chainId);if(!Q)throw new Error("Order fee quote is unavailable");const $=u.getBatchFees(Q),X=b.grossAmount-$.totalFee;if(X<=0n)throw new Error("Cash amount does not cover order fees");if(h()!==k)throw new Error("Wallet or provider changed while preparing the order");if(X===B&&W===$.spicenetFee&&O===$.gasFee+$.bridgeFee){const ee={user:C,request:L,amountIn:B,minimumOutput:b.minimumOutput,feeAmount:$.totalFee,funding:A,fundingWarning:E,path:N};return m.current.set(ee,{scope:k,request:structuredClone(L),funding:A&&{...A,chainId:b.chainId,token:b.tokenIn}}),ee}B=X,W=$.spicenetFee,O=$.gasFee+$.bridgeFee}throw new Error("Order fees did not converge; prepare the order again")},[]),g=p.useCallback(async b=>{if(l.current)throw new Error("An order signature is already in progress");const v=m.current.get(b),C=v?.scope,k=()=>{if(!C||h()!==C||!u.addressesEqual(a.current.wallet.address,v?.request.user))throw new Error("Prepare the order again for the current wallet and provider")};k();const I=structuredClone(v.request),A=I.intents[0];if(A.mode!=="7702"||A.exp<=Date.now()/1e3)throw new Error("Order expired before signing");l.current=!0;try{const E=a.current.wallet.actions;if(I.chainAuthorizations=await li({chainBatches:A.chainBatches,signingAddress:I.user,actions:E}),k(),A.signature=await ii(E,A.chainBatches,BigInt(A.exp)),k(),A.exp<=Date.now()/1e3)throw new Error("Order expired during signing");return f.current.set(I,{scope:C,request:structuredClone(I),funding:v.funding}),I}finally{l.current=!1}},[]),y=p.useCallback(async b=>{const v=h(),{signature:C}=await a.current.wallet.actions.signMessage(Df(b));if(h()!==v)throw new Error("Wallet or provider changed during cancellation");return u.relayerService.cancelLimitOrder(b,C)},[]),x=p.useCallback(b=>{const v=f.current.get(b),C=()=>{if(!v||h()!==v.scope)throw new Error("Sign the order for the current wallet and provider before placing it");const A=v.request.intents[0];if(A.mode!=="7702"||A.exp<=Date.now()/1e3)throw new Error("Order expired before placement")};C();const{user:k}=v.request,I=v.funding;return I?(async()=>{const{chainId:A,token:E}=I,D=await u.getWalletBalanceEntries(k);if(C(),await o.current.execute([{chainId:A,tokenTransfers:[],calls:Fi({escrowAddress:S.getEscrowContractAddress(A),tokenAddress:E,isNative:!1,amount:I.depositAmount,gasFeeAmount:I.feeAmount})}],E,0n,void 0,void 0,{userOverride:k,useCustomTransfers:!0,skipPreSubmitFeeEstimate:!0,skipUserFundingPreflight:!0,walletFundingRequirement:{chainId:A,token:E,amount:I.sourceSpendCap},validateBeforeSubmit:async()=>C()}),!await ri({deposits:[{chainId:A,token:E,amount:I.depositAmount}],baseline:D,fetchEntries:()=>u.getWalletBalanceEntries(k)}))throw new Error("Your deposit is still waiting for Spice credit. Check this transaction's status before trying again.");return C(),u.relayerService.createLimitOrder(structuredClone(v.request))})():u.relayerService.createLimitOrder(structuredClone(v.request))},[]);return{prepareOrder:w,signOrder:g,placeOrder:x,getOrder:b=>u.relayerService.getLimitOrder(b),listOrders:b=>{if(!t.address)throw new Error("Connect a wallet to list orders");return u.relayerService.listLimitOrders(t.address,b)},cancelOrder:y}}mc(),exports.SpiceFlowProvider=u.SpiceFlowProvider,exports.SpiceFlowProviderContext=u.SpiceFlowProviderContext,exports.SpiceflowError=u.SpiceflowError,exports.Spinner=u.Spinner,exports.buildDarkPalette=u.buildDarkPalette,exports.buildLightPalette=u.buildLightPalette,exports.calculateBpsFee=u.calculateBpsFee,exports.duration=u.duration,exports.easing=u.easing,exports.font=u.font,exports.getChainConfig=u.getChainConfig,exports.getChainName=u.getChainName,exports.isSpiceflowError=u.isSpiceflowError,exports.radius=u.radius,exports.relayerService=u.relayerService,exports.resolveTheme=u.resolveTheme,exports.transition=u.transition,exports.useAssetDisplay=u.useAssetDisplay,exports.useIsUserWhitelisted=u.useIsUserWhitelisted,exports.useSpiceBrand=u.useSpiceBrand,exports.useWallet=u.useWallet,exports.z=u.z,Object.defineProperty(exports,"NATIVE_TOKEN_ADDRESS",{enumerable:!0,get:function(){return S.ZERO_ADDRESS}}),Object.defineProperty(exports,"SPICENET_NATIVE_CHAIN_ID",{enumerable:!0,get:function(){return S.SPICENET_NATIVE_CHAIN_ID}}),Object.defineProperty(exports,"SPICE_COMBINED_FEE_RECIPIENT",{enumerable:!0,get:function(){return S.SPICE_COMBINED_FEE_RECIPIENT}}),Object.defineProperty(exports,"SPICE_GAS_FEE_RECIPIENT",{enumerable:!0,get:function(){return S.SPICE_GAS_FEE_RECIPIENT}}),Object.defineProperty(exports,"SPICE_PLATFORM_FEE_RECIPIENT",{enumerable:!0,get:function(){return S.SPICE_PLATFORM_FEE_RECIPIENT}}),Object.defineProperty(exports,"SPICE_SOLVER_ADDRESS",{enumerable:!0,get:function(){return S.SPICE_SOLVER_ADDRESS}}),Object.defineProperty(exports,"applySlippage",{enumerable:!0,get:function(){return S.applySlippage}}),Object.defineProperty(exports,"buildUniV3SwapCalls",{enumerable:!0,get:function(){return S.buildUniV3SwapCalls}}),Object.defineProperty(exports,"getChainIdsByNetwork",{enumerable:!0,get:function(){return S.getChainIdsByNetwork}}),Object.defineProperty(exports,"getEscrowContractAddress",{enumerable:!0,get:function(){return S.getEscrowContractAddress}}),Object.defineProperty(exports,"isNativeToken",{enumerable:!0,get:function(){return S.isNativeToken}}),Object.defineProperty(exports,"isSpicenetChainId",{enumerable:!0,get:function(){return S.isSpicenetChainId}}),Object.defineProperty(exports,"normalizeNativeTokenAddress",{enumerable:!0,get:function(){return S.normalizeNativeTokenAddress}}),Object.defineProperty(exports,"spicenetAbi",{enumerable:!0,get:function(){return S.spicenetAbi}}),Object.defineProperty(exports,"spicenetWithdrawalAbi",{enumerable:!0,get:function(){return S.spicenetAbi}}),exports.AERODROME_BASE_CONFIG=Qs,exports.AccountDisplay=Pl,exports.AddFundsLink=ur,exports.AssetBalance=Qp,exports.AssetSelector=$n,exports.CheckIcon=yi,exports.ChevronIcon=Jn,exports.CloseIcon=As,exports.DEFAULT_LIQUIDITY_VENUES=Mo,exports.DetailRow=an,exports.ProviderLogin=mr,exports.SATSUMA_CITREA_CONFIG=Do,exports.SPICE_PLATFORM_FEE_BPS=zd,exports.SearchInput=pr,exports.SelectChainModal=gf,exports.SpiceAccount=hf,exports.SpiceDeposit=ql,exports.SpiceLock=vf,exports.SpiceSupply=Af,exports.SpiceWithdraw=Dr,exports.StatusBanner=Jt,exports.UNIV3_ARBITRUM_CONFIG=ia,exports.UNIV3_BASE_CONFIG=ra,exports.UNIV3_ETHEREUM_CONFIG=aa,exports.UNIV3_ROBINHOOD_CONFIG=la,exports.UNIV3_ROBINHOOD_SUSHI_CONFIG=ca,exports.UNIV4_BASE_CONFIG=xa,exports.UNIV4_ROBINHOOD_CONFIG=ya,exports.V4_NATIVE_CURRENCY=mn,exports.areEquivalentOnChains=gs,exports.assetCapability=Tn,exports.assetPositionId=xe,exports.buildLiquidityVenues=Mn,exports.buildPayChainBatches=yo,exports.buildRoutedBatches=Su,exports.buildSpicenetWithdrawalBatch=Fs,exports.buildSupplyChainBatches=wo,exports.createAerodromeExactOutputVenue=fa,exports.createAerodromeVenue=Gs,exports.createExactOutputRegistry=js,exports.createLiquidityRegistry=ma,exports.createSatsumaExactOutputVenue=No,exports.createSatsumaVenue=hs,exports.createUniV3ExactOutputVenue=No,exports.createUniV3Venue=hs,exports.createUniV4ExactOutputVenue=Ea,exports.createUniV4Venue=Aa,exports.encodeUniV3ExactOutputCall=ta,exports.estimateFeePreview=Wn,exports.estimateRequiredGrossFunding=Qu,exports.estimateSupplyMaxAmount=_u,exports.executePay=vl,exports.executeSupply=bl,exports.fetchBalances=Yn,exports.findEquivalentOnChain=En,exports.getAssetChainTokenCandidates=Kn,exports.getBestUniV3ExactOutputQuote=sa,exports.getBestUniV3Quote=na,exports.isExternalSource=_s,exports.isSupportedSupplyAsset=dp,exports.limitOrderId=Of,exports.resolveAssetTokenAddressOnChain=rn,exports.resolveFundedToken=ja,exports.resolveInputSupplySwapQuote=Rr,exports.resolveRoute=ku,exports.reverseUniV3Path=ea,exports.scaleTokenAmount=rs,exports.useAssetInput=Ef,exports.useLockDuration=Ff,exports.useSmartWallet=Tf,exports.useSpiceAccount=Bf,exports.useSpiceAction=Rf,exports.useSpiceActionActivity=fr,exports.useSpiceAssets=Qa,exports.useSpiceExecution=Ss,exports.useSpiceInventory=Xn,exports.useSpiceLimitOrders=Pf,exports.useSpiceLock=zl,exports.useSpicePendingDeposits=ei,exports.useSpiceSupply=Os,exports.useSupplyAssets=Tl,exports.useSupplyQuote=jl,exports.useTokenLogo=dr,exports.useWalletBalances=Cs;
|