@glacislabs/stablegenie-zerodelta 4.5.0 → 4.7.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/mount.cjs CHANGED
@@ -1451,6 +1451,10 @@ function routeDeltaLabel(result, quote) {
1451
1451
  if (quote.feeBps) return `${quote.feeBps} bps fee`;
1452
1452
  return "~0";
1453
1453
  }
1454
+ function quotePartnerId(quote) {
1455
+ const raw = quote.partnerId;
1456
+ return typeof raw === "string" && /^0x[0-9a-fA-F]{64}$/.test(raw) ? raw.toLowerCase() : NO_PARTNER_ID;
1457
+ }
1454
1458
  function optionTicker(option) {
1455
1459
  return option.ticker || option.symbol;
1456
1460
  }
@@ -1616,6 +1620,7 @@ async function buildRoute({
1616
1620
  }
1617
1621
  }
1618
1622
  const valueRaw = applyLayerZeroBuffer(quote, option);
1623
+ const partnerId = quotePartnerId(quote);
1619
1624
  if (!needsNativeFee) {
1620
1625
  if (valueRaw !== 0n) throw new Error("Non-LayerZero route requested a non-zero native value; refusing to sign.");
1621
1626
  } else if (valueRaw === 0n && Number(quote.executionChainId) > 0) {
@@ -1666,7 +1671,7 @@ async function buildRoute({
1666
1671
  label: "Submit ZeroDelta order",
1667
1672
  chainId: option.chainId,
1668
1673
  to: escrow,
1669
- data: encodeSubmitOrder(orders),
1674
+ data: encodeSubmitOrder(orders, partnerId),
1670
1675
  value: toHexQuantity(valueRaw),
1671
1676
  escrow,
1672
1677
  amountRaw: order.bidTokenAmount
@@ -1679,6 +1684,7 @@ async function buildRoute({
1679
1684
  gasCostSource: quote.gasCostSource,
1680
1685
  msgValue: valueRaw.toString(),
1681
1686
  deadline: order.deadline,
1687
+ partnerId: partnerId === NO_PARTNER_ID ? void 0 : partnerId,
1682
1688
  iterations: result.iterations,
1683
1689
  // Carried verbatim from the gateway's decision on THIS wallet pair. The projection used to
1684
1690
  // drop it, which is why the widget could show a price with no evidence of the control that
@@ -1693,7 +1699,7 @@ var CHANNEL_HEADER = "x-zd-channel";
1693
1699
  var CHANNEL_VERSION_HEADER = "x-zd-channel-version";
1694
1700
  var CHANNEL_ORIGIN_HEADER = "x-zd-channel-origin";
1695
1701
  var WIDGET_CHANNEL = "widget";
1696
- var WIDGET_VERSION = "4.5.0" ;
1702
+ var WIDGET_VERSION = "4.7.0" ;
1697
1703
  var MAX_CHANNEL_VERSION_LEN = 32;
1698
1704
  function sanitizeVersion(raw) {
1699
1705
  const v = String(raw).trim();
@@ -1931,6 +1937,33 @@ function createApiClient(cfg) {
1931
1937
  cache.vaults = { at: Date.now(), value };
1932
1938
  return value;
1933
1939
  }
1940
+ const priceCache = /* @__PURE__ */ new Map();
1941
+ async function fetchPrices(symbols) {
1942
+ const wanted = [...new Set(symbols.map((s) => String(s || "").toUpperCase()).filter((s) => /^[A-Z0-9]{1,16}$/.test(s)))];
1943
+ const missing = wanted.filter((s) => !nowFresh(priceCache.get(s) ?? null));
1944
+ if (missing.length) {
1945
+ let prices = {};
1946
+ try {
1947
+ const snapshot = await apiRequest(`/prices?symbols=${encodeURIComponent(missing.join(","))}`, {
1948
+ timeoutMs: 8e3
1949
+ });
1950
+ prices = snapshot && typeof snapshot === "object" && !snapshot.stale && snapshot.prices && typeof snapshot.prices === "object" ? snapshot.prices : {};
1951
+ } catch {
1952
+ prices = {};
1953
+ }
1954
+ const at = Date.now();
1955
+ for (const s of missing) {
1956
+ const n = Number(prices[s]);
1957
+ priceCache.set(s, { at, value: Number.isFinite(n) && n > 0 ? n : null });
1958
+ }
1959
+ }
1960
+ const out = {};
1961
+ for (const s of wanted) {
1962
+ const value = priceCache.get(s)?.value;
1963
+ if (value != null) out[s] = value;
1964
+ }
1965
+ return out;
1966
+ }
1934
1967
  async function fetchQuote(body, retries = 1) {
1935
1968
  let lastError;
1936
1969
  for (let attempt = 0; attempt <= retries; attempt += 1) {
@@ -1990,7 +2023,7 @@ function createApiClient(cfg) {
1990
2023
  return false;
1991
2024
  }
1992
2025
  }
1993
- return { apiRequest, fetchChains, fetchTokens, fetchRoutes, fetchRouteHealth, fetchRwaVaults, fetchQuote, screenWallet, reportSubmission, apiBase };
2026
+ return { apiRequest, fetchChains, fetchTokens, fetchRoutes, fetchRouteHealth, fetchRwaVaults, fetchPrices, fetchQuote, screenWallet, reportSubmission, apiBase };
1994
2027
  }
1995
2028
 
1996
2029
  // src/core/plan.ts
@@ -2173,6 +2206,14 @@ function validateSwap(swap = {}) {
2173
2206
  if (!/^\d+(\.\d+)?$/.test(amountIn) || Number(amountIn) <= 0 || Number(amountIn) > 1e9) throw new Error("Enter a valid swap amount.");
2174
2207
  return { fromChainId, toChainId, fromToken, toToken, amountIn };
2175
2208
  }
2209
+ function viaOf(quote, tokens) {
2210
+ const orders = Array.isArray(quote.orderRequests) ? quote.orderRequests : [];
2211
+ if (orders.length < 2) return null;
2212
+ const first = orders[0];
2213
+ const wanted = normalizeAddress(first?.askToken);
2214
+ const token = wanted ? tokens.find((t) => Number(t.chainId) === Number(first?.destinationChainId) && normalizeAddress(t.address) === wanted) : void 0;
2215
+ return token ? tokenTicker(token) : "";
2216
+ }
2176
2217
  async function quoteSwapPreview(api, swap, owner) {
2177
2218
  const v = validateSwap(swap);
2178
2219
  const tokens = await api.fetchTokens();
@@ -2201,7 +2242,9 @@ async function quoteSwapPreview(api, swap, owner) {
2201
2242
  toToken: destToken.symbol,
2202
2243
  bridge: quote.bridge || "",
2203
2244
  feeBps: Number(quote.feeBps || 0),
2204
- estimatedDuration: Number(quote.estimatedDuration || 0)
2245
+ estimatedDuration: Number(quote.estimatedDuration || 0),
2246
+ via: viaOf(quote, tokens),
2247
+ nativeFeeRaw: /^\d+$/.test(String(quote.gasCostSource ?? "")) ? String(quote.gasCostSource) : "0"
2205
2248
  };
2206
2249
  }
2207
2250
  async function buildSwapPlan(api, swap, payer, wallet = {}) {
@@ -2312,7 +2355,7 @@ function validatePlannedTransaction(tx, route, expectedRecipient) {
2312
2355
  if (!decoded) return false;
2313
2356
  const first = decoded.orders[0];
2314
2357
  const last = decoded.orders[decoded.orders.length - 1];
2315
- return decoded.partnerId === NO_PARTNER_ID && lower(first.bidToken) === lower(route.source.tokenAddress) && rawEquals(first.bidTokenAmount, tx.amountRaw) && lower(last.askToken) === lower(route.receive.tokenAddress) && Number(last.destinationChainId) === Number(route.receive.chainId) && lower(last.destinationReceiver) === lower(expectedRecipient);
2358
+ return decoded.partnerId === lower(route.quote?.partnerId || NO_PARTNER_ID) && lower(first.bidToken) === lower(route.source.tokenAddress) && rawEquals(first.bidTokenAmount, tx.amountRaw) && lower(last.askToken) === lower(route.receive.tokenAddress) && Number(last.destinationChainId) === Number(route.receive.chainId) && lower(last.destinationReceiver) === lower(expectedRecipient);
2316
2359
  }
2317
2360
  return false;
2318
2361
  }
@@ -2640,6 +2683,7 @@ function createEngine(config = {}) {
2640
2683
  fetchRoutes: api.fetchRoutes,
2641
2684
  fetchRouteHealth: api.fetchRouteHealth,
2642
2685
  fetchQuote: api.fetchQuote,
2686
+ fetchPrices: (symbols) => api.fetchPrices ? api.fetchPrices(symbols) : Promise.resolve({}),
2643
2687
  fetchCatalogue: async (allowedAssets, product) => {
2644
2688
  const [chains, registryTokens, routes, health, vaults] = await Promise.all([
2645
2689
  api.fetchChains().catch(() => []),
@@ -3252,17 +3296,28 @@ function useHoldings(engine, account, routes, initialBalances) {
3252
3296
 
3253
3297
  // src/react/styles.ts
3254
3298
  var WIDGET_CSS = `
3255
- .sg-widget{box-sizing:border-box;width:100%;max-width:400px;margin:0 auto;padding:20px;background:var(--sg-bg);color:var(--sg-text);border:1px solid var(--sg-border);border-radius:var(--sg-radius);font-family:var(--sg-font);font-size:15px;line-height:1.5;box-shadow:0 1px 2px rgba(16,17,22,.04),0 8px 24px rgba(16,17,22,.06)}
3299
+ /* The card as the ZeroDelta widget design draws it (Figma "Widget Playground", 2026-09-30): no
3300
+ border and no shadow, tone steps of the one text colour, and a "raised" fill for the controls that
3301
+ sit on a tinted pane (the token button, the percent chips, the swap button). The tone steps are
3302
+ derived here from --sg-text so a host theme only has to name the text colour once. */
3303
+ .sg-widget,.sg-duo-wrap,.sg-pill-root{--sg-t90:color-mix(in srgb,var(--sg-text) 90%,transparent);--sg-t80:color-mix(in srgb,var(--sg-text) 80%,transparent);--sg-t72:color-mix(in srgb,var(--sg-text) 72%,transparent);--sg-t60:color-mix(in srgb,var(--sg-text) 60%,transparent);--sg-t35:color-mix(in srgb,var(--sg-text) 35%,transparent);--sg-raised:var(--sg-bg);--sg-chip-radius:calc(var(--sg-radius-control) / 2);--sg-pill-radius:calc(var(--sg-radius-control) * 2 / 3)}
3304
+ .sg-widget[data-sg-mode="dark"],.sg-duo-wrap[data-sg-mode="dark"],.sg-pill-root[data-sg-mode="dark"]{--sg-raised:color-mix(in srgb,var(--sg-surface) 92%,var(--sg-info))}
3305
+ .sg-widget{box-sizing:border-box;width:100%;max-width:380px;margin:0 auto;padding:20px 16px;background:var(--sg-bg);color:var(--sg-text);border:0;border-radius:var(--sg-radius);font-family:var(--sg-font);font-size:14px;line-height:1.4}
3256
3306
  .sg-widget *{box-sizing:border-box}
3257
- :root[data-theme="dark"] .sg-widget,.sg-widget[data-sg-mode="dark"]{box-shadow:0 8px 24px rgba(0,0,0,.4)}
3258
3307
 
3259
- .sg-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
3260
- .sg-title{font-size:15px;font-weight:600;letter-spacing:-0.01em}
3308
+ .sg-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:16px;min-height:28px}
3309
+ .sg-head-end{display:flex;align-items:center;gap:8px}
3310
+ /* In a modal or drawer the title centres on the wallet chip and the close button; inline it sits at the top. */
3311
+ .sg-dialog .sg-head{align-items:center}
3312
+ .sg-title{font-size:18px;font-weight:500;line-height:22px;color:var(--sg-t90)}
3313
+ .sg-close{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:24px;height:24px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--sg-text-muted);cursor:pointer;transition:color 120ms ease}
3314
+ .sg-close:hover{color:var(--sg-text)}
3315
+ .sg-close:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
3261
3316
  .sg-brand{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:var(--sg-text-muted);text-transform:uppercase;letter-spacing:0.08em}
3262
3317
  .sg-brand-mark{flex:0 0 auto;display:block}
3263
3318
 
3264
3319
  .sg-label{display:block;font-size:12px;color:var(--sg-text-muted);margin-bottom:6px}
3265
- .sg-panel{background:var(--sg-surface);border:1px solid var(--sg-border);border-radius:var(--sg-radius-control);padding:16px}
3320
+ .sg-panel{background:var(--sg-surface);border-radius:var(--sg-radius-control);padding:16px}
3266
3321
  .sg-panel + .sg-panel{margin-top:12px}
3267
3322
  .sg-row{display:flex;gap:10px;align-items:center}
3268
3323
  .sg-row>*{min-width:0}
@@ -3278,8 +3333,9 @@ var WIDGET_CSS = `
3278
3333
  /* inputs */
3279
3334
  .sg-input,.sg-select{width:100%;padding:10px 12px;background:var(--sg-bg);color:var(--sg-text);border:1px solid var(--sg-border);border-radius:var(--sg-radius-control);font:inherit;outline:none;transition:border-color 120ms ease}
3280
3335
  .sg-input:focus,.sg-select:focus{border-color:var(--sg-accent)}
3281
- .sg-amount{font-size:28px;font-weight:700;border:none;background:transparent;padding:0}
3336
+ .sg-amount{flex:1 1 auto;min-width:0;font-family:var(--sg-font-display);font-size:18px;font-weight:500;line-height:22px;color:var(--sg-t90);border:none;border-radius:0;background:transparent;padding:0}
3282
3337
  .sg-amount:focus{border:none}
3338
+ .sg-amount::placeholder{color:var(--sg-t35)}
3283
3339
  .sg-field{margin-bottom:12px}
3284
3340
  .sg-reverse{display:flex;align-items:center;justify-content:center;width:34px;height:34px;margin:-6px auto;position:relative;z-index:1;border-radius:var(--sg-radius-control);border:1px solid var(--sg-border);background:var(--sg-bg);color:var(--sg-text-muted);cursor:pointer;transition:color 120ms ease,border-color 120ms ease}
3285
3341
  .sg-reverse:hover{color:var(--sg-accent);border-color:var(--sg-accent)}
@@ -3331,13 +3387,13 @@ var WIDGET_CSS = `
3331
3387
  .sg-badge[data-tone="warn"]{background:color-mix(in srgb,var(--sg-danger) 14%,transparent);color:var(--sg-danger)}
3332
3388
 
3333
3389
  /* CTA */
3334
- .sg-btn{width:100%;min-height:48px;padding:12px 16px;border:none;border-radius:var(--sg-radius-cta);background:var(--sg-accent);color:var(--sg-accent-text);font:inherit;font-size:15px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:filter 120ms ease,opacity 120ms ease,transform 60ms ease}
3390
+ .sg-btn{width:100%;min-height:44px;padding:10px 24px;border:none;border-radius:var(--sg-radius-cta);background:var(--sg-accent);color:var(--sg-accent-text);font:inherit;font-size:14px;font-weight:500;line-height:1.2;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:filter 120ms ease,opacity 120ms ease,transform 60ms ease}
3335
3391
  .sg-btn:hover:not(:disabled){filter:brightness(1.06)}
3336
3392
  .sg-btn:active:not(:disabled){transform:translateY(1px)}
3337
3393
  .sg-btn:disabled{opacity:.5;cursor:not-allowed}
3338
3394
  .sg-btn-ghost{background:transparent;color:var(--sg-text);border:1px solid var(--sg-border)}
3339
3395
  .sg-btn-ghost:hover:not(:disabled){filter:none;border-color:var(--sg-accent);color:var(--sg-accent)}
3340
- .sg-cta-wrap{margin-top:14px}
3396
+ .sg-cta-wrap{margin-top:16px}
3341
3397
  .sg-cta-wrap .sg-btn+.sg-btn{margin-top:8px}
3342
3398
 
3343
3399
  /* status / steps */
@@ -3368,35 +3424,33 @@ var WIDGET_CSS = `
3368
3424
  @keyframes sg-spin{to{transform:rotate(360deg)}}
3369
3425
  @keyframes sg-shimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}
3370
3426
 
3371
- .sg-foot{margin-top:14px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;color:var(--sg-text-muted);text-align:center}
3372
- /* display:inline-block is load-bearing, not tidiness. A host running a CSS reset \u2014 Tailwind
3373
- preflight, which most integrators use and which this repo's own playground applies \u2014 sets
3374
- svg{display:block}, and the padlock then takes a line of its own above the sentence. Every other
3375
- glyph in the widget sits in a flex or absolute box where that is harmless; this is the one that
3376
- lives in normal text flow. (WIDGET_CSS is a template literal: no backticks in these comments.) */
3377
- .sg-foot svg{display:inline-block;vertical-align:-1px;margin-right:5px}
3427
+ /* "Powered by ZeroDelta" with the brand mark. A flex row, so a host reset that sets
3428
+ svg{display:block} (Tailwind preflight) changes nothing. */
3429
+ .sg-foot{margin-top:12px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:500;line-height:14px;min-height:16px;color:var(--sg-t80);text-align:center}
3430
+ .sg-foot-mark{flex:0 0 auto;display:block}
3378
3431
 
3379
3432
  /* fixed-height variant \u2014 head/foot pinned, body scrolls */
3380
3433
  .sg-widget[data-sg-fixed="true"]{display:flex;flex-direction:column}
3381
3434
  .sg-widget[data-sg-fixed="true"] .sg-body{flex:1 1 auto;min-height:0;overflow-y:auto;margin:0 -8px;padding:0 8px;scrollbar-width:thin}
3382
3435
 
3383
3436
  /* head wallet pill (Connect wallet / connected address) */
3384
- .sg-wallet{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:var(--sg-radius-cta);border:1px solid var(--sg-border);background:transparent;color:var(--sg-text);font:inherit;font-size:12px;font-weight:600;cursor:pointer;transition:border-color 120ms ease,color 120ms ease}
3437
+ .sg-wallet{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:var(--sg-pill-radius);border:1px solid var(--sg-border);background:var(--sg-bg);color:var(--sg-t72);font:inherit;font-size:12px;font-weight:500;line-height:14px;white-space:nowrap;cursor:pointer;transition:border-color 120ms ease,color 120ms ease}
3385
3438
  .sg-wallet:hover{border-color:var(--sg-accent);color:var(--sg-accent)}
3386
- .sg-wallet[data-connected="true"]{cursor:default;color:var(--sg-text-muted)}
3387
- .sg-wallet[data-connected="true"]:hover{border-color:var(--sg-border);color:var(--sg-text-muted)}
3388
- .sg-wallet-dot{width:7px;height:7px;border-radius:999px;background:var(--sg-success)}
3439
+ .sg-wallet[data-connected="true"]{cursor:default;color:var(--sg-t72)}
3440
+ .sg-wallet[data-connected="true"]:hover{border-color:var(--sg-border);color:var(--sg-t72)}
3441
+ .sg-wallet-dot{width:6px;height:6px;border-radius:999px;background:var(--sg-success)}
3389
3442
 
3390
3443
  /* From/To tiles with a centered arrow (exchange layout) */
3391
- .sg-ft{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:10px}
3392
- .sg-tile{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid var(--sg-border);border-radius:var(--sg-radius-control);background:var(--sg-surface);cursor:pointer;font:inherit;color:var(--sg-text);text-align:left;min-width:0;transition:border-color 120ms ease}
3393
- .sg-tile:hover:not(:disabled){border-color:color-mix(in srgb,var(--sg-accent) 45%,var(--sg-border))}
3444
+ .sg-ft{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:8px}
3445
+ .sg-tile{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:16px 20px;border:0;border-radius:var(--sg-radius-control);background:var(--sg-surface);cursor:pointer;font:inherit;color:var(--sg-text);text-align:left;min-width:0;transition:background 120ms ease}
3446
+ .sg-tile:hover:not(:disabled){background:color-mix(in srgb,var(--sg-accent) 8%,var(--sg-bg))}
3394
3447
  .sg-tile:disabled{cursor:default}
3395
- .sg-tile-label{font-size:12px;color:var(--sg-text-muted)}
3396
- .sg-tile-main{display:flex;align-items:center;gap:10px;min-width:0}
3397
- .sg-tile-text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
3398
- .sg-tile-sym{font-size:16px;font-weight:700;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
3399
- .sg-tile-chain{font-size:11px;color:var(--sg-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
3448
+ .sg-tile-label{font-size:13px;line-height:18px;color:var(--sg-t60)}
3449
+ .sg-tile-main{display:flex;align-items:flex-start;gap:14px;min-width:0;max-width:100%}
3450
+ /* A flex COLUMN: as inline spans the ticker and the chain ran together on one line. */
3451
+ .sg-tile-text{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.2}
3452
+ .sg-tile-sym{font-size:16px;font-weight:500;line-height:19px;color:var(--sg-t90);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
3453
+ .sg-tile-chain{font-size:12px;line-height:14px;color:var(--sg-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
3400
3454
  .sg-tile-empty{color:var(--sg-text-muted);font-size:15px;font-weight:600}
3401
3455
  .sg-funding-glyphs{display:flex;align-items:center;flex:0 0 auto;padding-right:2px}
3402
3456
  .sg-funding-glyphs .sg-tok{box-shadow:0 0 0 2px var(--sg-surface);border-radius:999px}
@@ -3412,6 +3466,17 @@ var WIDGET_CSS = `
3412
3466
  img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
3413
3467
  .sg-tok[data-size="sm"],.sg-tok[data-size="sm"] .sg-tok-img,.sg-tok[data-size="sm"] .sg-tok-fb{width:28px;height:28px}
3414
3468
  .sg-tok[data-size="sm"] .sg-tok-fb{font-size:9px}
3469
+ /* The design's three marks: 32px on a From/To tile, 24px in a token button, 18px on the rate line. */
3470
+ .sg-tok[data-size="tile"],.sg-tok[data-size="tile"] .sg-tok-img,.sg-tok[data-size="tile"] .sg-tok-fb{width:32px;height:32px}
3471
+ .sg-tok[data-size="tile"] .sg-tok-fb{font-size:10px}
3472
+ .sg-tok[data-size="tile"] .sg-tok-badge{right:-4px;bottom:-5.5px;border-color:var(--sg-surface)}
3473
+ /* the side card's receive mark carries the smaller badge, ringed in the card colour */
3474
+ .sg-recv .sg-tok[data-size="xs"] .sg-tok-badge{min-width:12px;width:12px;height:12px;right:-3px;bottom:-3px;border-color:var(--sg-bg)}
3475
+ .sg-tok[data-size="xs"],.sg-tok[data-size="xs"] .sg-tok-img,.sg-tok[data-size="xs"] .sg-tok-fb{width:24px;height:24px}
3476
+ .sg-tok[data-size="xs"] .sg-tok-fb{font-size:8px}
3477
+ .sg-tok[data-size="xs"] .sg-tok-badge{min-width:14px;width:14px;height:14px;right:-4px;bottom:-3.5px;border-width:1px;border-color:var(--sg-surface);font-size:5px;padding:0}
3478
+ .sg-tok[data-size="xxs"],.sg-tok[data-size="xxs"] .sg-tok-img,.sg-tok[data-size="xxs"] .sg-tok-fb{width:18px;height:18px}
3479
+ .sg-tok[data-size="xxs"] .sg-tok-fb{font-size:6px}
3415
3480
 
3416
3481
  /* fiat side (on/off-ramp) */
3417
3482
  .sg-fiat{flex:0 0 auto;width:36px;height:36px;border-radius:999px;background:color-mix(in srgb,var(--sg-accent) 14%,transparent);color:var(--sg-accent);font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center}
@@ -3424,10 +3489,10 @@ img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
3424
3489
  .sg-amount-note{font-size:12px;font-weight:600;line-height:1.35;color:var(--sg-text-muted);margin-top:6px}
3425
3490
  .sg-amount-note[data-tone="error"]{color:var(--sg-danger)}
3426
3491
  .sg-amount[aria-invalid="true"]{color:var(--sg-danger)}
3427
- .sg-pct-row{display:flex;gap:8px;margin-top:12px}
3428
- .sg-pct{flex:1 1 0;padding:7px 0;border-radius:var(--sg-radius-cta);border:1px solid var(--sg-border);background:var(--sg-bg);color:var(--sg-text-muted);font:inherit;font-size:12px;font-weight:600;cursor:pointer;transition:color 120ms ease,border-color 120ms ease}
3429
- .sg-pct:hover:not(:disabled){color:var(--sg-accent);border-color:var(--sg-accent)}
3430
- .sg-pct:disabled{opacity:.45;cursor:not-allowed}
3492
+ .sg-pct-row{display:flex;gap:4px}
3493
+ .sg-pct{flex:0 0 auto;padding:4px 8px;border:0;border-radius:var(--sg-chip-radius);background:var(--sg-raised);color:var(--sg-t72);font:inherit;font-size:11px;font-weight:500;line-height:13px;cursor:pointer;transition:color 120ms ease}
3494
+ .sg-pct:hover:not(:disabled){color:var(--sg-accent)}
3495
+ .sg-pct:disabled{opacity:.55;cursor:not-allowed}
3431
3496
 
3432
3497
  /* full-panel token selector (Exchange from / Exchange to) */
3433
3498
  .sg-sel-head{display:flex;align-items:center;margin-bottom:14px}
@@ -3475,10 +3540,10 @@ img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
3475
3540
  /* width:100% is load-bearing: an inline-size container has NO intrinsic width, so as a flex/grid
3476
3541
  item it would collapse to 0 and hide the whole widget. It fills the host slot; .sg-duo centers. */
3477
3542
  .sg-duo-wrap{container-type:inline-size;width:100%;font-family:var(--sg-font)}
3478
- .sg-duo{display:grid;grid-template-columns:minmax(0,400px) minmax(0,380px);gap:18px;align-items:start;justify-content:center;font-family:var(--sg-font)}
3479
- @container (max-width:840px){.sg-duo{grid-template-columns:minmax(0,400px)}}
3480
- @media (max-width:920px){.sg-duo{grid-template-columns:minmax(0,400px)}}
3481
- .sg-side-title{font-size:15px;font-weight:600;letter-spacing:-0.01em;margin-bottom:14px}
3543
+ .sg-duo{display:grid;grid-template-columns:minmax(0,360px) minmax(0,280px);gap:12px;align-items:start;justify-content:center;font-family:var(--sg-font)}
3544
+ @container (max-width:660px){.sg-duo{grid-template-columns:minmax(0,380px)}}
3545
+ @media (max-width:700px){.sg-duo{grid-template-columns:minmax(0,380px)}}
3546
+ .sg-side-title{font-size:18px;font-weight:500;line-height:22px;color:var(--sg-t90);margin-bottom:16px}
3482
3547
  .sg-noroutes{padding:34px 14px;text-align:center}
3483
3548
  .sg-noroutes-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:999px;background:var(--sg-surface);color:var(--sg-text-muted);margin-bottom:12px}
3484
3549
  .sg-noroutes-title{font-size:16px;font-weight:700;margin-bottom:8px}
@@ -3488,12 +3553,14 @@ img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
3488
3553
  .sg-meta-row:last-child{border-bottom:none}
3489
3554
  .sg-meta-row b{font-weight:600;font-variant-numeric:tabular-nums}
3490
3555
  .sg-meta-label{color:var(--sg-text-muted)}
3491
- .sg-recv-amt{font-size:28px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-0.01em}
3492
- .sg-recv-sub{font-size:12px;color:var(--sg-text-muted);margin-top:2px}
3556
+ .sg-recv{display:flex;flex-direction:column;gap:2px;min-width:0}
3557
+ .sg-recv-line{display:flex;align-items:flex-end;gap:12px;min-width:0}
3558
+ .sg-recv-amt{min-width:0;font-family:var(--sg-font-display);font-size:18px;font-weight:500;line-height:20px;color:var(--sg-t90);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
3559
+ .sg-recv-sub{font-size:12px;line-height:14px;color:var(--sg-text-muted);padding-left:36px}
3493
3560
 
3494
3561
  /* head tools: history entry point beside the wallet pill / brand chip */
3495
3562
  .sg-head-tools{display:flex;align-items:center;gap:8px}
3496
- .sg-hist{width:32px;height:32px;flex:0 0 auto;border:1px solid var(--sg-border);border-radius:999px;background:transparent;color:var(--sg-text-muted);cursor:pointer;font:inherit;display:flex;align-items:center;justify-content:center;transition:color 120ms ease,border-color 120ms ease}
3563
+ .sg-hist{width:28px;height:28px;flex:0 0 auto;border:1px solid var(--sg-border);border-radius:999px;background:transparent;color:var(--sg-text-muted);cursor:pointer;font:inherit;display:flex;align-items:center;justify-content:center;transition:color 120ms ease,border-color 120ms ease}
3497
3564
  .sg-hist:hover{color:var(--sg-accent);border-color:var(--sg-accent)}
3498
3565
 
3499
3566
  /* transaction history row. NOT the picker's flex row: at 390px that layout wrapped the pair onto two
@@ -3785,6 +3852,135 @@ img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
3785
3852
 
3786
3853
  /* express (PaymentIsland) trims the card padding, so the sheet follows */
3787
3854
  @media (prefers-reduced-motion:reduce){.sg-cp-sheet{animation:none}}
3855
+
3856
+ /* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
3857
+ The card body of the ZeroDelta widget design (Figma "Widget Playground", 2026-09-30).
3858
+ One column with a 4px rhythm: the tinted "You pay" / "You receive" panes with the swap button
3859
+ riding the seam between them, the detail buttons, and the rate box. Every radius follows the
3860
+ theme so the playground's corner slider (and a host theme) moves all of them together.
3861
+ \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 */
3862
+ .sg-stack{position:relative;display:flex;flex-direction:column;gap:4px;min-width:0}
3863
+ .sg-pane{display:flex;flex-direction:column;gap:10px;min-width:0;padding:12px 16px;background:var(--sg-surface);border-radius:var(--sg-radius-control)}
3864
+ .sg-pane[data-kind="pay"] .sg-pane-foot{margin-top:2px}
3865
+ .sg-pane[data-kind="send"]{gap:12px;padding:16px 20px}
3866
+ .sg-pane[data-kind="send"] .sg-pct{padding:7px 10px}
3867
+ .sg-widget[data-sg-mode="dark"] .sg-pane[data-kind="send"] .sg-pct{background:transparent;border:1px solid var(--sg-border)}
3868
+ .sg-pane[data-kind="send"] .sg-pane-foot{line-height:18px}
3869
+ .sg-pane[data-kind="send"] .sg-pane-foot>span:last-child{font-size:13px}
3870
+ .sg-pane[data-kind="send"] .sg-amount{line-height:20px}
3871
+ .sg-pane-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:21px}
3872
+ .sg-pane-label{font-size:13px;line-height:18px;color:var(--sg-t60);white-space:nowrap}
3873
+ .sg-pane-mid{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
3874
+ /* The amount takes what the token button leaves, never the other way round: an input's intrinsic
3875
+ width (about twenty characters) otherwise squeezed the button down to "U\u2026". */
3876
+ .sg-pane-mid>.sg-amount,.sg-pane-mid>.sg-amt-out{flex:1 1 0;width:0;min-width:0}
3877
+ .sg-pane-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;line-height:14px;color:var(--sg-text-muted);min-height:14px}
3878
+ /* "You receive" runs its USD line straight under the amount row: no gap, as the design draws it. */
3879
+ .sg-pane[data-kind="receive"]>.sg-pane-foot{margin-top:-10px}
3880
+ .sg-pane-foot b{font-weight:400;color:var(--sg-t90)}
3881
+ .sg-pane--note{min-height:100px;align-items:center;justify-content:center;text-align:center;font-size:13px;line-height:1.4;color:var(--sg-t60);padding:12px max(16px,calc(50% - 100px))}
3882
+
3883
+ /* amounts: the display face, the decimals greyed */
3884
+ .sg-amt-out{flex:1 1 auto;min-width:0;font-family:var(--sg-font-display);font-size:18px;font-weight:500;line-height:22px;color:var(--sg-t90);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
3885
+ .sg-amt-dec,.sg-amt-empty{color:var(--sg-t35)}
3886
+
3887
+ /* the token button inside a pane */
3888
+ .sg-tokbtn{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:62%;padding:8px;border:0;border-radius:var(--sg-radius-control);background:var(--sg-raised);color:var(--sg-text);font:inherit;text-align:left;cursor:pointer}
3889
+ .sg-tokbtn .sg-tok{margin-right:6px;align-self:flex-start}
3890
+ .sg-tokbtn:disabled{cursor:default}
3891
+ .sg-tokbtn:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
3892
+ .sg-tokbtn-text{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.2}
3893
+ .sg-tokbtn-text>.sg-tokbtn-sym{line-height:17px}
3894
+ .sg-tokbtn-text>.sg-tokbtn-chain{line-height:14px}
3895
+ .sg-tokbtn-sym{font-size:14px;font-weight:500;color:var(--sg-t90);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
3896
+ .sg-tokbtn-chain{font-size:12px;color:var(--sg-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
3897
+ .sg-tokbtn-chev{display:flex;flex:0 0 auto;color:var(--sg-t80);transition:color 120ms ease,transform 120ms ease}
3898
+ .sg-tokbtn:hover:not(:disabled) .sg-tokbtn-chev{color:var(--sg-accent);transform:translateX(1px)}
3899
+ .sg-tokbtn--fiat{gap:8px;padding-right:12px;cursor:default}
3900
+ .sg-tokbtn-select{border:0;background:transparent;color:var(--sg-t90);font:inherit;font-size:14px;font-weight:500;cursor:pointer;padding:0 2px}
3901
+ .sg-fiat[data-size="xs"]{width:24px;height:24px;font-size:12px}
3902
+
3903
+ /* the swap button on the seam between the panes (and the small one between the From/To tiles) */
3904
+ .sg-flip-slot{position:relative;height:0;margin:-2px 0;z-index:1}
3905
+ .sg-flip{position:absolute;left:50%;top:0;transform:translate(-50%,-50%);width:34px;height:34px;display:flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:999px;background:var(--sg-raised);color:var(--sg-t90);cursor:pointer;transition:color 120ms ease}
3906
+ .sg-flip:hover:not(:disabled){color:var(--sg-accent)}
3907
+ .sg-flip:disabled{cursor:default}
3908
+ .sg-flip:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
3909
+ .sg-ft>.sg-flip-slot{position:absolute;left:50%;top:50%;width:0;margin:0}
3910
+ .sg-flip[data-small]{width:24px;height:24px}
3911
+ .sg-flip-rot{display:flex;transform:rotate(-90deg)}
3912
+
3913
+ /* detail buttons \u2014 Compliance, Quote */
3914
+ .sg-dbtn-row{display:flex;gap:4px;min-width:0}
3915
+ .sg-dbtn{flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px;height:48px;padding:0 11px;border:1px solid var(--sg-border);border-radius:var(--sg-radius-control);background:var(--sg-bg);color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color 120ms ease}
3916
+ .sg-dbtn[data-size="lg"]{flex:0 0 auto;width:100%}
3917
+ .sg-widget[data-sg-side] .sg-dbtn,.sg-overlay[data-sg-overlay="drawer"] .sg-dbtn{height:44px}
3918
+ .sg-dbtn:hover:not(:disabled){border-color:color-mix(in srgb,var(--sg-accent) 40%,var(--sg-border))}
3919
+ .sg-dbtn:disabled{cursor:default;opacity:.55}
3920
+ .sg-dbtn:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
3921
+ .sg-dbtn-main{display:flex;align-items:center;gap:6px;min-width:0}
3922
+ .sg-dbtn-icon{display:flex;flex:0 0 auto;color:var(--sg-info)}
3923
+ .sg-dbtn-icon[data-tone="ok"]{color:var(--sg-success)}
3924
+ .sg-dbtn-icon[data-tone="warn"]{color:var(--sg-danger)}
3925
+ .sg-dbtn-icon[data-tone="muted"]{color:var(--sg-text-muted)}
3926
+ .sg-dbtn-label{font-size:13px;font-weight:500;line-height:16px;color:var(--sg-t80);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
3927
+ .sg-dbtn-chev{display:flex;flex:0 0 auto;color:var(--sg-t80)}
3928
+ .sg-dpill{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;padding:4px 8px;border-radius:var(--sg-pill-radius);font-size:11px;font-weight:500;line-height:1.2;white-space:nowrap}
3929
+ .sg-dpill[data-tone="ok"]{background:color-mix(in srgb,var(--sg-success) 6%,transparent);color:color-mix(in srgb,var(--sg-success) 80%,transparent)}
3930
+ .sg-dpill[data-tone="info"]{background:color-mix(in srgb,var(--sg-info) 8%,transparent);color:color-mix(in srgb,var(--sg-info) 80%,transparent)}
3931
+ .sg-widget[data-sg-mode="dark"] .sg-dpill[data-tone="info"]{background:color-mix(in srgb,var(--sg-info) 12%,transparent);color:var(--sg-info)}
3932
+ .sg-dpill[data-tone="warn"]{background:color-mix(in srgb,var(--sg-danger) 8%,transparent);color:var(--sg-danger)}
3933
+ .sg-dpill[data-tone="muted"]{background:color-mix(in srgb,var(--sg-text) 6%,transparent);color:var(--sg-text-muted)}
3934
+
3935
+ /* the rate box */
3936
+ .sg-rate{display:flex;flex-direction:column;gap:16px;padding:15px 11px;border:1px solid var(--sg-border);border-radius:var(--sg-radius-control);background:var(--sg-bg)}
3937
+ .sg-rate-head{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
3938
+ .sg-rate-head:disabled{cursor:default}
3939
+ .sg-rate-head:focus-visible{outline:2px solid var(--sg-accent);outline-offset:4px;border-radius:6px}
3940
+ .sg-rate-line{display:flex;align-items:center;gap:4px;min-width:0;font-size:13px;font-weight:500;line-height:16px;color:var(--sg-t80);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
3941
+ .sg-rate-chev{display:flex;flex:0 0 auto;color:var(--sg-t80)}
3942
+ .sg-rate-rows{margin:0;display:flex;flex-direction:column;gap:4px}
3943
+ .sg-rate-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;font-size:13px;line-height:1.4}
3944
+ .sg-rate-row dt{color:var(--sg-t60)}
3945
+ .sg-rate-row dd{margin:0;font-weight:500;color:var(--sg-t80);text-align:right}
3946
+ .sg-qs-facts .sg-cp-fact{grid-template-columns:104px minmax(0,1fr)}
3947
+
3948
+ /* the wide layout: the main card and the "You receive" side card */
3949
+ .sg-widget[data-sg-wide]{max-width:360px;padding:20px 12px}
3950
+ .sg-widget[data-sg-side]{max-width:280px;padding:20px 12px}
3951
+ @container (max-width:660px){.sg-widget[data-sg-wide],.sg-widget[data-sg-side]{max-width:380px}}
3952
+ .sg-side-body{display:flex;flex-direction:column;gap:16px}
3953
+
3954
+ /* a detail sheet opened in place of the card body fills it edge to edge */
3955
+ .sg-body>.sg-cp-sheet,.sg-widget[data-sg-side]>.sg-cp-sheet{padding:0;border:0;background:transparent}
3956
+
3957
+ /* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
3958
+ variant="pill": one button that opens the card in a modal or a right-hand drawer. The overlay is
3959
+ position:fixed \u2014 it fills the viewport, or the nearest ancestor that establishes a containing
3960
+ block for fixed descendants (a transform), which is how a host confines it to one region.
3961
+ \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 */
3962
+ .sg-pill-root{width:100%;font-family:var(--sg-font);color:var(--sg-text)}
3963
+ .sg-pillbtn{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 24px;border:0;border-radius:var(--sg-radius-cta);background:var(--sg-accent);color:var(--sg-accent-text);font:inherit;font-family:var(--sg-font);font-size:14px;line-height:1.2;cursor:pointer;transition:filter 120ms ease,transform 60ms ease}
3964
+ .sg-pillbtn:hover{filter:brightness(1.06)}
3965
+ .sg-pillbtn:active{transform:translateY(1px)}
3966
+ .sg-pillbtn:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
3967
+ .sg-pillbtn-lead{display:inline-flex;align-items:center;gap:12px;min-width:0;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
3968
+ .sg-pillbtn-mark{flex:0 0 auto;display:block}
3969
+ .sg-pillbtn-amt{flex:0 0 auto;font-weight:700;white-space:nowrap}
3970
+ .sg-overlay{position:fixed;inset:0;z-index:2147483000;display:flex;background:rgba(0,0,0,.2);animation:sg-fade-in var(--sg-motion-base) var(--sg-ease-out-soft) both}
3971
+ .sg-overlay[data-sg-overlay="modal"]{align-items:flex-start;justify-content:center;padding:48px 16px;overflow-y:auto}
3972
+ .sg-overlay[data-sg-overlay="drawer"]{align-items:stretch;justify-content:flex-end}
3973
+ .sg-overlay-scrim{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:default}
3974
+ .sg-dialog{position:relative;display:flex;width:100%;max-width:380px}
3975
+ .sg-dialog>.sg-widget{flex:1 1 auto}
3976
+ .sg-overlay[data-sg-overlay="modal"] .sg-dialog{animation:sg-scale-in var(--sg-motion-base) var(--sg-ease-out-soft) both}
3977
+ .sg-overlay[data-sg-overlay="drawer"] .sg-dialog{max-width:340px;height:100%;animation:sg-drawer-in var(--sg-motion-slow) var(--sg-ease-out-soft) both}
3978
+ .sg-overlay[data-sg-overlay="drawer"] .sg-widget{max-width:340px;height:100%;padding:20px 12px;border-radius:var(--sg-radius) 0 0 var(--sg-radius);display:flex;flex-direction:column;overflow-y:auto}
3979
+ .sg-overlay[data-sg-overlay="drawer"] .sg-body{flex:1 1 auto;display:flex;flex-direction:column}
3980
+ .sg-overlay[data-sg-overlay="drawer"] .sg-cta-wrap{margin-top:auto;padding-top:16px}
3981
+ .sg-overlay[data-sg-overlay="drawer"] .sg-pane--note{min-height:145px}
3982
+ @keyframes sg-drawer-in{from{transform:translateX(100%)}to{transform:none}}
3983
+ @media (prefers-reduced-motion:reduce){.sg-overlay,.sg-dialog{animation:none!important}.sg-pillbtn{transition:none}}
3788
3984
  `;
3789
3985
  var injected = false;
3790
3986
  function injectStyles() {
@@ -3810,43 +4006,49 @@ var MOTION = {
3810
4006
  easeInOut: "cubic-bezier(0.4,0,0.2,1)",
3811
4007
  easeSpring: "cubic-bezier(0.34,1.56,0.64,1)"
3812
4008
  };
4009
+ var FONT = "'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif";
3813
4010
  var lightTheme = {
3814
4011
  mode: "light",
3815
4012
  accent: "#4358e1",
3816
4013
  accentText: "#ffffff",
3817
4014
  bg: "#ffffff",
3818
- surface: "#f7f8fc",
3819
- border: "#e6e8f0",
3820
- text: "#0e1116",
3821
- textMuted: "#6b7280",
4015
+ surface: "#f7f8fe",
4016
+ border: "#e8ebfb",
4017
+ text: "#2c2d34",
4018
+ textMuted: "#959699",
3822
4019
  danger: "#df1b41",
3823
- success: "#12805c",
3824
- radius: "20px",
3825
- radiusControl: "10px",
3826
- radiusCta: "999px",
3827
- font: "'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif",
4020
+ success: "#2abd7d",
4021
+ radius: "24px",
4022
+ radiusControl: "24px",
4023
+ radiusCta: "24px",
4024
+ font: FONT,
4025
+ fontDisplay: `Benzin, ${FONT}`,
3828
4026
  ...MOTION
3829
4027
  };
3830
4028
  var darkTheme = {
3831
4029
  mode: "dark",
3832
- accent: "#7b8cff",
3833
- accentText: "#0b0d12",
3834
- bg: "#0e1116",
3835
- surface: "#161a22",
3836
- border: "#252b36",
3837
- text: "#eef1f6",
3838
- textMuted: "#9aa4b2",
4030
+ accent: "#4358e1",
4031
+ accentText: "#ffffff",
4032
+ bg: "#0e1115",
4033
+ surface: "#1b1d22",
4034
+ border: "#343541",
4035
+ text: "#ffffff",
4036
+ textMuted: "#87888a",
4037
+ info: "#8c9bff",
3839
4038
  danger: "#ff5470",
3840
- success: "#3ddc97",
3841
- radius: "20px",
3842
- radiusControl: "10px",
3843
- radiusCta: "999px",
3844
- font: "'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif",
4039
+ success: "#2abd7d",
4040
+ radius: "24px",
4041
+ radiusControl: "24px",
4042
+ radiusCta: "24px",
4043
+ font: FONT,
4044
+ fontDisplay: `Benzin, ${FONT}`,
3845
4045
  ...MOTION
3846
4046
  };
3847
4047
  function resolveTheme(theme) {
3848
4048
  const base = theme?.mode === "dark" ? darkTheme : lightTheme;
3849
- return { ...base, ...theme };
4049
+ const fontDisplay = theme?.fontDisplay || (theme?.font ? theme.font : base.fontDisplay);
4050
+ const info = theme?.info || (theme?.accent ? theme.accent : base.info);
4051
+ return { ...base, ...theme, fontDisplay, info };
3850
4052
  }
3851
4053
  function themeToVars(theme) {
3852
4054
  return {
@@ -3857,12 +4059,14 @@ function themeToVars(theme) {
3857
4059
  "--sg-border": theme.border,
3858
4060
  "--sg-text": theme.text,
3859
4061
  "--sg-text-muted": theme.textMuted,
4062
+ "--sg-info": theme.info || theme.accent,
3860
4063
  "--sg-danger": theme.danger,
3861
4064
  "--sg-success": theme.success,
3862
4065
  "--sg-radius": theme.radius,
3863
4066
  "--sg-radius-control": theme.radiusControl,
3864
4067
  "--sg-radius-cta": theme.radiusCta,
3865
4068
  "--sg-font": theme.font,
4069
+ "--sg-font-display": theme.fontDisplay || theme.font,
3866
4070
  "--sg-motion-fast": theme.motionFast,
3867
4071
  "--sg-motion-base": theme.motionBase,
3868
4072
  "--sg-motion-slow": theme.motionSlow,
@@ -3911,37 +4115,6 @@ function BrandMark({ size = 18, mono = false, className, style, title }) {
3911
4115
  }
3912
4116
  );
3913
4117
  }
3914
- function LockGlyph() {
3915
- return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "11", height: "11", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
3916
- /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "4", y: "11", width: "16", height: "10", rx: "2" }),
3917
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 11V8a4 4 0 0 1 8 0v3" })
3918
- ] });
3919
- }
3920
- function WidgetShell(props) {
3921
- injectStyles();
3922
- const resolved = resolveTheme(props.theme);
3923
- const vars = themeToVars(resolved);
3924
- const fixed = Number.isFinite(props.heightPx) && props.heightPx > 0;
3925
- const style = fixed ? { ...vars, height: props.heightPx } : vars;
3926
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-widget", "data-sg-mode": resolved.mode, "data-sg-fixed": fixed || void 0, "data-sg-express": props.variant === "express" || void 0, style, children: [
3927
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-head", children: [
3928
- props.brandSlot ?? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-title", children: props.title }),
3929
- props.walletSlot ?? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-brand", children: [
3930
- /* @__PURE__ */ jsxRuntime.jsx(BrandMark, { size: 14, className: "sg-brand-mark" }),
3931
- "ZeroDelta"
3932
- ] })
3933
- ] }),
3934
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-body", children: props.children }),
3935
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-foot", children: /* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
3936
- /* @__PURE__ */ jsxRuntime.jsx(LockGlyph, {}),
3937
- " Your wallet signs every transaction \xB7 Powered by ZeroDelta"
3938
- ] }) })
3939
- ] });
3940
- }
3941
- function shortAddress2(a) {
3942
- if (!a) return "";
3943
- return `${a.slice(0, 6)}\u2026${a.slice(-4)}`;
3944
- }
3945
4118
  var SOURCE_CHAIN_LABELS = {
3946
4119
  1: "Ethereum",
3947
4120
  10: "Optimism",
@@ -4156,102 +4329,530 @@ function RouteList(props) {
4156
4329
  ] }) : null
4157
4330
  ] });
4158
4331
  }
4159
- function ShieldTick({ size = 16 }) {
4160
- return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4161
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 2.5 4.5 5.5v6c0 4.4 3.1 8.5 7.5 10 4.4-1.5 7.5-5.6 7.5-10v-6L12 2.5Z", fill: "currentColor", opacity: ".14" }),
4162
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 2.5 4.5 5.5v6c0 4.4 3.1 8.5 7.5 10 4.4-1.5 7.5-5.6 7.5-10v-6L12 2.5Z", stroke: "currentColor", strokeWidth: "1.6", strokeLinejoin: "round" }),
4163
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m8.6 11.9 2.3 2.3 4.5-4.5", stroke: "currentColor", strokeWidth: "1.9", strokeLinecap: "round", strokeLinejoin: "round" })
4164
- ] });
4165
- }
4166
- function TickCircle({ size = 16 }) {
4167
- return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4168
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
4169
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m7.8 12.2 2.7 2.7 5.7-5.8", stroke: "var(--sg-bg)", strokeWidth: "2.1", strokeLinecap: "round", strokeLinejoin: "round" })
4170
- ] });
4171
- }
4172
- function CloseCircle({ size = 16 }) {
4173
- return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4174
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
4175
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m8.7 8.7 6.6 6.6M15.3 8.7l-6.6 6.6", stroke: "var(--sg-bg)", strokeWidth: "2.1", strokeLinecap: "round" })
4176
- ] });
4332
+
4333
+ // src/react/ui/chain-logos.ts
4334
+ var BUNDLED_CHAIN_LOGO = {
4335
+ 1: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAADAFBMVEVMaXFbqvphfelifupWVv9vf/9ifulhfelifekAAOlifehHcMxifenJvMlES7cA//9ifulgfOhifetafOZifupif+xhdOVifelifetgfehhfephfepjf+5jgO1lgfFhfepifupjfexlgvJifuxhfuxhfepffOhif+5hf+tifepjgO9jge9ffOdjgO9jgO5if+5hfepifuthfeljfepjgexhfehVccZjge9jgO9jgO9Zd+Zkge9kgfFge+Zjge9if+1hfephfepifuxigO5ifupifupifuthfOpifutifuphfupif+xhfutjf+1dguBifehifutkge9kgfBlgfFhfephfelhfeptbdpkgfBkge9jgO5hfOllgvFdf+5hfepieuxhfephf+thfuphfuhfeeRhfelkgO1ifurAy/f///+Bl+5jf+q/yvf+/v9ceenBy/e8x/aCmO7f5Pv9/f9kgOphfepdeulkf+pffOnFz/hee+llgvJjf+x9lO3DzfiAlu6gsPK+yvdifupjfurBzPdYduhnhPVohffFz/dnhfdohvllgOpmg/Vlg/NkgfDEzve+yvdhfem9yfdbeOlohfhgfOpnhPZlgvFph/tmg/RkgO9mgepjgO27x/ZviOxphOvG0PeCl+79/v+Dme57ku3DzvfAy/dfe+m5xvZad+lYdumbrfJ/le5+lO28yPb+//+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.coingecko.com/coins/images/6319/large/USDC.png",
4349
+ USDT: "https://coin-images.coingecko.com/coins/images/325/large/Tether.png",
4350
+ USDE: "https://coin-images.coingecko.com/coins/images/33613/large/usde.png",
4351
+ XAUT: "https://coin-images.coingecko.com/coins/images/10481/large/Tether_Gold.png",
4352
+ // 2026-09-08, with the dapp-parity asset expansion — the same four URLs the dapp draws
4353
+ // (zd-dapp/src/lib/tokenLogos.ts), so the two products show one picture per coin.
4354
+ USDTB: "https://coin-images.coingecko.com/coins/images/52804/large/76357aa8-4ef7-446c-bad3-a3f944eeec7a.jpeg",
4355
+ AUSD: "https://coin-images.coingecko.com/coins/images/39284/large/AUSD_1024px.png",
4356
+ PYUSD: "https://coin-images.coingecko.com/coins/images/31212/large/PYUSD_Token_Logo_2x.png",
4357
+ USDG: "https://coin-images.coingecko.com/coins/images/51281/large/GDN_USDG_Token_200x200.png",
4358
+ // The wider stable list, added 2026-09-08 with the RWA exchange.
4359
+ DAI: "https://coin-images.coingecko.com/coins/images/9956/large/Badge_Dai.png",
4360
+ USDS: "https://coin-images.coingecko.com/coins/images/39926/large/usds.webp",
4361
+ RLUSD: "https://coin-images.coingecko.com/coins/images/39651/large/RLUSD_200x200_%281%29.png",
4362
+ USD1: "https://coin-images.coingecko.com/coins/images/54977/large/USD1_1000x1000_transparent.png",
4363
+ WM: "https://coin-images.coingecko.com/coins/images/50789/large/M.png"
4364
+ };
4365
+ function isHttpsUrl(u) {
4366
+ return typeof u === "string" && /^https:\/\//i.test(u);
4177
4367
  }
4178
- function PendingCircle({ size = 16 }) {
4179
- return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4180
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "9.2", stroke: "currentColor", strokeWidth: "1.6", strokeDasharray: "3 3" }),
4181
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8.5 12h7", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round" })
4182
- ] });
4368
+ function isSameOriginPath2(u) {
4369
+ return typeof u === "string" && u.startsWith("/") && !u.startsWith("//") && !u.startsWith("/\\");
4183
4370
  }
4184
- function Tick({ size = 12 }) {
4185
- return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m4.5 12.8 5 5L19.5 6.5", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round" }) });
4371
+ function isDisplayableImageSrc(u) {
4372
+ return isHttpsUrl(u) || isSameOriginPath2(u);
4186
4373
  }
4187
- function Cross({ size = 12 }) {
4188
- return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m5.5 5.5 13 13M18.5 5.5l-13 13", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round" }) });
4374
+ function tokenLogoCandidates(symbol, logoUrl) {
4375
+ const out = [];
4376
+ if (isDisplayableImageSrc(logoUrl)) out.push(logoUrl);
4377
+ const bundled = BUNDLED_TOKEN_LOGO[symbolKey(symbol)];
4378
+ if (bundled && !out.includes(bundled)) out.push(bundled);
4379
+ return out;
4189
4380
  }
4190
- function Chevron({ size = 16 }) {
4191
- return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m9 5 7 7-7 7", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) });
4381
+ function chainLogoCandidates(chainId, logoUrl) {
4382
+ const out = [];
4383
+ if (isHttpsUrl(logoUrl)) out.push(logoUrl);
4384
+ const bundled = chainId === void 0 ? void 0 : BUNDLED_CHAIN_LOGO[Number(chainId)];
4385
+ if (bundled) out.push(bundled);
4386
+ return out;
4192
4387
  }
4193
- function Info({ size = 16 }) {
4194
- return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4195
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
4196
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 10.6v6", stroke: "var(--sg-bg)", strokeWidth: "2.1", strokeLinecap: "round" }),
4197
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "7.6", r: "1.25", fill: "var(--sg-bg)" })
4198
- ] });
4388
+ var CHAIN_SHORT = {
4389
+ 1: "ETH",
4390
+ 10: "OP",
4391
+ 130: "UNI",
4392
+ 146: "SON",
4393
+ 8453: "BASE",
4394
+ 9745: "PLS",
4395
+ 57073: "INK",
4396
+ 42161: "ARB",
4397
+ 98866: "PLM"
4398
+ };
4399
+ function chainBadge(chainId) {
4400
+ const pinned = CHAIN_SHORT[Number(chainId)];
4401
+ if (pinned) return pinned;
4402
+ const name = CHAIN_LABELS[Number(chainId)];
4403
+ return name ? name.replace(/[^A-Za-z]/g, "").slice(0, 3).toUpperCase() : "?";
4199
4404
  }
4200
- function Lock({ size = 16 }) {
4201
- return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4202
- /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "4.5", y: "10.5", width: "15", height: "9.5", rx: "2.2", stroke: "currentColor", strokeWidth: "1.7" }),
4203
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 10.5V7.8a4 4 0 0 1 8 0v2.7", stroke: "currentColor", strokeWidth: "1.7", strokeLinecap: "round" })
4405
+ function TokenGlyph(props) {
4406
+ const [failed, setFailed] = react.useState([]);
4407
+ const src = tokenLogoCandidates(props.symbol, props.logoUrl).find((u) => !failed.includes(u));
4408
+ const mark = props.chainId ? chainLogoCandidates(props.chainId)[0] : void 0;
4409
+ let badge = null;
4410
+ if (props.chainId) badge = mark ? /* @__PURE__ */ jsxRuntime.jsx("img", { className: "sg-tok-badge", src: mark, alt: "" }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-badge", children: chainBadge(props.chainId) });
4411
+ return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tok", "data-size": props.size && props.size !== "md" ? props.size : void 0, children: [
4412
+ src ? /* @__PURE__ */ jsxRuntime.jsx("img", { className: "sg-tok-img", src, alt: "", loading: "lazy", onError: () => setFailed((f) => [...f, src]) }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-fb", children: props.symbol.slice(0, 4) }),
4413
+ badge
4204
4414
  ] });
4205
4415
  }
4206
- function ShieldOutline({ size = 16 }) {
4207
- return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 2.5 4.5 5.5v6c0 4.4 3.1 8.5 7.5 10 4.4-1.5 7.5-5.6 7.5-10v-6L12 2.5Z", stroke: "currentColor", strokeWidth: "1.7", strokeLinejoin: "round" }) });
4416
+ function ChevronGlyph() {
4417
+ return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m9 18 6-6-6-6" }) });
4208
4418
  }
4209
- function WarningFilled({ size = 16 }) {
4210
- return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4211
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 3.2 21.4 19.4H2.6L12 3.2Z", fill: "currentColor" }),
4212
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 9.4v4.3", stroke: "var(--sg-bg)", strokeWidth: "1.9", strokeLinecap: "round" }),
4213
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "16.4", r: "1.05", fill: "var(--sg-bg)" })
4419
+ function TokenTile(props) {
4420
+ const shown = props.token ? tokenTicker(props.token) : props.pick?.symbol ?? "";
4421
+ const glyph = props.pick ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4422
+ /* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: props.pick.symbol, logoUrl: props.token?.logoUrl, chainId: props.pick.chainId, size: "tile" }),
4423
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tile-text", children: [
4424
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-sym", children: shown }),
4425
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chain", children: CHAIN_LABELS[props.pick.chainId] || `Chain ${props.pick.chainId}` })
4426
+ ] })
4427
+ ] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4428
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-fb", children: "?" }) }),
4429
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-empty", children: "Select\u2026" })
4430
+ ] });
4431
+ const ariaLabel = `${props.label}: ${props.pick ? `${shown} on ${CHAIN_LABELS[props.pick.chainId] || props.pick.chainId}` : "select token"}`;
4432
+ if (props.row) {
4433
+ return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile sg-tile--row", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
4434
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
4435
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-rowmain", children: glyph }),
4436
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronGlyph, {}) })
4437
+ ] });
4438
+ }
4439
+ return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
4440
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
4441
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-main", children: glyph })
4214
4442
  ] });
4215
4443
  }
4216
- function CornerArrow({ size = 12 }) {
4217
- return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M7 17 17 7M9 7h8v8", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round" }) });
4218
- }
4219
- var POLICY_GLYPH = {
4220
- "always-blocked": Lock,
4221
- blocked: ShieldOutline,
4222
- flagged: WarningFilled
4223
- };
4224
- var POLICY_DETAIL = {
4225
- "always-blocked": "Cannot be changed or disabled",
4226
- blocked: "Stops the payment",
4227
- flagged: "Does not automatically block"
4228
- };
4229
- function shortAddr(a) {
4230
- return a.length > 14 ? `${a.slice(0, 6)}\u2026${a.slice(-4)}` : a;
4444
+ function FundingTile(props) {
4445
+ const symbols = props.assets.map((asset) => asset.symbol);
4446
+ const summary = props.loading ? "Checking wallet assets\u2026" : symbols.length ? symbols.join(", ") : "No payable balance";
4447
+ const detail = props.loading ? "Finding what you can pay with" : symbols.length ? `${symbols.length} wallet asset${symbols.length === 1 ? "" : "s"} available` : "Open to review funding options";
4448
+ const ariaLabel = `${props.label}: ${props.loading ? "checking wallet assets" : symbols.length ? symbols.join(", ") : "no payable balance"}`;
4449
+ const glyphs = props.loading ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-fb", children: "\u2026" }) }) : symbols.length ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-funding-glyphs", "aria-hidden": "true", children: props.assets.slice(0, 3).map((asset) => /* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: asset.symbol, logoUrl: asset.logoUrl, size: "sm" }, asset.symbol)) }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-fb", children: "?" }) });
4450
+ const main = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4451
+ glyphs,
4452
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-funding-copy", children: [
4453
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-sym", children: summary }),
4454
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chain", children: detail })
4455
+ ] })
4456
+ ] });
4457
+ if (props.row) {
4458
+ return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile sg-tile--row", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
4459
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
4460
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-rowmain", children: main }),
4461
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronGlyph, {}) })
4462
+ ] });
4463
+ }
4464
+ return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
4465
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
4466
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-main", children: main })
4467
+ ] });
4231
4468
  }
4232
- function TriggerGlyph({ cv }) {
4233
- if (cv.tone === "blocked" || cv.tone === "warn") return /* @__PURE__ */ jsxRuntime.jsx(CloseCircle, {});
4234
- return /* @__PURE__ */ jsxRuntime.jsx(ShieldTick, {});
4469
+ function ChainChip(props) {
4470
+ const [failed, setFailed] = react.useState([]);
4471
+ const src = chainLogoCandidates(props.chain?.chainId, props.chain?.logoUrl).find((u) => !failed.includes(u));
4472
+ const name = props.name ?? props.label;
4473
+ return /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-chain-chip", "data-selected": props.selected, title: name, "aria-label": name, "aria-pressed": props.selected, onClick: props.onClick, children: src ? /* @__PURE__ */ jsxRuntime.jsx("img", { src, alt: "", loading: "lazy", onError: () => setFailed((f) => [...f, src]) }) : props.label });
4235
4474
  }
4236
- function CheckRow({ check, onViewPolicy }) {
4237
- const label = check.id === "risk" ? check.ok ? "Risk screening passed" : "Risk screening failed" : check.label;
4238
- return /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "sg-cp-check", "data-ok": check.ok, children: [
4239
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-check-head", children: [
4240
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-cp-check-label", children: [
4241
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-check-mark", "data-ok": check.ok, children: check.ok ? /* @__PURE__ */ jsxRuntime.jsx(Tick, {}) : /* @__PURE__ */ jsxRuntime.jsx(Cross, {}) }),
4242
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: label }),
4243
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-sr-only", children: check.ok ? " \u2014 passed" : " \u2014 failed" })
4244
- ] }),
4245
- check.id === "risk" ? /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", className: "sg-cp-link", onClick: onViewPolicy, children: [
4246
- "View policy",
4247
- /* @__PURE__ */ jsxRuntime.jsx(CornerArrow, {})
4248
- ] }) : null
4249
- ] }),
4250
- check.note ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-check-note", children: check.note }) : null,
4251
- check.reasons.map((reason) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-check-reason", children: humanizeComplianceReason(reason) }, reason))
4475
+ function SearchGlyph() {
4476
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "15", height: "15", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", "aria-hidden": "true", children: [
4477
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "11", cy: "11", r: "7" }),
4478
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m20 20-3.5-3.5" })
4252
4479
  ] });
4253
4480
  }
4254
- function QuoteChecks({
4481
+ function BackGlyph() {
4482
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "17", height: "17", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
4483
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 12H5" }),
4484
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m12 19-7-7 7-7" })
4485
+ ] });
4486
+ }
4487
+ function TokenSelect(props) {
4488
+ const [chainFilter, setChainFilter] = react.useState(null);
4489
+ const [query, setQuery] = react.useState("");
4490
+ const rows = react.useMemo(() => {
4491
+ const q = query.trim().toLowerCase();
4492
+ const filtered = props.tokens.filter((t) => chainFilter == null ? true : Number(t.chainId) === chainFilter).filter((t) => {
4493
+ if (!q) return true;
4494
+ return String(t.symbol || "").toLowerCase().includes(q) || // The chain's own ticker too, with `₮` read as `T`: "usdt0" finds USD₮0.
4495
+ foldTicker(tokenTicker(t)).includes(foldTicker(q)) || String(t.name || "").toLowerCase().includes(q) || String(t.address || "").toLowerCase().includes(q) || // Chain name too (2026-09-08): with ~37 destination chains most have no bundled mark and
4496
+ // show a three-letter badge, so "Katana" or "Berachain" has to be findable by typing it.
4497
+ String(CHAIN_LABELS[Number(t.chainId)] || "").toLowerCase().includes(q);
4498
+ });
4499
+ if (!props.balances) return filtered;
4500
+ const balNum = (t) => {
4501
+ const n = Number(props.balances?.[`${Number(t.chainId)}:${String(t.address || "").toLowerCase()}`]?.formatted);
4502
+ return Number.isFinite(n) ? n : 0;
4503
+ };
4504
+ return [...filtered].sort((a, b) => balNum(b) - balNum(a));
4505
+ }, [props.tokens, chainFilter, query, props.balances]);
4506
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
4507
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-sel-head", children: [
4508
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-back", onClick: props.onBack, "aria-label": "Back", children: /* @__PURE__ */ jsxRuntime.jsx(BackGlyph, {}) }),
4509
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-sel-title", children: props.title })
4510
+ ] }),
4511
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-chain-grid", "data-scroll": props.chains.length > 14 ? void 0 : "false", role: "group", "aria-label": "Filter by chain", children: [
4512
+ /* @__PURE__ */ jsxRuntime.jsx(ChainChip, { label: "All", selected: chainFilter == null, onClick: () => setChainFilter(null) }),
4513
+ props.chains.map((c) => /* @__PURE__ */ jsxRuntime.jsx(
4514
+ ChainChip,
4515
+ {
4516
+ chain: c,
4517
+ label: chainBadge(Number(c.chainId)),
4518
+ name: CHAIN_LABELS[Number(c.chainId)] || c.displayName || c.name || `Chain ${c.chainId}`,
4519
+ selected: chainFilter === Number(c.chainId),
4520
+ onClick: () => setChainFilter(Number(c.chainId))
4521
+ },
4522
+ c.chainId
4523
+ ))
4524
+ ] }),
4525
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-search", children: [
4526
+ /* @__PURE__ */ jsxRuntime.jsx(SearchGlyph, {}),
4527
+ /* @__PURE__ */ jsxRuntime.jsx("input", { autoFocus: true, placeholder: "Search by token, network or address", value: query, onChange: (e) => setQuery(e.target.value), spellCheck: false, "aria-label": "Search by token, network or address" })
4528
+ ] }),
4529
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-toklist", role: "group", "aria-label": props.title, children: rows.length ? rows.map((t) => {
4530
+ const chainId = Number(t.chainId);
4531
+ const key = `${chainId}:${String(t.address || "").toLowerCase()}`;
4532
+ const bal = props.balances?.[key];
4533
+ const st = props.optionStates?.[key];
4534
+ const disabled = !!st?.disabled;
4535
+ return /* @__PURE__ */ jsxRuntime.jsxs(
4536
+ "button",
4537
+ {
4538
+ type: "button",
4539
+ className: `sg-tokrow${disabled ? " sg-tokrow--off" : ""}`,
4540
+ disabled,
4541
+ "aria-disabled": disabled || void 0,
4542
+ "data-disabled": disabled || void 0,
4543
+ onClick: disabled ? void 0 : () => props.onPick({ chainId, symbol: t.symbol }),
4544
+ children: [
4545
+ /* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: t.symbol, logoUrl: t.logoUrl, chainId }),
4546
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tokrow-main", children: [
4547
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-sym", children: tokenTicker(t) }),
4548
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-name", children: t.name || t.symbol })
4549
+ ] }),
4550
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tokrow-end", children: [
4551
+ bal ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-bal sg-mono", children: bal.formatted }) : null,
4552
+ st?.hint ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-hint", "data-tone": disabled ? void 0 : "note", children: st.hint }) : null,
4553
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-chain", children: CHAIN_LABELS[chainId] || `Chain ${chainId}` })
4554
+ ] })
4555
+ ]
4556
+ },
4557
+ `${chainId}:${t.address}`
4558
+ );
4559
+ }) : props.loading ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-sel-empty", children: "Loading the token list\u2026" }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-sel-empty", children: "No tokens match \u2014 try another chain or search." }) })
4560
+ ] });
4561
+ }
4562
+ function ChevronRight({ size = 16 }) {
4563
+ return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 4l4 4-4 4", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) });
4564
+ }
4565
+ function ChevronDown({ size = 16, up = false }) {
4566
+ return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", style: up ? { transform: "scaleY(-1)" } : void 0, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 6l4 4 4-4", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) });
4567
+ }
4568
+ function PillChevron() {
4569
+ return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "5", height: "10", viewBox: "0 0 5 10", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M0.5 9l3-3-3-3", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) });
4570
+ }
4571
+ function ArrowDown({ size = 16 }) {
4572
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: [
4573
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 3.333v9.334", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
4574
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12.667 8L8 12.667 3.333 8", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
4575
+ ] });
4576
+ }
4577
+ function CloseGlyph() {
4578
+ return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18 6L6 18M6 6l12 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
4579
+ }
4580
+ function ShieldTickGlyph({ size = 16 }) {
4581
+ return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx(
4582
+ "path",
4583
+ {
4584
+ d: "M10.815 2.403 7.607 1.202c-.333-.123-.875-.123-1.208 0L3.191 2.403c-.619.234-1.12.957-1.12 1.616v4.725c0 .473.309 1.097.688 1.377l3.208 2.397c.566.426 1.494.426 2.06 0l3.208-2.397c.379-.286.688-.904.688-1.377V4.019c.006-.659-.496-1.382-1.108-1.616ZM9.03 5.67 6.522 8.178a.436.436 0 0 1-.31.129.436.436 0 0 1-.31-.129l-.932-.945a.442.442 0 0 1 0-.618.442.442 0 0 1 .618 0l.63.63 2.2-2.2a.442.442 0 0 1 .618 0c.169.17.169.455-.006.625Z",
4585
+ fill: "currentColor"
4586
+ }
4587
+ ) });
4588
+ }
4589
+ function QuoteGlyph({ size = 16 }) {
4590
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: [
4591
+ /* @__PURE__ */ jsxRuntime.jsx(
4592
+ "path",
4593
+ {
4594
+ d: "M5.667 12A1.667 1.667 0 0 1 4 10.333v-5H2.667c-.734 0-1.334.6-1.334 1.334v6.666c0 .734.6 1.334 1.334 1.334h6.666c.734 0 1.334-.6 1.334-1.334V12H5.667Z",
4595
+ fill: "currentColor"
4596
+ }
4597
+ ),
4598
+ /* @__PURE__ */ jsxRuntime.jsx(
4599
+ "path",
4600
+ {
4601
+ d: "M13.333 1.333H6.667c-.734 0-1.334.6-1.334 1.334v6.666c0 .734.6 1.334 1.334 1.334h6.666c.734 0 1.334-.6 1.334-1.334V2.667c0-.734-.6-1.334-1.334-1.334ZM12.667 8H7.333V6.667h5.334V8Zm0-2.667H7.333V4h5.334v1.333Z",
4602
+ fill: "currentColor"
4603
+ }
4604
+ )
4605
+ ] });
4606
+ }
4607
+ function AmountText({ value, suffix }) {
4608
+ const dot = value.indexOf(".");
4609
+ const whole = dot < 0 ? value : value.slice(0, dot + 1);
4610
+ const decimals = dot < 0 ? "" : value.slice(dot + 1);
4611
+ return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-amt", children: [
4612
+ whole,
4613
+ decimals ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-amt-dec", children: decimals }) : null,
4614
+ suffix ? ` ${suffix}` : null
4615
+ ] });
4616
+ }
4617
+ function usdOf(amount, price) {
4618
+ const n = typeof amount === "number" ? amount : Number(amount);
4619
+ if (!Number.isFinite(n) || n <= 0 || price === void 0 || !Number.isFinite(price) || price <= 0) return null;
4620
+ const usd2 = n * price;
4621
+ return `$ ${usd2 < 0.01 ? "<0.01" : usd2.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 })}`;
4622
+ }
4623
+ function shortBalance(formatted) {
4624
+ const [whole, frac = ""] = String(formatted).split(".");
4625
+ const cut = frac.slice(0, 4).replace(/0+$/, "");
4626
+ return cut ? `${whole}.${cut}` : whole;
4627
+ }
4628
+ function durationLabel(seconds) {
4629
+ const s = Number(seconds);
4630
+ if (!Number.isFinite(s) || s <= 0) return null;
4631
+ if (s < 90) return `~${Math.max(1, Math.round(s))} sec`;
4632
+ if (s < 90 * 60) return `~${Math.round(s / 60)} min`;
4633
+ return `~${Math.round(s / 3600)} h`;
4634
+ }
4635
+ function TokenButton(props) {
4636
+ const shown = props.token ? tokenTicker(props.token) : props.symbol ?? "";
4637
+ const chain = props.chainId ? CHAIN_LABELS[props.chainId] || `Chain ${props.chainId}` : "";
4638
+ return /* @__PURE__ */ jsxRuntime.jsxs(
4639
+ "button",
4640
+ {
4641
+ type: "button",
4642
+ ref: props.btnRef,
4643
+ className: "sg-tokbtn",
4644
+ disabled: props.disabled,
4645
+ onClick: props.onClick,
4646
+ "aria-label": `${props.label}: ${props.symbol ? `${shown} on ${chain}` : "select token"}`,
4647
+ children: [
4648
+ props.symbol && props.chainId ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4649
+ /* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: props.symbol, logoUrl: props.token?.logoUrl, chainId: props.chainId, size: "xs" }),
4650
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tokbtn-text", children: [
4651
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokbtn-sym", children: shown }),
4652
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokbtn-chain", children: chain })
4653
+ ] })
4654
+ ] }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokbtn-text", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokbtn-sym", children: "Select" }) }),
4655
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokbtn-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronRight, {}) })
4656
+ ]
4657
+ }
4658
+ );
4659
+ }
4660
+ function FlipButton(props) {
4661
+ return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-flip-slot", children: /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-flip", "data-small": props.small || void 0, onClick: props.onClick, disabled: props.disabled, "aria-label": "Swap source and destination", children: props.small ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-flip-rot", children: /* @__PURE__ */ jsxRuntime.jsx(ArrowDown, { size: 12 }) }) : /* @__PURE__ */ jsxRuntime.jsx(ArrowDown, {}) }) });
4662
+ }
4663
+ function DetailButton(props) {
4664
+ return /* @__PURE__ */ jsxRuntime.jsxs(
4665
+ "button",
4666
+ {
4667
+ type: "button",
4668
+ ref: props.btnRef,
4669
+ className: "sg-dbtn",
4670
+ "data-size": props.size === "lg" ? "lg" : void 0,
4671
+ onClick: props.onClick,
4672
+ disabled: props.disabled,
4673
+ "aria-haspopup": "dialog",
4674
+ children: [
4675
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-dbtn-main", children: [
4676
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-dbtn-icon", "data-tone": props.iconTone ?? "info", children: props.icon }),
4677
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-dbtn-label", children: props.label })
4678
+ ] }),
4679
+ props.badge ? /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-dpill", "data-tone": props.badge.tone, children: [
4680
+ props.badge.text,
4681
+ /* @__PURE__ */ jsxRuntime.jsx(PillChevron, {})
4682
+ ] }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-dbtn-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronRight, {}) })
4683
+ ]
4684
+ }
4685
+ );
4686
+ }
4687
+ function RateBox(props) {
4688
+ const [open, setOpen] = react.useState(!!props.defaultOpen);
4689
+ const rows = props.rows.length ? /* @__PURE__ */ jsxRuntime.jsx("dl", { className: "sg-rate-rows", children: props.rows.map((r) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-rate-row", children: [
4690
+ /* @__PURE__ */ jsxRuntime.jsx("dt", { children: r.label }),
4691
+ /* @__PURE__ */ jsxRuntime.jsx("dd", { children: r.value })
4692
+ ] }, r.label)) }) : null;
4693
+ if (props.rowsOnly) return rows ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-rate", children: rows }) : null;
4694
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-rate", "data-open": open || void 0, children: [
4695
+ /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", className: "sg-rate-head", onClick: () => setOpen((o) => !o), "aria-expanded": open, disabled: !props.rows.length, children: [
4696
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-rate-line", children: [
4697
+ /* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: props.fromSymbol, logoUrl: props.fromLogoUrl, size: "xxs" }),
4698
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-mono", children: props.rate ? `= ${props.rate} ${props.toTicker}` : "Rate appears with a quote" })
4699
+ ] }),
4700
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-rate-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronDown, { up: open }) })
4701
+ ] }),
4702
+ open ? rows : null
4703
+ ] });
4704
+ }
4705
+ function PoweredBy() {
4706
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-foot", children: [
4707
+ /* @__PURE__ */ jsxRuntime.jsx(BrandMark, { size: 17, className: "sg-foot-mark" }),
4708
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Powered by ZeroDelta" })
4709
+ ] });
4710
+ }
4711
+ function PaneFoot(props) {
4712
+ if (!props.usd && !props.balance) return null;
4713
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane-foot", children: [
4714
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: props.usd ?? "" }),
4715
+ props.balance ? /* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
4716
+ "Balance ",
4717
+ /* @__PURE__ */ jsxRuntime.jsx("b", { className: "sg-mono", children: props.balance })
4718
+ ] }) : null
4719
+ ] });
4720
+ }
4721
+ function WidgetShell(props) {
4722
+ injectStyles();
4723
+ const resolved = resolveTheme(props.theme);
4724
+ const vars = themeToVars(resolved);
4725
+ const fixed = Number.isFinite(props.heightPx) && props.heightPx > 0;
4726
+ const style = fixed ? { ...vars, height: props.heightPx } : vars;
4727
+ return /* @__PURE__ */ jsxRuntime.jsxs(
4728
+ "div",
4729
+ {
4730
+ className: "sg-widget",
4731
+ "data-sg-mode": resolved.mode,
4732
+ "data-sg-fixed": fixed || void 0,
4733
+ "data-sg-express": props.variant === "express" || void 0,
4734
+ "data-sg-wide": props.wide || void 0,
4735
+ style,
4736
+ children: [
4737
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-head", children: [
4738
+ props.brandSlot ?? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-title", children: props.title }),
4739
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-head-end", children: [
4740
+ props.walletSlot ?? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-brand", children: [
4741
+ /* @__PURE__ */ jsxRuntime.jsx(BrandMark, { size: 14, className: "sg-brand-mark" }),
4742
+ "ZeroDelta"
4743
+ ] }),
4744
+ props.onClose ? (
4745
+ // type="button": a host page may wrap the widget in a <form>.
4746
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-close", onClick: props.onClose, "aria-label": "Close", children: /* @__PURE__ */ jsxRuntime.jsx(CloseGlyph, {}) })
4747
+ ) : null
4748
+ ] })
4749
+ ] }),
4750
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-body", children: props.children }),
4751
+ /* @__PURE__ */ jsxRuntime.jsx(PoweredBy, {})
4752
+ ]
4753
+ }
4754
+ );
4755
+ }
4756
+ function shortAddress2(a) {
4757
+ if (!a) return "";
4758
+ return `${a.slice(0, 6)}\u2026${a.slice(-4)}`;
4759
+ }
4760
+ function ShieldTick({ size = 16 }) {
4761
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4762
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 2.5 4.5 5.5v6c0 4.4 3.1 8.5 7.5 10 4.4-1.5 7.5-5.6 7.5-10v-6L12 2.5Z", fill: "currentColor", opacity: ".14" }),
4763
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 2.5 4.5 5.5v6c0 4.4 3.1 8.5 7.5 10 4.4-1.5 7.5-5.6 7.5-10v-6L12 2.5Z", stroke: "currentColor", strokeWidth: "1.6", strokeLinejoin: "round" }),
4764
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m8.6 11.9 2.3 2.3 4.5-4.5", stroke: "currentColor", strokeWidth: "1.9", strokeLinecap: "round", strokeLinejoin: "round" })
4765
+ ] });
4766
+ }
4767
+ function TickCircle({ size = 16 }) {
4768
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4769
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
4770
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m7.8 12.2 2.7 2.7 5.7-5.8", stroke: "var(--sg-bg)", strokeWidth: "2.1", strokeLinecap: "round", strokeLinejoin: "round" })
4771
+ ] });
4772
+ }
4773
+ function CloseCircle({ size = 16 }) {
4774
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4775
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
4776
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m8.7 8.7 6.6 6.6M15.3 8.7l-6.6 6.6", stroke: "var(--sg-bg)", strokeWidth: "2.1", strokeLinecap: "round" })
4777
+ ] });
4778
+ }
4779
+ function PendingCircle({ size = 16 }) {
4780
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4781
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "9.2", stroke: "currentColor", strokeWidth: "1.6", strokeDasharray: "3 3" }),
4782
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8.5 12h7", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round" })
4783
+ ] });
4784
+ }
4785
+ function Tick({ size = 12 }) {
4786
+ return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m4.5 12.8 5 5L19.5 6.5", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round" }) });
4787
+ }
4788
+ function Cross({ size = 12 }) {
4789
+ return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m5.5 5.5 13 13M18.5 5.5l-13 13", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round" }) });
4790
+ }
4791
+ function Chevron({ size = 16 }) {
4792
+ return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m9 5 7 7-7 7", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) });
4793
+ }
4794
+ function Info({ size = 16 }) {
4795
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4796
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
4797
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 10.6v6", stroke: "var(--sg-bg)", strokeWidth: "2.1", strokeLinecap: "round" }),
4798
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "7.6", r: "1.25", fill: "var(--sg-bg)" })
4799
+ ] });
4800
+ }
4801
+ function Lock({ size = 16 }) {
4802
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4803
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "4.5", y: "10.5", width: "15", height: "9.5", rx: "2.2", stroke: "currentColor", strokeWidth: "1.7" }),
4804
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 10.5V7.8a4 4 0 0 1 8 0v2.7", stroke: "currentColor", strokeWidth: "1.7", strokeLinecap: "round" })
4805
+ ] });
4806
+ }
4807
+ function ShieldOutline({ size = 16 }) {
4808
+ return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 2.5 4.5 5.5v6c0 4.4 3.1 8.5 7.5 10 4.4-1.5 7.5-5.6 7.5-10v-6L12 2.5Z", stroke: "currentColor", strokeWidth: "1.7", strokeLinejoin: "round" }) });
4809
+ }
4810
+ function WarningFilled({ size = 16 }) {
4811
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4812
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 3.2 21.4 19.4H2.6L12 3.2Z", fill: "currentColor" }),
4813
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 9.4v4.3", stroke: "var(--sg-bg)", strokeWidth: "1.9", strokeLinecap: "round" }),
4814
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "16.4", r: "1.05", fill: "var(--sg-bg)" })
4815
+ ] });
4816
+ }
4817
+ function CornerArrow({ size = 12 }) {
4818
+ return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M7 17 17 7M9 7h8v8", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round" }) });
4819
+ }
4820
+ var POLICY_GLYPH = {
4821
+ "always-blocked": Lock,
4822
+ blocked: ShieldOutline,
4823
+ flagged: WarningFilled
4824
+ };
4825
+ var POLICY_DETAIL = {
4826
+ "always-blocked": "Cannot be changed or disabled",
4827
+ blocked: "Stops the payment",
4828
+ flagged: "Does not automatically block"
4829
+ };
4830
+ function shortAddr(a) {
4831
+ return a.length > 14 ? `${a.slice(0, 6)}\u2026${a.slice(-4)}` : a;
4832
+ }
4833
+ function TriggerGlyph({ cv }) {
4834
+ if (cv.tone === "blocked" || cv.tone === "warn") return /* @__PURE__ */ jsxRuntime.jsx(CloseCircle, {});
4835
+ return /* @__PURE__ */ jsxRuntime.jsx(ShieldTick, {});
4836
+ }
4837
+ function CheckRow({ check, onViewPolicy }) {
4838
+ const label = check.id === "risk" ? check.ok ? "Risk screening passed" : "Risk screening failed" : check.label;
4839
+ return /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "sg-cp-check", "data-ok": check.ok, children: [
4840
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-check-head", children: [
4841
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-cp-check-label", children: [
4842
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-check-mark", "data-ok": check.ok, children: check.ok ? /* @__PURE__ */ jsxRuntime.jsx(Tick, {}) : /* @__PURE__ */ jsxRuntime.jsx(Cross, {}) }),
4843
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: label }),
4844
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-sr-only", children: check.ok ? " \u2014 passed" : " \u2014 failed" })
4845
+ ] }),
4846
+ check.id === "risk" ? /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", className: "sg-cp-link", onClick: onViewPolicy, children: [
4847
+ "View policy",
4848
+ /* @__PURE__ */ jsxRuntime.jsx(CornerArrow, {})
4849
+ ] }) : null
4850
+ ] }),
4851
+ check.note ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-check-note", children: check.note }) : null,
4852
+ check.reasons.map((reason) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-check-reason", children: humanizeComplianceReason(reason) }, reason))
4853
+ ] });
4854
+ }
4855
+ function QuoteChecks({
4255
4856
  compliance,
4256
4857
  cv,
4257
4858
  checks,
@@ -4350,287 +4951,72 @@ function ScreeningPolicy({ compliance }) {
4350
4951
  }) })
4351
4952
  ] });
4352
4953
  }
4353
- function CompliancePanel(props) {
4354
- const [open, setOpen] = react.useState(false);
4355
- const [tab, setTab] = react.useState("checks");
4356
- const triggerRef = react.useRef(null);
4357
- const sheetRef = react.useRef(null);
4358
- const compliance = props.compliance ?? null;
4359
- const cv = complianceView(compliance, props.hasQuote ?? true);
4360
- const allChecks = complianceChecks(compliance, cv);
4361
- const checks = props.direct ? allChecks.filter((c) => DIRECT_CHECK_IDS.includes(c.id)) : allChecks;
4362
- const tag = complianceTagOf(compliance);
4363
- react.useEffect(() => {
4364
- if (!open) return;
4365
- sheetRef.current?.focus();
4366
- const onKey = (e) => {
4367
- if (e.key === "Escape") {
4368
- e.stopPropagation();
4369
- setOpen(false);
4370
- triggerRef.current?.focus();
4371
- }
4372
- };
4373
- document.addEventListener("keydown", onKey, true);
4374
- return () => document.removeEventListener("keydown", onKey, true);
4375
- }, [open]);
4376
- const close = () => {
4377
- setOpen(false);
4378
- triggerRef.current?.focus();
4379
- };
4380
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp", "data-tone": cv.tone, children: [
4381
- open ? null : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4382
- /* @__PURE__ */ jsxRuntime.jsxs("button", { ref: triggerRef, type: "button", className: "sg-cp-row", "data-tone": cv.tone, onClick: () => setOpen(true), "aria-haspopup": "dialog", children: [
4383
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-cp-row-main", children: [
4384
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-glyph", children: /* @__PURE__ */ jsxRuntime.jsx(TriggerGlyph, { cv }) }),
4385
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-label", children: cv.label })
4386
- ] }),
4387
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-chev", children: /* @__PURE__ */ jsxRuntime.jsx(Chevron, {}) })
4388
- ] }),
4389
- (cv.blocked || cv.needsAction) && tag ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-tag sg-mono", children: tag }) : null
4390
- ] }),
4391
- open ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet", role: "dialog", "aria-modal": "true", "aria-label": "Compliance details", ref: sheetRef, tabIndex: -1, children: [
4392
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet-head", children: [
4393
- /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "sg-cp-sheet-title", children: "Compliance details" }),
4394
- /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-cp-close", onClick: close, "aria-label": "Close compliance details", children: /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m6 6 12 12M18 6 6 18", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }) }) })
4395
- ] }),
4396
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-tabs", role: "tablist", "aria-label": "Compliance details sections", children: [
4397
- /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", role: "tab", "aria-selected": tab === "checks", "data-active": tab === "checks", className: "sg-cp-tab", onClick: () => setTab("checks"), children: "Quote checks" }),
4398
- /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", role: "tab", "aria-selected": tab === "policy", "data-active": tab === "policy", className: "sg-cp-tab", onClick: () => setTab("policy"), children: "Screening policy" })
4399
- ] }),
4400
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-cp-sheet-body", children: tab === "checks" ? /* @__PURE__ */ jsxRuntime.jsx(QuoteChecks, { compliance, cv, checks, direct: !!props.direct, onViewPolicy: () => setTab("policy") }) : /* @__PURE__ */ jsxRuntime.jsx(ScreeningPolicy, { compliance }) })
4401
- ] }) : null
4402
- ] });
4403
- }
4404
-
4405
- // src/react/ui/chain-logos.ts
4406
- var BUNDLED_CHAIN_LOGO = {
4407
- 1: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAADAFBMVEVMaXFbqvphfelifupWVv9vf/9ifulhfelifekAAOlifehHcMxifenJvMlES7cA//9ifulgfOhifetafOZifupif+xhdOVifelifetgfehhfephfepjf+5jgO1lgfFhfepifupjfexlgvJifuxhfuxhfepffOhif+5hf+tifepjgO9jge9ffOdjgO9jgO5if+5hfepifuthfeljfepjgexhfehVccZjge9jgO9jgO9Zd+Zkge9kgfFge+Zjge9if+1hfephfepifuxigO5ifupifupifuthfOpifutifuphfupif+xhfutjf+1dguBifehifutkge9kgfBlgfFhfephfelhfeptbdpkgfBkge9jgO5hfOllgvFdf+5hfepieuxhfephf+thfuphfuhfeeRhfelkgO1ifurAy/f///+Bl+5jf+q/yvf+/v9ceenBy/e8x/aCmO7f5Pv9/f9kgOphfepdeulkf+pffOnFz/hee+llgvJjf+x9lO3DzfiAlu6gsPK+yvdifupjfurBzPdYduhnhPVohffFz/dnhfdohvllgOpmg/Vlg/NkgfDEzve+yvdhfem9yfdbeOlohfhgfOpnhPZlgvFph/tmg/RkgO9mgepjgO27x/ZviOxphOvG0PeCl+79/v+Dme57ku3DzvfAy/dfe+m5xvZad+lYdumbrfJ/le5+lO28yPb+//+Fm++Zq/H8/P9aeOmUp/HCzPeywPXe5Pt9k+2PovCisvNwiux0je3L1fhzjOxlgfDz9v34+f6uvPS4xPZ4j+2er/K2w/WsuvRYden8/f/c4vt5ke20wvWgsfLH0fhifuzGz/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5aVP/+uSfGl5p/DZUddYzrZO+FL5ItvH/jcZ8MRtcsZJ8UsKyltcOgoy2HRos3UUfkox1qCIcIM6PEvmEWSPQi6HRe87+3xFpnToNdZOCv/2C5ORjEVMZvr702Zg6WFfvo/keBJwHtWT6UdC3pwbRf9Y0rxZTAIRNKF1vS3KAy0VCbwX2AG2fAcDr+E5Vb99Fnr/RqAvx6sbsF2+mMTHTSeN+1o3/NxFVV6B/3PfxxmV88l7THXgzqKihwrE7rnLORHZ/g4ycGGx21rzw48bGLr0fkob6D9rVBdbV5PCWszzSHzdC6hoC5D58AbUjs/jKQLX2XSMZPZFr7AJaNQYX893T9CXmL1GLw8X4wj1dorSPQjR1aOrSrtDYThjb+2P8bFAkruR1ThZ6Cg+5uskT+DvXcFmOr5mqaNmbY5cdT5+WGzZ/9JK+oLaW5/8c8YzqumsA1aNVpnBydyukY0aWcTrgK8hplzQFv8f4uAShBQIdqMhsX84fkCJiBpzO5aAulOMcPBaIbe85PJZwond6uJrXAC9atXmXqyirU18o85ZnjQzSgMIH1b/t7/l3bhi//VTF4HdB8xQv/LlLEOv55f7s71J12gJ94nfgB97A5hVbmnpp/XYp1d0uDDgmQ//cLfb2KBmzq4yQiLfrlxBPFZnEEkqETiXIxX/29sRiDlV1Hp2235BhcMHY7QSI8PETuoK6y/Lx80mYLVPi8YDYZmV3nLTuAxJminIxWMhcH301LYfcnWDt6HT6/A2OGOL4AMkznh8Z7fPT1pslBwzFMjba0y9diGuJgpW4Mwb8Oe2uMuELpmuPqE9cMCKzSZBKfGvqoP+qnhQ9rqblcn6kaaAAAAA=="
4416
- };
4417
-
4418
- // src/react/ui/logos.ts
4419
- var BUNDLED_TOKEN_LOGO = {
4420
- USDC: "https://coin-images.coingecko.com/coins/images/6319/large/USDC.png",
4421
- USDT: "https://coin-images.coingecko.com/coins/images/325/large/Tether.png",
4422
- USDE: "https://coin-images.coingecko.com/coins/images/33613/large/usde.png",
4423
- XAUT: "https://coin-images.coingecko.com/coins/images/10481/large/Tether_Gold.png",
4424
- // 2026-09-08, with the dapp-parity asset expansion — the same four URLs the dapp draws
4425
- // (zd-dapp/src/lib/tokenLogos.ts), so the two products show one picture per coin.
4426
- USDTB: "https://coin-images.coingecko.com/coins/images/52804/large/76357aa8-4ef7-446c-bad3-a3f944eeec7a.jpeg",
4427
- AUSD: "https://coin-images.coingecko.com/coins/images/39284/large/AUSD_1024px.png",
4428
- PYUSD: "https://coin-images.coingecko.com/coins/images/31212/large/PYUSD_Token_Logo_2x.png",
4429
- USDG: "https://coin-images.coingecko.com/coins/images/51281/large/GDN_USDG_Token_200x200.png",
4430
- // The wider stable list, added 2026-09-08 with the RWA exchange.
4431
- DAI: "https://coin-images.coingecko.com/coins/images/9956/large/Badge_Dai.png",
4432
- USDS: "https://coin-images.coingecko.com/coins/images/39926/large/usds.webp",
4433
- RLUSD: "https://coin-images.coingecko.com/coins/images/39651/large/RLUSD_200x200_%281%29.png",
4434
- USD1: "https://coin-images.coingecko.com/coins/images/54977/large/USD1_1000x1000_transparent.png",
4435
- WM: "https://coin-images.coingecko.com/coins/images/50789/large/M.png"
4436
- };
4437
- function isHttpsUrl(u) {
4438
- return typeof u === "string" && /^https:\/\//i.test(u);
4439
- }
4440
- function isSameOriginPath2(u) {
4441
- return typeof u === "string" && u.startsWith("/") && !u.startsWith("//") && !u.startsWith("/\\");
4442
- }
4443
- function isDisplayableImageSrc(u) {
4444
- return isHttpsUrl(u) || isSameOriginPath2(u);
4445
- }
4446
- function tokenLogoCandidates(symbol, logoUrl) {
4447
- const out = [];
4448
- if (isDisplayableImageSrc(logoUrl)) out.push(logoUrl);
4449
- const bundled = BUNDLED_TOKEN_LOGO[symbolKey(symbol)];
4450
- if (bundled && !out.includes(bundled)) out.push(bundled);
4451
- return out;
4452
- }
4453
- function chainLogoCandidates(chainId, logoUrl) {
4454
- const out = [];
4455
- if (isHttpsUrl(logoUrl)) out.push(logoUrl);
4456
- const bundled = chainId === void 0 ? void 0 : BUNDLED_CHAIN_LOGO[Number(chainId)];
4457
- if (bundled) out.push(bundled);
4458
- return out;
4459
- }
4460
- var CHAIN_SHORT = {
4461
- 1: "ETH",
4462
- 10: "OP",
4463
- 130: "UNI",
4464
- 146: "SON",
4465
- 8453: "BASE",
4466
- 9745: "PLS",
4467
- 57073: "INK",
4468
- 42161: "ARB",
4469
- 98866: "PLM"
4470
- };
4471
- function chainBadge(chainId) {
4472
- const pinned = CHAIN_SHORT[Number(chainId)];
4473
- if (pinned) return pinned;
4474
- const name = CHAIN_LABELS[Number(chainId)];
4475
- return name ? name.replace(/[^A-Za-z]/g, "").slice(0, 3).toUpperCase() : "?";
4476
- }
4477
- function TokenGlyph(props) {
4478
- const [failed, setFailed] = react.useState([]);
4479
- const src = tokenLogoCandidates(props.symbol, props.logoUrl).find((u) => !failed.includes(u));
4480
- const mark = props.chainId ? chainLogoCandidates(props.chainId)[0] : void 0;
4481
- let badge = null;
4482
- if (props.chainId) badge = mark ? /* @__PURE__ */ jsxRuntime.jsx("img", { className: "sg-tok-badge", src: mark, alt: "" }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-badge", children: chainBadge(props.chainId) });
4483
- return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tok", "data-size": props.size === "sm" ? "sm" : void 0, children: [
4484
- src ? /* @__PURE__ */ jsxRuntime.jsx("img", { className: "sg-tok-img", src, alt: "", loading: "lazy", onError: () => setFailed((f) => [...f, src]) }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-fb", children: props.symbol.slice(0, 4) }),
4485
- badge
4486
- ] });
4487
- }
4488
- function ChevronGlyph() {
4489
- return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m9 18 6-6-6-6" }) });
4490
- }
4491
- function TokenTile(props) {
4492
- const shown = props.token ? tokenTicker(props.token) : props.pick?.symbol ?? "";
4493
- const glyph = props.pick ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4494
- /* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: props.pick.symbol, logoUrl: props.token?.logoUrl, chainId: props.pick.chainId }),
4495
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tile-text", children: [
4496
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-sym", children: shown }),
4497
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chain", children: CHAIN_LABELS[props.pick.chainId] || `Chain ${props.pick.chainId}` })
4498
- ] })
4499
- ] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4500
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-fb", children: "?" }) }),
4501
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-empty", children: "Select\u2026" })
4502
- ] });
4503
- const ariaLabel = `${props.label}: ${props.pick ? `${shown} on ${CHAIN_LABELS[props.pick.chainId] || props.pick.chainId}` : "select token"}`;
4504
- if (props.row) {
4505
- return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile sg-tile--row", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
4506
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
4507
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-rowmain", children: glyph }),
4508
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronGlyph, {}) })
4509
- ] });
4510
- }
4511
- return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
4512
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
4513
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-main", children: glyph })
4514
- ] });
4515
- }
4516
- function FundingTile(props) {
4517
- const symbols = props.assets.map((asset) => asset.symbol);
4518
- const summary = props.loading ? "Checking wallet assets\u2026" : symbols.length ? symbols.join(", ") : "No payable balance";
4519
- const detail = props.loading ? "Finding what you can pay with" : symbols.length ? `${symbols.length} wallet asset${symbols.length === 1 ? "" : "s"} available` : "Open to review funding options";
4520
- const ariaLabel = `${props.label}: ${props.loading ? "checking wallet assets" : symbols.length ? symbols.join(", ") : "no payable balance"}`;
4521
- const glyphs = props.loading ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-fb", children: "\u2026" }) }) : symbols.length ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-funding-glyphs", "aria-hidden": "true", children: props.assets.slice(0, 3).map((asset) => /* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: asset.symbol, logoUrl: asset.logoUrl, size: "sm" }, asset.symbol)) }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-fb", children: "?" }) });
4522
- const main = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4523
- glyphs,
4524
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-funding-copy", children: [
4525
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-sym", children: summary }),
4526
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chain", children: detail })
4527
- ] })
4528
- ] });
4529
- if (props.row) {
4530
- return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile sg-tile--row", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
4531
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
4532
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-rowmain", children: main }),
4533
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronGlyph, {}) })
4534
- ] });
4535
- }
4536
- return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
4537
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
4538
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-main", children: main })
4539
- ] });
4540
- }
4541
- function ChainChip(props) {
4542
- const [failed, setFailed] = react.useState([]);
4543
- const src = chainLogoCandidates(props.chain?.chainId, props.chain?.logoUrl).find((u) => !failed.includes(u));
4544
- const name = props.name ?? props.label;
4545
- return /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-chain-chip", "data-selected": props.selected, title: name, "aria-label": name, "aria-pressed": props.selected, onClick: props.onClick, children: src ? /* @__PURE__ */ jsxRuntime.jsx("img", { src, alt: "", loading: "lazy", onError: () => setFailed((f) => [...f, src]) }) : props.label });
4546
- }
4547
- function SearchGlyph() {
4548
- return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "15", height: "15", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", "aria-hidden": "true", children: [
4549
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "11", cy: "11", r: "7" }),
4550
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m20 20-3.5-3.5" })
4551
- ] });
4552
- }
4553
- function BackGlyph() {
4554
- return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "17", height: "17", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
4555
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 12H5" }),
4556
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m12 19-7-7 7-7" })
4557
- ] });
4954
+ function complianceBadge(compliance, hasQuote = true) {
4955
+ if (!hasQuote) return null;
4956
+ const cv = complianceView(compliance, hasQuote);
4957
+ if (cv.tone === "blocked") return { text: "Blocked", tone: "warn" };
4958
+ if (cv.tone === "warn") return { text: compliance?.decision === "REMEDIATE" ? "Remediate" : "Review", tone: "warn" };
4959
+ if (cv.tone === "ok") return { text: cv.screened ? "Passed" : "Allowed", tone: "ok" };
4960
+ return { text: "Not screened", tone: "muted" };
4558
4961
  }
4559
- function TokenSelect(props) {
4560
- const [chainFilter, setChainFilter] = react.useState(null);
4561
- const [query, setQuery] = react.useState("");
4562
- const rows = react.useMemo(() => {
4563
- const q = query.trim().toLowerCase();
4564
- const filtered = props.tokens.filter((t) => chainFilter == null ? true : Number(t.chainId) === chainFilter).filter((t) => {
4565
- if (!q) return true;
4566
- return String(t.symbol || "").toLowerCase().includes(q) || // The chain's own ticker too, with `₮` read as `T`: "usdt0" finds USD₮0.
4567
- foldTicker(tokenTicker(t)).includes(foldTicker(q)) || String(t.name || "").toLowerCase().includes(q) || String(t.address || "").toLowerCase().includes(q) || // Chain name too (2026-09-08): with ~37 destination chains most have no bundled mark and
4568
- // show a three-letter badge, so "Katana" or "Berachain" has to be findable by typing it.
4569
- String(CHAIN_LABELS[Number(t.chainId)] || "").toLowerCase().includes(q);
4570
- });
4571
- if (!props.balances) return filtered;
4572
- const balNum = (t) => {
4573
- const n = Number(props.balances?.[`${Number(t.chainId)}:${String(t.address || "").toLowerCase()}`]?.formatted);
4574
- return Number.isFinite(n) ? n : 0;
4962
+ function complianceIconTone(compliance, hasQuote = true) {
4963
+ const cv = complianceView(compliance, hasQuote);
4964
+ return cv.tone === "blocked" || cv.tone === "warn" ? "warn" : cv.tone === "ok" ? "ok" : "muted";
4965
+ }
4966
+ function ComplianceSheet(props) {
4967
+ const [tab, setTab] = react.useState("checks");
4968
+ const sheetRef = react.useRef(null);
4969
+ const compliance = props.compliance ?? null;
4970
+ const cv = complianceView(compliance, props.hasQuote ?? true);
4971
+ const allChecks = complianceChecks(compliance, cv);
4972
+ const checks = props.direct ? allChecks.filter((c) => DIRECT_CHECK_IDS.includes(c.id)) : allChecks;
4973
+ const onCloseRef = react.useRef(props.onClose);
4974
+ onCloseRef.current = props.onClose;
4975
+ const onClose = () => onCloseRef.current();
4976
+ react.useEffect(() => {
4977
+ sheetRef.current?.focus();
4978
+ const onKey = (e) => {
4979
+ if (e.key === "Escape") {
4980
+ e.stopPropagation();
4981
+ onCloseRef.current();
4982
+ }
4575
4983
  };
4576
- return [...filtered].sort((a, b) => balNum(b) - balNum(a));
4577
- }, [props.tokens, chainFilter, query, props.balances]);
4578
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
4579
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-sel-head", children: [
4580
- /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-back", onClick: props.onBack, "aria-label": "Back", children: /* @__PURE__ */ jsxRuntime.jsx(BackGlyph, {}) }),
4581
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-sel-title", children: props.title })
4582
- ] }),
4583
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-chain-grid", "data-scroll": props.chains.length > 14 ? void 0 : "false", role: "group", "aria-label": "Filter by chain", children: [
4584
- /* @__PURE__ */ jsxRuntime.jsx(ChainChip, { label: "All", selected: chainFilter == null, onClick: () => setChainFilter(null) }),
4585
- props.chains.map((c) => /* @__PURE__ */ jsxRuntime.jsx(
4586
- ChainChip,
4587
- {
4588
- chain: c,
4589
- label: chainBadge(Number(c.chainId)),
4590
- name: CHAIN_LABELS[Number(c.chainId)] || c.displayName || c.name || `Chain ${c.chainId}`,
4591
- selected: chainFilter === Number(c.chainId),
4592
- onClick: () => setChainFilter(Number(c.chainId))
4593
- },
4594
- c.chainId
4595
- ))
4984
+ document.addEventListener("keydown", onKey, true);
4985
+ return () => document.removeEventListener("keydown", onKey, true);
4986
+ }, []);
4987
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet", role: "dialog", "aria-modal": "true", "aria-label": "Compliance details", ref: sheetRef, tabIndex: -1, children: [
4988
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet-head", children: [
4989
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "sg-cp-sheet-title", children: "Compliance details" }),
4990
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-cp-close", onClick: onClose, "aria-label": "Close compliance details", children: /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m6 6 12 12M18 6 6 18", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }) }) })
4596
4991
  ] }),
4597
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-search", children: [
4598
- /* @__PURE__ */ jsxRuntime.jsx(SearchGlyph, {}),
4599
- /* @__PURE__ */ jsxRuntime.jsx("input", { autoFocus: true, placeholder: "Search by token, network or address", value: query, onChange: (e) => setQuery(e.target.value), spellCheck: false, "aria-label": "Search by token, network or address" })
4992
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-tabs", role: "tablist", "aria-label": "Compliance details sections", children: [
4993
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", role: "tab", "aria-selected": tab === "checks", "data-active": tab === "checks", className: "sg-cp-tab", onClick: () => setTab("checks"), children: "Quote checks" }),
4994
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", role: "tab", "aria-selected": tab === "policy", "data-active": tab === "policy", className: "sg-cp-tab", onClick: () => setTab("policy"), children: "Screening policy" })
4600
4995
  ] }),
4601
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-toklist", role: "group", "aria-label": props.title, children: rows.length ? rows.map((t) => {
4602
- const chainId = Number(t.chainId);
4603
- const key = `${chainId}:${String(t.address || "").toLowerCase()}`;
4604
- const bal = props.balances?.[key];
4605
- const st = props.optionStates?.[key];
4606
- const disabled = !!st?.disabled;
4607
- return /* @__PURE__ */ jsxRuntime.jsxs(
4608
- "button",
4609
- {
4610
- type: "button",
4611
- className: `sg-tokrow${disabled ? " sg-tokrow--off" : ""}`,
4612
- disabled,
4613
- "aria-disabled": disabled || void 0,
4614
- "data-disabled": disabled || void 0,
4615
- onClick: disabled ? void 0 : () => props.onPick({ chainId, symbol: t.symbol }),
4616
- children: [
4617
- /* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: t.symbol, logoUrl: t.logoUrl, chainId }),
4618
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tokrow-main", children: [
4619
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-sym", children: tokenTicker(t) }),
4620
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-name", children: t.name || t.symbol })
4621
- ] }),
4622
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tokrow-end", children: [
4623
- bal ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-bal sg-mono", children: bal.formatted }) : null,
4624
- st?.hint ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-hint", "data-tone": disabled ? void 0 : "note", children: st.hint }) : null,
4625
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-chain", children: CHAIN_LABELS[chainId] || `Chain ${chainId}` })
4626
- ] })
4627
- ]
4628
- },
4629
- `${chainId}:${t.address}`
4630
- );
4631
- }) : props.loading ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-sel-empty", children: "Loading the token list\u2026" }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-sel-empty", children: "No tokens match \u2014 try another chain or search." }) })
4996
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-cp-sheet-body", children: tab === "checks" ? /* @__PURE__ */ jsxRuntime.jsx(QuoteChecks, { compliance, cv, checks, direct: !!props.direct, onViewPolicy: () => setTab("policy") }) : /* @__PURE__ */ jsxRuntime.jsx(ScreeningPolicy, { compliance }) })
4632
4997
  ] });
4633
4998
  }
4999
+ function CompliancePanel(props) {
5000
+ const [open, setOpen] = react.useState(false);
5001
+ const triggerRef = react.useRef(null);
5002
+ const compliance = props.compliance ?? null;
5003
+ const cv = complianceView(compliance, props.hasQuote ?? true);
5004
+ const tag = complianceTagOf(compliance);
5005
+ const close = () => {
5006
+ setOpen(false);
5007
+ requestAnimationFrame(() => triggerRef.current?.focus());
5008
+ };
5009
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-cp", "data-tone": cv.tone, children: open ? /* @__PURE__ */ jsxRuntime.jsx(ComplianceSheet, { compliance, direct: props.direct, hasQuote: props.hasQuote, onClose: close }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5010
+ /* @__PURE__ */ jsxRuntime.jsxs("button", { ref: triggerRef, type: "button", className: "sg-cp-row", "data-tone": cv.tone, onClick: () => setOpen(true), "aria-haspopup": "dialog", children: [
5011
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-cp-row-main", children: [
5012
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-glyph", children: /* @__PURE__ */ jsxRuntime.jsx(TriggerGlyph, { cv }) }),
5013
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-label", children: cv.label })
5014
+ ] }),
5015
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-chev", children: /* @__PURE__ */ jsxRuntime.jsx(Chevron, {}) })
5016
+ ] }),
5017
+ (cv.blocked || cv.needsAction) && tag ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-tag sg-mono", children: tag }) : null
5018
+ ] }) });
5019
+ }
4634
5020
  function useTxHistory(account) {
4635
5021
  const [entries, setEntries] = react.useState(() => readTxHistory(account));
4636
5022
  react.useEffect(() => {
@@ -5889,6 +6275,39 @@ function PaymentIsland(props) {
5889
6275
  ) }) })
5890
6276
  ] }) });
5891
6277
  }
6278
+ function PillLauncher(props) {
6279
+ injectStyles();
6280
+ const resolved = resolveTheme(props.theme);
6281
+ const vars = themeToVars(resolved);
6282
+ const openAs = props.openAs === "drawer" ? "drawer" : "modal";
6283
+ const [open, setOpen] = react.useState(!!props.defaultOpen);
6284
+ const buttonRef = react.useRef(null);
6285
+ const close = () => {
6286
+ setOpen(false);
6287
+ requestAnimationFrame(() => buttonRef.current?.focus());
6288
+ };
6289
+ react.useEffect(() => {
6290
+ if (!open) return;
6291
+ const onKey = (e) => {
6292
+ if (e.key === "Escape") close();
6293
+ };
6294
+ document.addEventListener("keydown", onKey);
6295
+ return () => document.removeEventListener("keydown", onKey);
6296
+ }, [open]);
6297
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pill-root", "data-sg-mode": resolved.mode, style: vars, children: [
6298
+ /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: buttonRef, className: "sg-pillbtn", onClick: () => setOpen(true), "aria-haspopup": "dialog", "aria-expanded": open, children: [
6299
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-pillbtn-lead", children: [
6300
+ /* @__PURE__ */ jsxRuntime.jsx(BrandMark, { size: 15, mono: true, className: "sg-pillbtn-mark" }),
6301
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: props.verb })
6302
+ ] }),
6303
+ props.amountLabel ? /* @__PURE__ */ jsxRuntime.jsx("b", { className: "sg-pillbtn-amt sg-mono", children: props.amountLabel }) : null
6304
+ ] }),
6305
+ open ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-overlay", "data-sg-overlay": openAs, children: [
6306
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-overlay-scrim", tabIndex: -1, "aria-label": "Close", onClick: close }),
6307
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-dialog", role: "dialog", "aria-modal": "true", "aria-label": props.verb, children: props.children(close, openAs) })
6308
+ ] }) : null
6309
+ ] });
6310
+ }
5892
6311
  var STABLES2 = EXECUTABLE_STABLE_ASSETS;
5893
6312
  var DEFAULT_FUNDING_ASSETS = [...EXECUTABLE_STABLE_ASSETS];
5894
6313
  function CheckGlyph3() {
@@ -5908,8 +6327,19 @@ function CheckGlyph3() {
5908
6327
  }
5909
6328
  );
5910
6329
  }
6330
+ function atLeastCents(value) {
6331
+ if (!/^\d+(\.\d*)?$/.test(value)) return value;
6332
+ const [whole, frac = ""] = value.split(".");
6333
+ return frac.length >= 2 ? value : `${whole}.${frac.padEnd(2, "0")}`;
6334
+ }
5911
6335
  var addrEq2 = (a, b) => String(a || "").toLowerCase() === String(b || "").toLowerCase();
5912
6336
  function StableGeniePay(props) {
6337
+ const config = useMergedConfig(props);
6338
+ if (props.variant !== "pill") return /* @__PURE__ */ jsxRuntime.jsx(PayCard, { ...props });
6339
+ if (props.settlement === "bank") return /* @__PURE__ */ jsxRuntime.jsx(PaymentIsland, { kind: "pay", ...props });
6340
+ return /* @__PURE__ */ jsxRuntime.jsx(PillLauncher, { verb: "Pay with ZeroDelta", amountLabel: props.moneyDisplay || `${props.amount} ${props.toAsset}`, openAs: props.openAs, theme: config.theme, defaultOpen: props.defaultExpanded, children: (close) => /* @__PURE__ */ jsxRuntime.jsx(PayCard, { ...props, variant: void 0, onClose: close }) });
6341
+ }
6342
+ function PayCard(props) {
5913
6343
  const config = useMergedConfig(props);
5914
6344
  const engine = useEngine({
5915
6345
  apiBase: config.apiBase,
@@ -5938,11 +6368,11 @@ function StableGeniePay(props) {
5938
6368
  onSuccess: config.onSuccess,
5939
6369
  onError: config.onError
5940
6370
  });
5941
- const [method, setMethod] = react.useState("stablecoin");
6371
+ const method = "stablecoin";
5942
6372
  const fundingSet = react.useMemo(() => props.fundingAssets?.length ? new Set(props.fundingAssets.map((a) => a.toUpperCase())) : null, [props.fundingAssets]);
5943
6373
  const visibleRoutes = react.useMemo(() => {
5944
6374
  const base = fundingSet ? flow.routes.filter((r) => fundingSet.has(r.source.asset.toUpperCase()) || r.state === "DIRECT") : flow.routes;
5945
- return method === "stablecoin" ? base.filter((r) => STABLES2.has(symbolKey(r.source.asset))) : base;
6375
+ return base.filter((r) => STABLES2.has(symbolKey(r.source.asset))) ;
5946
6376
  }, [flow.routes, method, fundingSet]);
5947
6377
  const paymentPlan = flow.plan;
5948
6378
  const prefetchedBalances = paymentPlan && paymentPlan.fundingAccount === wallet.account?.toLowerCase() ? paymentPlan.fundingBalances : void 0;
@@ -6036,18 +6466,6 @@ function StableGeniePay(props) {
6036
6466
  const ids = new Set(fundingTokens.map((t) => Number(t.chainId)));
6037
6467
  return chains.filter((c) => ids.has(Number(c.chainId)));
6038
6468
  }, [chains, fundingTokens]);
6039
- const payableAssets = react.useMemo(() => {
6040
- const seen = /* @__PURE__ */ new Set();
6041
- const list = [];
6042
- for (const { route } of held) {
6043
- const symbol = symbolKey(route.source.asset);
6044
- if (seen.has(symbol)) continue;
6045
- seen.add(symbol);
6046
- const token = registryTokens.find((t) => Number(t.chainId) === route.source.chainId && addrEq2(t.address, route.source.tokenAddress));
6047
- list.push({ symbol: route.source.asset, logoUrl: token?.logoUrl });
6048
- }
6049
- return list;
6050
- }, [held, registryTokens]);
6051
6469
  const userPicked = react.useRef(false);
6052
6470
  const selectRoute = react.useCallback(
6053
6471
  (id) => {
@@ -6096,21 +6514,42 @@ function StableGeniePay(props) {
6096
6514
  const sel = flow.selected;
6097
6515
  const selectedVisible = Boolean(sel && visibleRoutes.some((r) => r.id === sel.id));
6098
6516
  const selBal = sel ? holdings.balances[balanceKey(sel.source.chainId, sel.source.tokenAddress)] : void 0;
6099
- const why = parked ? "" : sel && selectedVisible ? sel.state === "DIRECT" ? `Direct ${sel.source.ticker || sel.source.asset} transfer on ${CHAIN_LABELS[sel.source.chainId] || sel.source.chainName} \xB7 lowest cost` : (
6100
- // Deliberately does NOT restate the destination amount — that is merchant config, not a payer fact.
6101
- `Routed through ZeroDelta \xB7 the extra covers the network cost`
6102
- ) : "Pay with USDC, USDT, or USDE from your wallet.";
6103
- const comingSoon = method === "card" ? "Card payments are coming soon. Today StableGenie pays from your connected wallet." : "Bank transfers are coming soon.";
6104
- const payLabel = parked ? method === "card" ? "Card \u2014 coming soon" : "Bank \u2014 coming soon" : submitting ? "Paying\u2026" : flow.insufficient ? "Insufficient balance" : flow.nativeShortfall ? flow.nativeShortfall : sel && selectedVisible ? `Pay ${sel.source.payAmount} ${sel.source.ticker || sel.source.asset}` : "Pay";
6517
+ const selToken = sel ? registryTokens.find((t) => Number(t.chainId) === sel.source.chainId && addrEq2(t.address, sel.source.tokenAddress)) ?? null : null;
6518
+ const [prices, setPrices] = react.useState({});
6519
+ const selSymbol = sel ? symbolKey(sel.source.asset) : "";
6520
+ react.useEffect(() => {
6521
+ if (props.variant === "pill" || !selSymbol || !engine.fetchPrices) return;
6522
+ let alive = true;
6523
+ engine.fetchPrices([selSymbol]).then((next) => {
6524
+ if (alive) setPrices((prev) => ({ ...prev, ...next }));
6525
+ });
6526
+ return () => {
6527
+ alive = false;
6528
+ };
6529
+ }, [engine, selSymbol, props.variant]);
6530
+ const [sheet, setSheet] = react.useState(false);
6531
+ const complianceBtnRef = react.useRef(null);
6532
+ react.useEffect(() => setSheet(false), [wallet.account, paramsKey]);
6533
+ const closeSheet = () => {
6534
+ setSheet(false);
6535
+ requestAnimationFrame(() => complianceBtnRef.current?.focus());
6536
+ };
6537
+ const payLabel = parked ? "Coming soon" : submitting ? "Paying\u2026" : flow.insufficient ? "Insufficient balance" : flow.nativeShortfall ? flow.nativeShortfall : sel && selectedVisible ? `Pay ${atLeastCents(sel.source.payAmount)} ${sel.source.ticker || sel.source.asset}` : "Pay";
6105
6538
  const walletSlot = wallet.account ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-head-tools", children: [
6106
6539
  /* @__PURE__ */ jsxRuntime.jsx(HistoryButton, { btnRef: histBtnRef, disabled: submitting, onClick: () => setHist({}) }),
6107
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-brand", children: [
6108
- /* @__PURE__ */ jsxRuntime.jsx(BrandMark, { size: 14, className: "sg-brand-mark" }),
6109
- "ZeroDelta"
6540
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-wallet", "data-connected": "true", children: [
6541
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-wallet-dot", "aria-hidden": "true" }),
6542
+ " ",
6543
+ shortAddress2(wallet.account)
6110
6544
  ] })
6111
- ] }) : void 0;
6112
- if (props.variant === "pill") return /* @__PURE__ */ jsxRuntime.jsx(PaymentIsland, { kind: "pay", ...props });
6113
- return /* @__PURE__ */ jsxRuntime.jsx(WidgetShell, { title: config.title || "Complete payment", theme: config.theme, heightPx: props.heightPx, walletSlot, children: hist && wallet.account ? /* @__PURE__ */ jsxRuntime.jsx(TxHistoryPanel, { account: wallet.account, tokens: registryTokens, vaultIcons: catalogue?.vaultIcons, initialEntry: hist.entry ?? null, onBack: closeHistory }) : view === "select" && wallet.account ? /* @__PURE__ */ jsxRuntime.jsx(
6545
+ ] }) : /* @__PURE__ */ jsxRuntime.jsx("span", {});
6546
+ const nativeWei = sel ? routeNativeValue(sel) : 0n;
6547
+ const feeRows = sel ? [
6548
+ { label: "Network fee", value: nativeWei > 0n ? `~${formatNative(nativeWei)} ${nativeSymbol(sel.source.chainId)}` : "Gas only" },
6549
+ ...durationLabel(sel.quote.estimatedDuration) ? [{ label: "Estimated time", value: durationLabel(sel.quote.estimatedDuration) }] : []
6550
+ ] : [];
6551
+ const loadingPlan = flow.status === "loading" || holdings.loading && !sel;
6552
+ return /* @__PURE__ */ jsxRuntime.jsx(WidgetShell, { title: config.title || "Complete payment", theme: config.theme, heightPx: props.heightPx, walletSlot, onClose: props.onClose, children: hist && wallet.account ? /* @__PURE__ */ jsxRuntime.jsx(TxHistoryPanel, { account: wallet.account, tokens: registryTokens, vaultIcons: catalogue?.vaultIcons, initialEntry: hist.entry ?? null, onBack: closeHistory }) : view === "select" && wallet.account ? /* @__PURE__ */ jsxRuntime.jsx(
6114
6553
  TokenSelect,
6115
6554
  {
6116
6555
  title: "Pay with",
@@ -6121,9 +6560,12 @@ function StableGeniePay(props) {
6121
6560
  onBack: closeSelector,
6122
6561
  onPick: pickFunding
6123
6562
  }
6124
- ) : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: !wallet.account ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cta-wrap", children: [
6125
- /* @__PURE__ */ jsxRuntime.jsx(Button, { onClick: wallet.connect, busy: wallet.connecting, children: "Connect wallet" }),
6126
- wallet.error ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: wallet.error }) : null
6563
+ ) : sheet && sel ? /* @__PURE__ */ jsxRuntime.jsx(ComplianceSheet, { compliance: sel.quote.compliance, direct: sel.state === "DIRECT", onClose: closeSheet }) : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: !wallet.account ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6564
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-pane sg-pane--note", children: "Connect your wallet to choose a token to pay with." }),
6565
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cta-wrap", children: [
6566
+ /* @__PURE__ */ jsxRuntime.jsx(Button, { onClick: wallet.connect, busy: wallet.connecting, children: "Connect wallet" }),
6567
+ wallet.error ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: wallet.error }) : null
6568
+ ] })
6127
6569
  ] }) : flow.status === "success" || flow.status === "pending" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6128
6570
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-success", children: [
6129
6571
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-success-check", "data-pending": flow.verdict?.status !== "confirmed", children: /* @__PURE__ */ jsxRuntime.jsx(CheckGlyph3, {}) }),
@@ -6140,45 +6582,43 @@ function StableGeniePay(props) {
6140
6582
  ] }),
6141
6583
  lastTxOwned ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-cta-wrap", children: /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "ghost", onClick: () => setHist({ entry: flow.lastTxEntry }), children: "View transaction" }) }) : null
6142
6584
  ] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6143
- /* @__PURE__ */ jsxRuntime.jsx(MethodTabs, { value: method, onChange: setMethod }),
6144
- parked ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { children: comingSoon }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6145
- /* @__PURE__ */ jsxRuntime.jsx("div", { style: { marginTop: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
6146
- FundingTile,
6147
- {
6148
- label: "Pay with",
6149
- assets: payableAssets,
6150
- loading: flow.status === "loading" || holdings.loading,
6151
- disabled: submitting || !visibleRoutes.length,
6152
- btnRef: payTileRef,
6153
- onClick: () => setView("select")
6154
- }
6155
- ) }),
6156
- flow.status === "loading" ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-route", style: { marginTop: 12 }, children: [
6157
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-skel" }),
6158
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-muted", style: { fontSize: 13 }, children: [
6159
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-spinner" }),
6160
- " Finding the best way to pay\u2026"
6161
- ] })
6162
- ] }) : null,
6163
- flow.status === "error" && flow.error ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: flow.error }) : null,
6164
- sel && selectedVisible && flow.status !== "loading" ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-panel", style: { marginTop: 12 }, children: [
6165
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-label", children: "You pay" }),
6166
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-anchor sg-mono", children: [
6167
- sel.source.payAmount,
6168
- " ",
6169
- sel.source.ticker || sel.source.asset
6585
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-stack", children: [
6586
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane", "data-kind": "pay", children: [
6587
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-pane-label", children: "You pay" }),
6588
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane-mid", children: [
6589
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-amt-out", "aria-live": "polite", children: loadingPlan ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-amt-empty", children: "\u2026" }) : sel && selectedVisible ? /* @__PURE__ */ jsxRuntime.jsx(AmountText, { value: atLeastCents(sel.source.payAmount) }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-amt-empty", children: "\u2014" }) }),
6590
+ /* @__PURE__ */ jsxRuntime.jsx(
6591
+ TokenButton,
6592
+ {
6593
+ label: "Pay with",
6594
+ symbol: sel && selectedVisible ? sel.source.asset : null,
6595
+ chainId: sel && selectedVisible ? sel.source.chainId : null,
6596
+ token: selToken,
6597
+ disabled: submitting || !visibleRoutes.length,
6598
+ btnRef: payTileRef,
6599
+ onClick: () => setView("select")
6600
+ }
6601
+ )
6170
6602
  ] }),
6171
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-anchor-sub", children: [
6172
- "on ",
6173
- CHAIN_LABELS[sel.source.chainId] || sel.source.chainName,
6174
- selBal ? ` \xB7 balance ${selBal.formatted}` : ""
6175
- ] })
6176
- ] }) : null,
6177
- why ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-why", style: { marginTop: 10 }, children: why }) : null,
6603
+ /* @__PURE__ */ jsxRuntime.jsx(PaneFoot, { usd: sel && selectedVisible ? usdOf(sel.source.payAmount, prices[selSymbol]) : null, balance: selBal ? shortBalance(selBal.formatted) : null })
6604
+ ] }),
6605
+ flow.status === "error" && flow.error ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: flow.error }) : null,
6178
6606
  scannedEmpty ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-note", children: "None of your balances can cover this yet \u2014 pick a different asset to fund with." }) : null,
6179
- flow.status === "ready" && !visibleRoutes.length ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { children: "No funding route matches the accepted assets for this payment." }) : null
6607
+ flow.status === "ready" && !visibleRoutes.length ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { children: "No funding route matches the accepted assets for this payment." }) : null,
6608
+ sel && flow.status !== "loading" ? /* @__PURE__ */ jsxRuntime.jsx(
6609
+ DetailButton,
6610
+ {
6611
+ btnRef: complianceBtnRef,
6612
+ size: "lg",
6613
+ icon: /* @__PURE__ */ jsxRuntime.jsx(ShieldTickGlyph, {}),
6614
+ iconTone: complianceIconTone(sel.quote.compliance),
6615
+ label: "Compliance",
6616
+ badge: complianceBadge(sel.quote.compliance),
6617
+ onClick: () => setSheet(true)
6618
+ }
6619
+ ) : null,
6620
+ sel && selectedVisible && flow.status !== "loading" ? /* @__PURE__ */ jsxRuntime.jsx(RateBox, { rowsOnly: true, rate: null, fromSymbol: "", toTicker: "", rows: feeRows }) : null
6180
6621
  ] }),
6181
- sel && flow.status !== "loading" ? /* @__PURE__ */ jsxRuntime.jsx(CompliancePanel, { compliance: sel.quote.compliance, direct: sel.state === "DIRECT" }) : null,
6182
6622
  submitting ? /* @__PURE__ */ jsxRuntime.jsx(StepList, { steps: flow.steps }) : null,
6183
6623
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-cta-wrap", children: /* @__PURE__ */ jsxRuntime.jsx(
6184
6624
  Button,
@@ -6330,18 +6770,64 @@ function StableGenieSwap(props) {
6330
6770
  ] })
6331
6771
  ] });
6332
6772
  }
6773
+ function QuoteSheet(props) {
6774
+ const sheetRef = react.useRef(null);
6775
+ const onCloseRef = react.useRef(props.onClose);
6776
+ onCloseRef.current = props.onClose;
6777
+ react.useEffect(() => {
6778
+ sheetRef.current?.focus();
6779
+ const onKey = (e) => {
6780
+ if (e.key === "Escape") {
6781
+ e.stopPropagation();
6782
+ onCloseRef.current();
6783
+ }
6784
+ };
6785
+ document.addEventListener("keydown", onKey, true);
6786
+ return () => document.removeEventListener("keydown", onKey, true);
6787
+ }, []);
6788
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet", role: "dialog", "aria-modal": "true", "aria-label": "Quote details", ref: sheetRef, tabIndex: -1, children: [
6789
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet-head", children: [
6790
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "sg-cp-sheet-title", children: "Quote details" }),
6791
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-cp-close", onClick: () => onCloseRef.current(), "aria-label": "Close quote details", children: /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m6 6 12 12M18 6 6 18", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }) }) })
6792
+ ] }),
6793
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet-body", children: [
6794
+ /* @__PURE__ */ jsxRuntime.jsx("section", { className: "sg-cp-card", children: /* @__PURE__ */ jsxRuntime.jsx("dl", { className: "sg-cp-facts sg-qs-facts", children: props.facts.map((f) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-fact", children: [
6795
+ /* @__PURE__ */ jsxRuntime.jsx("dt", { children: f.label }),
6796
+ /* @__PURE__ */ jsxRuntime.jsx("dd", { className: "sg-mono", children: f.value })
6797
+ ] }, f.label)) }) }),
6798
+ props.legs?.length ? /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "sg-cp-card sg-legs", children: [
6799
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-legs-head", children: /* @__PURE__ */ jsxRuntime.jsxs("b", { children: [
6800
+ props.legs.length,
6801
+ " orders \xB7 one signature"
6802
+ ] }) }),
6803
+ /* @__PURE__ */ jsxRuntime.jsx("ol", { className: "sg-leg-list", children: props.legs.map((leg) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "sg-leg", children: [
6804
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-leg-n", children: leg.index }),
6805
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-leg-body", children: [
6806
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-leg-line", children: [
6807
+ leg.fromTicker || leg.fromAsset || "?",
6808
+ " on ",
6809
+ leg.fromChainName,
6810
+ " \u2192 ",
6811
+ leg.toTicker || leg.toAsset || "?",
6812
+ " on ",
6813
+ leg.toChainName
6814
+ ] }),
6815
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-leg-sub", children: [
6816
+ "Filled on ",
6817
+ leg.executionChainName
6818
+ ] })
6819
+ ] })
6820
+ ] }, leg.index)) })
6821
+ ] }) : null
6822
+ ] })
6823
+ ] });
6824
+ }
6333
6825
  var FIAT = [
6334
6826
  { code: "USD", glyph: "$", label: "US Dollar" },
6335
6827
  { code: "EUR", glyph: "\u20AC", label: "Euro" },
6336
6828
  { code: "GBP", glyph: "\xA3", label: "British Pound" },
6337
6829
  { code: "CHF", glyph: "\u20A3", label: "Swiss Franc" }
6338
6830
  ];
6339
- function ArrowGlyph2() {
6340
- return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
6341
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 12h14" }),
6342
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m13 6 6 6-6 6" })
6343
- ] });
6344
- }
6345
6831
  function RouteGlyph() {
6346
6832
  return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", "aria-hidden": "true", children: [
6347
6833
  /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "6", cy: "19", r: "2.4" }),
@@ -6365,7 +6851,21 @@ function FiatTile(props) {
6365
6851
  ] })
6366
6852
  ] });
6367
6853
  }
6854
+ function FiatButton(props) {
6855
+ return /* @__PURE__ */ jsxRuntime.jsxs("label", { className: "sg-tokbtn sg-tokbtn--fiat", children: [
6856
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-fiat", "data-size": "xs", "aria-hidden": "true", children: props.fiat.glyph }),
6857
+ /* @__PURE__ */ jsxRuntime.jsx("select", { className: "sg-tokbtn-select", value: props.fiat.code, disabled: props.disabled, onChange: (e) => props.onCurrency(e.target.value), "aria-label": "Currency", children: FIAT.map((f) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: f.code, children: f.code }, f.code)) })
6858
+ ] });
6859
+ }
6368
6860
  function StableGenieExchange(props) {
6861
+ const config = useMergedConfig(props);
6862
+ if (props.variant !== "pill") return /* @__PURE__ */ jsxRuntime.jsx(ExchangeCard, { ...props });
6863
+ const amountLabel = props.defaultAmount && props.defaultFromAsset ? `${props.defaultAmount} ${props.defaultFromAsset}` : void 0;
6864
+ const mode = props.mode ?? "exchange";
6865
+ const verb = mode === "onramp" ? "Buy with ZeroDelta" : mode === "offramp" ? "Cash out with ZeroDelta" : "Exchange with ZeroDelta";
6866
+ return /* @__PURE__ */ jsxRuntime.jsx(PillLauncher, { verb, amountLabel, openAs: props.openAs, theme: config.theme, children: (close, openAs) => /* @__PURE__ */ jsxRuntime.jsx(ExchangeCard, { ...props, variant: "compact", onClose: close, inDialog: openAs }) });
6867
+ }
6868
+ function ExchangeCard(props) {
6369
6869
  const config = useMergedConfig(props);
6370
6870
  const engine = useEngine({ apiBase: config.apiBase, apiKey: config.apiKey, trustedApiOrigin: config.trustedApiOrigin, rpcOverrides: config.rpcOverrides, onTransaction: config.onTransaction });
6371
6871
  const wallet = useWallet(config.provider);
@@ -6399,6 +6899,11 @@ function StableGenieExchange(props) {
6399
6899
  requestAnimationFrame(() => histBtnRef.current?.focus());
6400
6900
  };
6401
6901
  react.useEffect(() => setHist(null), [wallet.account]);
6902
+ const [sheet, setSheet] = react.useState(null);
6903
+ const fromTileRef = react.useRef(null);
6904
+ const toTileRef = react.useRef(null);
6905
+ const complianceBtnRef = react.useRef(null);
6906
+ const quoteBtnRef = react.useRef(null);
6402
6907
  const [from, setFrom] = react.useState(
6403
6908
  () => props.defaultFromChainId && props.defaultFromAsset ? { chainId: props.defaultFromChainId, symbol: symbolKey(props.defaultFromAsset) } : null
6404
6909
  );
@@ -6489,6 +6994,19 @@ function StableGenieExchange(props) {
6489
6994
  });
6490
6995
  }, [engine, wallet.account, tokens]);
6491
6996
  const fromBal = from && fromToken ? balances[balanceKey(from.chainId, fromToken.address)] : void 0;
6997
+ const [prices, setPrices] = react.useState({});
6998
+ react.useEffect(() => {
6999
+ if (isPill) return;
7000
+ const symbols = [from?.symbol, to?.symbol].filter((x) => !!x);
7001
+ if (!symbols.length || !engine.fetchPrices) return;
7002
+ let alive = true;
7003
+ engine.fetchPrices(symbols).then((next) => {
7004
+ if (alive) setPrices((prev) => ({ ...prev, ...next }));
7005
+ });
7006
+ return () => {
7007
+ alive = false;
7008
+ };
7009
+ }, [engine, from?.symbol, to?.symbol, isPill]);
6492
7010
  const paramsKey = `${mode}|${from?.chainId}|${from?.symbol}|${to?.chainId}|${toSymbol}|${normalizedAmount}|${props.recipient ?? ""}`;
6493
7011
  const flow = useFlow({
6494
7012
  engine,
@@ -6539,6 +7057,32 @@ function StableGenieExchange(props) {
6539
7057
  const title = config.title || (mode === "onramp" ? "Buy stablecoins" : mode === "offramp" ? "Cash out" : "Exchange");
6540
7058
  const soonLabel = mode === "onramp" ? "On-ramp coming soon" : "Off-ramp coming soon";
6541
7059
  const ctaLabel = rampMode ? soonLabel : submitting ? "Exchanging\u2026" : flow.insufficient ? "Insufficient balance" : flow.nativeShortfall || "Exchange";
7060
+ const selected = connected ? flow.selected : null;
7061
+ const hasQuote = Boolean(quotable && !quoting && !quoteError && receive);
7062
+ const nativeWei = (() => {
7063
+ try {
7064
+ if (selected) return routeNativeValue(selected);
7065
+ return preview.data ? BigInt(preview.data.nativeFeeRaw || "0") : 0n;
7066
+ } catch {
7067
+ return 0n;
7068
+ }
7069
+ })();
7070
+ const networkFee = nativeWei > 0n ? `~${formatNative(nativeWei)} ${nativeSymbol(from?.chainId ?? 1, chains)}` : "Gas only";
7071
+ const eta = durationLabel(meta?.duration);
7072
+ const rate = hasQuote && receive && Number(normalizedAmount) > 0 ? (Number(receive) / Number(normalizedAmount)).toFixed(6) : null;
7073
+ const rateRows = hasQuote ? [{ label: "Network fee", value: networkFee }, ...eta ? [{ label: "Estimated time", value: eta }] : []] : [];
7074
+ const via = selected ? selected.legs.length > 1 ? selected.legs[0]?.toTicker || selected.legs[0]?.toAsset || "" : null : preview.data?.via ?? null;
7075
+ const routeShape = via === null ? "Direct" : via ? `Via ${via}` : "Two steps";
7076
+ const compliance = selected?.quote.compliance;
7077
+ const complianceHasQuote = Boolean(selected && flow.status !== "loading");
7078
+ const fromUsd = usdOf(normalizedAmount, prices[from?.symbol ?? ""]);
7079
+ const toUsd = usdOf(receive, prices[to?.symbol ?? ""]);
7080
+ const flippable = !rampMode && !submitting && Boolean(to && sourceTokens.some((t) => Number(t.chainId) === to.chainId && symbolKey(t.symbol) === to.symbol));
7081
+ const flip = () => {
7082
+ if (!flippable) return;
7083
+ setFrom(to);
7084
+ setTo(from);
7085
+ };
6542
7086
  const walletSlot = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-head-tools", children: [
6543
7087
  connected ? /* @__PURE__ */ jsxRuntime.jsx(HistoryButton, { btnRef: histBtnRef, disabled: submitting, onClick: () => setHist({}) }) : null,
6544
7088
  /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-wallet", "data-connected": connected || void 0, onClick: connected ? void 0 : wallet.connect, disabled: wallet.connecting, children: connected ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -6547,13 +7091,65 @@ function StableGenieExchange(props) {
6547
7091
  shortAddress2(wallet.account)
6548
7092
  ] }) : wallet.connecting ? "Connecting\u2026" : "Connect wallet" })
6549
7093
  ] });
6550
- const fromTileRef = react.useRef(null);
6551
- const toTileRef = react.useRef(null);
6552
7094
  const closeSelector = (isFrom) => {
6553
7095
  setView("main");
6554
7096
  requestAnimationFrame(() => (isFrom ? fromTileRef : toTileRef).current?.focus());
6555
7097
  };
6556
- if (props.variant === "pill") return /* @__PURE__ */ jsxRuntime.jsx(PaymentIsland, { kind: "exchange", ...props });
7098
+ const closeSheet = () => {
7099
+ const was = sheet;
7100
+ setSheet(null);
7101
+ requestAnimationFrame(() => (was === "quote" ? quoteBtnRef : complianceBtnRef).current?.focus());
7102
+ };
7103
+ const pctChips = mode !== "onramp" ? (
7104
+ // a11y note: <fieldset> carries UA styling that would have to be reset on every host page;
7105
+ // role="group" gives the same semantics.
7106
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-pct-row", role: "group", "aria-label": "Amount shortcuts", children: [25, 50, 75, 100].map((p) => /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-pct", disabled: !fromBal || submitting, onClick: () => pct(p), children: p === 100 ? "MAX" : `${p}%` }, p)) })
7107
+ ) : null;
7108
+ const amountField = /* @__PURE__ */ jsxRuntime.jsx(AmountInput, { value: amount, onChange: setAmount, disabled: submitting, invalid: !!amountError, describedBy: amountNote ? amountNoteId : void 0 });
7109
+ const amountNoteEl = amountNote ? /* @__PURE__ */ jsxRuntime.jsx(AmountNote, { id: amountNoteId, tone: amountError ? "error" : "neutral", children: amountNote }) : null;
7110
+ const fiat = FIAT.find((f) => f.code === fiatCurrency) ?? FIAT[0];
7111
+ const complianceButton = (lg) => /* @__PURE__ */ jsxRuntime.jsx(
7112
+ DetailButton,
7113
+ {
7114
+ btnRef: complianceBtnRef,
7115
+ size: lg ? "lg" : void 0,
7116
+ icon: /* @__PURE__ */ jsxRuntime.jsx(ShieldTickGlyph, {}),
7117
+ iconTone: complianceIconTone(compliance, complianceHasQuote),
7118
+ label: "Compliance",
7119
+ badge: lg ? complianceBadge(compliance, complianceHasQuote) : null,
7120
+ onClick: () => setSheet("compliance")
7121
+ }
7122
+ );
7123
+ const quoteButton = (lg) => /* @__PURE__ */ jsxRuntime.jsx(
7124
+ DetailButton,
7125
+ {
7126
+ btnRef: quoteBtnRef,
7127
+ size: lg ? "lg" : void 0,
7128
+ icon: /* @__PURE__ */ jsxRuntime.jsx(QuoteGlyph, {}),
7129
+ label: "Quote",
7130
+ badge: lg && hasQuote ? { text: "Best return", tone: "info" } : null,
7131
+ onClick: () => setSheet("quote"),
7132
+ disabled: !hasQuote
7133
+ }
7134
+ );
7135
+ const rateBox = (open) => /* @__PURE__ */ jsxRuntime.jsx(RateBox, { rate, fromSymbol: from?.symbol ?? "", fromLogoUrl: fromToken?.logoUrl, toTicker, rows: rateRows, defaultOpen: open });
7136
+ const sheetBody = sheet === "compliance" ? /* @__PURE__ */ jsxRuntime.jsx(ComplianceSheet, { compliance, direct: selected?.state === "DIRECT", hasQuote: complianceHasQuote, onClose: closeSheet }) : sheet === "quote" && hasQuote ? /* @__PURE__ */ jsxRuntime.jsx(
7137
+ QuoteSheet,
7138
+ {
7139
+ onClose: closeSheet,
7140
+ facts: [
7141
+ { label: "Route", value: routeShape },
7142
+ { label: "Provider", value: meta?.bridge || "ZeroDelta" },
7143
+ { label: "You send", value: `${normalizedAmount} ${fromTicker}` },
7144
+ { label: "You receive", value: `${receive} ${toTicker}` },
7145
+ ...rate ? [{ label: "Rate", value: `1 ${fromTicker} = ${rate} ${toTicker}` }] : [],
7146
+ { label: "Fee", value: `${meta?.feeBps ?? 0} bps` },
7147
+ { label: "Network fee", value: networkFee },
7148
+ ...eta ? [{ label: "Estimated time", value: eta }] : []
7149
+ ],
7150
+ legs: selected && selected.legs.length > 1 ? selected.legs : void 0
7151
+ }
7152
+ ) : null;
6557
7153
  let body;
6558
7154
  if (hist && connected) {
6559
7155
  body = /* @__PURE__ */ jsxRuntime.jsx(TxHistoryPanel, { account: wallet.account, tokens, vaultIcons: catalogue?.vaultIcons, initialEntry: hist.entry ?? null, onBack: closeHistory });
@@ -6575,6 +7171,8 @@ function StableGenieExchange(props) {
6575
7171
  }
6576
7172
  }
6577
7173
  );
7174
+ } else if (sheetBody && !wide) {
7175
+ body = sheetBody;
6578
7176
  } else if (flow.status === "success" || flow.status === "pending") {
6579
7177
  body = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6580
7178
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-success", children: [
@@ -6595,68 +7193,84 @@ function StableGenieExchange(props) {
6595
7193
  ] })
6596
7194
  ] });
6597
7195
  } else {
6598
- body = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6599
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-ft", children: [
6600
- mode === "onramp" ? /* @__PURE__ */ jsxRuntime.jsx(FiatTile, { label: "From", currency: fiatCurrency, onCurrency: setFiatCurrency }) : /* @__PURE__ */ jsxRuntime.jsx(TokenTile, { label: "From", pick: from, token: fromToken, disabled: submitting, btnRef: fromTileRef, onClick: () => setView("from") }),
6601
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-ft-arrow", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx(ArrowGlyph2, {}) }),
6602
- mode === "offramp" ? /* @__PURE__ */ jsxRuntime.jsx(FiatTile, { label: "To", currency: fiatCurrency, onCurrency: setFiatCurrency }) : /* @__PURE__ */ jsxRuntime.jsx(TokenTile, { label: "To", pick: to, token: toToken, disabled: submitting, btnRef: toTileRef, onClick: () => setView("to") })
7196
+ const payToken = mode === "onramp" ? /* @__PURE__ */ jsxRuntime.jsx(FiatButton, { fiat, onCurrency: setFiatCurrency, disabled: submitting }) : /* @__PURE__ */ jsxRuntime.jsx(TokenButton, { label: "You pay", symbol: from?.symbol ?? null, chainId: from?.chainId ?? null, token: fromToken, disabled: submitting, btnRef: fromTileRef, onClick: () => setView("from") });
7197
+ const receiveToken = mode === "offramp" ? /* @__PURE__ */ jsxRuntime.jsx(FiatButton, { fiat, onCurrency: setFiatCurrency, disabled: submitting }) : /* @__PURE__ */ jsxRuntime.jsx(TokenButton, { label: "You receive", symbol: to?.symbol ?? null, chainId: to?.chainId ?? null, token: toToken, disabled: submitting, btnRef: toTileRef, onClick: () => setView("to") });
7198
+ const cta = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cta-wrap", children: [
7199
+ !connected && !rampMode ? /* @__PURE__ */ jsxRuntime.jsx(Button, { onClick: wallet.connect, busy: wallet.connecting, children: "Connect wallet" }) : /* @__PURE__ */ jsxRuntime.jsx(Button, { onClick: rampMode ? void 0 : flow.submit, busy: submitting, disabled: rampMode || !quotable || !cryptoReady || connected && (!flow.selected || flow.insufficient || !!flow.nativeShortfall || flow.status === "loading"), children: ctaLabel }),
7200
+ wallet.error ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: wallet.error }) : null
7201
+ ] });
7202
+ const notices = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7203
+ rampMode ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { children: mode === "onramp" ? "Buy supported stablecoins with card or bank transfer \u2014 coming soon. Today the widget settles crypto-to-crypto." : "Cash out supported stablecoins to your bank \u2014 coming soon. Today the widget settles crypto-to-crypto." }) : null,
7204
+ !rampMode && quoteError && !gatewayAmountError && !wide ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: quoteError }) : null
7205
+ ] });
7206
+ body = wide ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7207
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-stack", children: [
7208
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-ft", children: [
7209
+ mode === "onramp" ? /* @__PURE__ */ jsxRuntime.jsx(FiatTile, { label: "From", currency: fiatCurrency, onCurrency: setFiatCurrency }) : /* @__PURE__ */ jsxRuntime.jsx(TokenTile, { label: "From", pick: from, token: fromToken, disabled: submitting, btnRef: fromTileRef, onClick: () => setView("from") }),
7210
+ /* @__PURE__ */ jsxRuntime.jsx(FlipButton, { small: true, onClick: flip, disabled: !flippable }),
7211
+ mode === "offramp" ? /* @__PURE__ */ jsxRuntime.jsx(FiatTile, { label: "To", currency: fiatCurrency, onCurrency: setFiatCurrency }) : /* @__PURE__ */ jsxRuntime.jsx(TokenTile, { label: "To", pick: to, token: toToken, disabled: submitting, btnRef: toTileRef, onClick: () => setView("to") })
7212
+ ] }),
7213
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane", "data-kind": "send", children: [
7214
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane-top", children: [
7215
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-pane-label", children: mode === "onramp" ? `You pay (${fiatCurrency})` : "Send" }),
7216
+ pctChips
7217
+ ] }),
7218
+ amountField,
7219
+ amountNoteEl,
7220
+ /* @__PURE__ */ jsxRuntime.jsx(PaneFoot, { usd: mode === "onramp" ? null : fromUsd, balance: mode !== "onramp" && fromBal ? shortBalance(fromBal.formatted) : null })
7221
+ ] })
6603
7222
  ] }),
6604
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-panel", style: { marginTop: 12 }, children: [
6605
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-label", children: mode === "onramp" ? `You pay (${fiatCurrency})` : "Send" }),
6606
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-send-row", children: [
6607
- mode === "onramp" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-fiat", children: FIAT.find((f) => f.code === fiatCurrency)?.glyph ?? "$" }) : from ? /* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: from.symbol, logoUrl: fromToken?.logoUrl, chainId: from.chainId, size: "sm" }) : null,
6608
- /* @__PURE__ */ jsxRuntime.jsx(
6609
- AmountInput,
6610
- {
6611
- value: amount,
6612
- onChange: setAmount,
6613
- disabled: submitting,
6614
- invalid: !!amountError,
6615
- describedBy: amountNote ? amountNoteId : void 0
6616
- }
6617
- )
7223
+ notices,
7224
+ submitting ? /* @__PURE__ */ jsxRuntime.jsx(StepList, { steps: flow.steps }) : null,
7225
+ cta
7226
+ ] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7227
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-stack", children: [
7228
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane", "data-kind": "pay", children: [
7229
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane-top", children: [
7230
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-pane-label", children: mode === "onramp" ? `You pay (${fiatCurrency})` : "You pay" }),
7231
+ pctChips
7232
+ ] }),
7233
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane-mid", children: [
7234
+ amountField,
7235
+ payToken
7236
+ ] }),
7237
+ amountNoteEl,
7238
+ /* @__PURE__ */ jsxRuntime.jsx(PaneFoot, { usd: mode === "onramp" ? null : fromUsd, balance: mode !== "onramp" && fromBal ? shortBalance(fromBal.formatted) : null })
6618
7239
  ] }),
6619
- amountNote ? /* @__PURE__ */ jsxRuntime.jsx(AmountNote, { id: amountNoteId, tone: amountError ? "error" : "neutral", children: amountNote }) : null,
6620
- mode !== "onramp" && fromBal ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-send-bal sg-mono", children: [
6621
- "Balance: ",
6622
- fromBal.formatted,
6623
- " ",
6624
- fromTicker
6625
- ] }) : null,
6626
- mode !== "onramp" ? (
6627
- // a11y note: <fieldset> carries UA styling that would
6628
- // have to be reset on every host page; role="group" gives the same semantics.
6629
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-pct-row", role: "group", "aria-label": "Amount shortcuts", children: [25, 50, 75, 100].map((p) => /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-pct", disabled: !fromBal || submitting, onClick: () => pct(p), children: p === 100 ? "MAX" : `${p}%` }, p)) })
6630
- ) : null
7240
+ /* @__PURE__ */ jsxRuntime.jsx(FlipButton, { onClick: flip, disabled: !flippable }),
7241
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane", "data-kind": "receive", children: [
7242
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-pane-label", children: product === "rwa" ? "You receive (estimated)" : "You receive" }),
7243
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane-mid", children: [
7244
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-amt-out", "aria-live": "polite", children: rampMode ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-amt-empty", children: "\u2014" }) : quoting ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-amt-empty", children: "\u2026" }) : receive && quotable && !quoteError ? /* @__PURE__ */ jsxRuntime.jsx(AmountText, { value: receive }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-amt-empty", children: "0" }) }),
7245
+ receiveToken
7246
+ ] }),
7247
+ /* @__PURE__ */ jsxRuntime.jsx(PaneFoot, { usd: hasQuote ? toUsd : null })
7248
+ ] }),
7249
+ rampMode ? null : props.inDialog === "drawer" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7250
+ complianceButton(true),
7251
+ quoteButton(true),
7252
+ rateBox(true)
7253
+ ] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7254
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-dbtn-row", children: [
7255
+ complianceButton(),
7256
+ quoteButton()
7257
+ ] }),
7258
+ rateBox()
7259
+ ] })
6631
7260
  ] }),
6632
- rampMode ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { children: mode === "onramp" ? "Buy supported stablecoins with card or bank transfer \u2014 coming soon. Today the widget settles crypto-to-crypto." : "Cash out supported stablecoins to your bank \u2014 coming soon. Today the widget settles crypto-to-crypto." }) : null,
6633
- !rampMode && quoteError && !gatewayAmountError && !wide ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: quoteError }) : null,
6634
- !rampMode && !wide && quotable && !quoteError ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-panel", style: { marginTop: 12 }, children: [
6635
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-label", children: "You receive (estimated)" }),
6636
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-anchor sg-mono", children: quoting ? "\u2026" : receive ? `${receive} ${toTicker}` : "\u2014" }),
6637
- meta && !quoting ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv-sub", children: [
6638
- "via ",
6639
- meta.bridge,
6640
- " \xB7 fee ",
6641
- meta.feeBps,
6642
- " bps",
6643
- meta.duration ? ` \xB7 ~${meta.duration}s` : ""
6644
- ] }) : null
6645
- ] }) : null,
6646
- connected && flow.selected && flow.status !== "loading" ? /* @__PURE__ */ jsxRuntime.jsx(CompliancePanel, { compliance: flow.selected.quote.compliance, direct: flow.selected.state === "DIRECT" }) : null,
7261
+ notices,
6647
7262
  submitting ? /* @__PURE__ */ jsxRuntime.jsx(StepList, { steps: flow.steps }) : null,
6648
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cta-wrap", children: [
6649
- !connected && !rampMode ? /* @__PURE__ */ jsxRuntime.jsx(Button, { onClick: wallet.connect, busy: wallet.connecting, children: "Connect wallet" }) : /* @__PURE__ */ jsxRuntime.jsx(Button, { onClick: rampMode ? void 0 : flow.submit, busy: submitting, disabled: rampMode || !quotable || !cryptoReady || connected && (!flow.selected || flow.insufficient || !!flow.nativeShortfall || flow.status === "loading"), children: ctaLabel }),
6650
- wallet.error ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: wallet.error }) : null
6651
- ] })
7263
+ cta
6652
7264
  ] });
6653
7265
  }
6654
- const card = /* @__PURE__ */ jsxRuntime.jsx(WidgetShell, { title, theme: config.theme, heightPx: props.heightPx, walletSlot, children: body });
7266
+ const card = /* @__PURE__ */ jsxRuntime.jsx(WidgetShell, { title, theme: config.theme, heightPx: props.heightPx, walletSlot, onClose: props.onClose, wide, children: body });
6655
7267
  if (!wide) return card;
6656
7268
  const resolved = resolveTheme(config.theme);
6657
7269
  const vars = themeToVars(resolved);
6658
7270
  let side;
6659
- if (rampMode) {
7271
+ if (sheetBody) {
7272
+ side = sheetBody;
7273
+ } else if (rampMode) {
6660
7274
  side = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-noroutes", children: [
6661
7275
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-noroutes-icon", children: /* @__PURE__ */ jsxRuntime.jsx(RouteGlyph, {}) }),
6662
7276
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-noroutes-title", children: soonLabel }),
@@ -6683,45 +7297,22 @@ function StableGenieExchange(props) {
6683
7297
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-noroutes-title", children: "No routes available" }),
6684
7298
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-noroutes-sub", children: "Reasons for that could be: low liquidity, amount selected is too low, gas costs are too high or there are no routes for the selected combination." })
6685
7299
  ] });
6686
- } else if (receive && quotable) {
6687
- side = /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
6688
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv-amt sg-mono", children: [
6689
- receive,
6690
- " ",
6691
- toTicker
6692
- ] }),
6693
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv-sub", children: [
6694
- "on ",
6695
- CHAIN_LABELS[to?.chainId ?? 0] || `Chain ${to?.chainId}`
6696
- ] }),
6697
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-meta", children: [
6698
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-meta-row", children: [
6699
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-meta-label", children: "You send" }),
6700
- /* @__PURE__ */ jsxRuntime.jsxs("b", { className: "sg-mono", children: [
6701
- normalizedAmount,
6702
- " ",
6703
- fromTicker
6704
- ] })
6705
- ] }),
6706
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-meta-row", children: [
6707
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-meta-label", children: "Route" }),
6708
- /* @__PURE__ */ jsxRuntime.jsx("b", { children: meta?.bridge || "ZeroDelta" })
6709
- ] }),
6710
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-meta-row", children: [
6711
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-meta-label", children: "Fee" }),
6712
- /* @__PURE__ */ jsxRuntime.jsxs("b", { children: [
6713
- meta?.feeBps ?? 0,
6714
- " bps"
6715
- ] })
7300
+ } else if (hasQuote && receive) {
7301
+ side = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-side-body", children: [
7302
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv", children: [
7303
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv-line", children: [
7304
+ /* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: to?.symbol ?? "", logoUrl: toToken?.logoUrl, chainId: to?.chainId, size: "xs" }),
7305
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-recv-amt", children: /* @__PURE__ */ jsxRuntime.jsx(AmountText, { value: receive, suffix: toTicker }) })
6716
7306
  ] }),
6717
- meta?.duration ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-meta-row", children: [
6718
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-meta-label", children: "Est. time" }),
6719
- /* @__PURE__ */ jsxRuntime.jsxs("b", { children: [
6720
- "~",
6721
- meta.duration,
6722
- "s"
6723
- ] })
6724
- ] }) : null
7307
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv-sub", children: [
7308
+ "On ",
7309
+ CHAIN_LABELS[to?.chainId ?? 0] || `Chain ${to?.chainId}`
7310
+ ] })
7311
+ ] }),
7312
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-stack", children: [
7313
+ rateBox(true),
7314
+ complianceButton(true),
7315
+ quoteButton(true)
6725
7316
  ] })
6726
7317
  ] });
6727
7318
  } else {
@@ -6733,8 +7324,8 @@ function StableGenieExchange(props) {
6733
7324
  }
6734
7325
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-duo-wrap", "data-sg-mode": resolved.mode, style: vars, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-duo", children: [
6735
7326
  card,
6736
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-widget", "data-sg-mode": resolved.mode, style: props.heightPx ? { height: props.heightPx } : void 0, children: [
6737
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-side-title", children: "Receive" }),
7327
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-widget", "data-sg-side": "", "data-sg-mode": resolved.mode, style: props.heightPx ? { height: props.heightPx } : void 0, children: [
7328
+ sheetBody ? null : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-side-title", children: product === "rwa" ? "You receive (estimated)" : "You receive" }),
6738
7329
  side
6739
7330
  ] })
6740
7331
  ] }) });