@glacislabs/stablegenie-zerodelta 4.4.0 → 4.6.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.
@@ -1,5 +1,5 @@
1
- import { CHAIN_DISPLAY_NAMES, EXECUTABLE_STABLE_ASSETS, STABLE_ASSETS, SUPPORTED_ASSETS, complianceView, complianceChecks, DIRECT_CHECK_IDS, complianceTagOf, symbolKey, normalizeDecimalText, findToken, laneLimitFor, laneLimitSymbol, tokenTicker, exceedsLaneLimit, assetDecimals, parseUnitsDecimal, counterpartTokens, assetClassOf, brokenLaneFor, brokenLaneReason, destinationAvailability, laneLimitHint, tickerOn, laneLimitError, amountFieldError, SUPPORTED_CHAIN_IDS, formatUnits, unattributedComplianceReasons, distinctScreenedWallets, humanizeComplianceReason, DIRECT_SCOPE_NOTE, categoryLabel, SCREENING_BUCKETS, createEngine, routeNativeValue, checkNativeFee, nativeFeeShortLabel, nativeSymbol, nativeFeeShortMessage, allowanceCovers, validatePlannedTransaction, foldTicker, BUNDLED_RPC } from './chunk-53K3BXT5.js';
2
- import { createContext, useState, useRef, useEffect, useMemo, useCallback, useId, createElement, useContext } from 'react';
1
+ import { CHAIN_DISPLAY_NAMES, EXECUTABLE_STABLE_ASSETS, STABLE_ASSETS, SUPPORTED_ASSETS, complianceView, complianceTagOf, symbolKey, normalizeDecimalText, findToken, laneLimitFor, laneLimitSymbol, tokenTicker, exceedsLaneLimit, assetDecimals, parseUnitsDecimal, counterpartTokens, assetClassOf, brokenLaneFor, brokenLaneReason, destinationAvailability, laneLimitHint, tickerOn, laneLimitError, routeNativeValue, formatNative, nativeSymbol, amountFieldError, SUPPORTED_CHAIN_IDS, formatUnits, complianceChecks, DIRECT_CHECK_IDS, createEngine, checkNativeFee, nativeFeeShortLabel, nativeFeeShortMessage, allowanceCovers, validatePlannedTransaction, foldTicker, unattributedComplianceReasons, distinctScreenedWallets, humanizeComplianceReason, DIRECT_SCOPE_NOTE, categoryLabel, SCREENING_BUCKETS, BUNDLED_RPC } from './chunk-CEBEMZHZ.js';
2
+ import { createContext, useState, useRef, useMemo, useEffect, useCallback, useId, createElement, useContext } from 'react';
3
3
  import { createRoot } from 'react-dom/client';
4
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
5
5
 
@@ -284,6 +284,13 @@ function appendTxHistory(account, entry, storage2 = defaultStorage()) {
284
284
  }
285
285
 
286
286
  // src/react/hooks/useFlow.ts
287
+ function reportQuietly(engine, report, stage) {
288
+ try {
289
+ void engine.reportSubmission?.({ ...report, stage })?.catch?.(() => {
290
+ });
291
+ } catch {
292
+ }
293
+ }
287
294
  function useFlow(args) {
288
295
  const { engine, wallet, kind, enabled, paramsKey, loadPlan, recipientFor, onQuote, onSuccess, onError } = args;
289
296
  const [status, setStatus] = useState("idle");
@@ -438,11 +445,17 @@ function useFlow(args) {
438
445
  settleTx = tx;
439
446
  }
440
447
  }
448
+ if (settleHash) {
449
+ reportQuietly(engine, { txHash: settleHash, chainId: Number(sourceChainId), wallet: account }, "submitted");
450
+ }
441
451
  patch("verify", "active");
442
452
  const v = settleHash ? await engine.verifySubmittedTx({ chainId: Number(sourceChainId), hash: settleHash, from: account, to: settleTx.to, data: settleTx.data, value: settleTx.value, minNonce: minNonce ?? void 0 }) : { status: "unconfirmed" };
443
453
  setVerdict(v);
444
454
  setTxHash(settleHash || null);
445
455
  patch("verify", v.status === "confirmed" ? "done" : v.status === "mismatch" || v.status === "reverted" ? "error" : "active");
456
+ if (settleHash && v.status === "confirmed") {
457
+ reportQuietly(engine, { txHash: settleHash, chainId: Number(sourceChainId), wallet: account }, "confirmed");
458
+ }
446
459
  const entry = engine.recordTransaction({
447
460
  kind,
448
461
  hash: settleHash,
@@ -566,17 +579,28 @@ function useHoldings(engine, account, routes, initialBalances) {
566
579
 
567
580
  // src/react/styles.ts
568
581
  var WIDGET_CSS = `
569
- .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)}
582
+ /* The card as the ZeroDelta widget design draws it (Figma "Widget Playground", 2026-09-30): no
583
+ border and no shadow, tone steps of the one text colour, and a "raised" fill for the controls that
584
+ sit on a tinted pane (the token button, the percent chips, the swap button). The tone steps are
585
+ derived here from --sg-text so a host theme only has to name the text colour once. */
586
+ .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)}
587
+ .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))}
588
+ .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}
570
589
  .sg-widget *{box-sizing:border-box}
571
- :root[data-theme="dark"] .sg-widget,.sg-widget[data-sg-mode="dark"]{box-shadow:0 8px 24px rgba(0,0,0,.4)}
572
590
 
573
- .sg-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
574
- .sg-title{font-size:15px;font-weight:600;letter-spacing:-0.01em}
591
+ .sg-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:16px;min-height:28px}
592
+ .sg-head-end{display:flex;align-items:center;gap:8px}
593
+ /* In a modal or drawer the title centres on the wallet chip and the close button; inline it sits at the top. */
594
+ .sg-dialog .sg-head{align-items:center}
595
+ .sg-title{font-size:18px;font-weight:500;line-height:22px;color:var(--sg-t90)}
596
+ .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}
597
+ .sg-close:hover{color:var(--sg-text)}
598
+ .sg-close:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
575
599
  .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}
576
600
  .sg-brand-mark{flex:0 0 auto;display:block}
577
601
 
578
602
  .sg-label{display:block;font-size:12px;color:var(--sg-text-muted);margin-bottom:6px}
579
- .sg-panel{background:var(--sg-surface);border:1px solid var(--sg-border);border-radius:var(--sg-radius-control);padding:16px}
603
+ .sg-panel{background:var(--sg-surface);border-radius:var(--sg-radius-control);padding:16px}
580
604
  .sg-panel + .sg-panel{margin-top:12px}
581
605
  .sg-row{display:flex;gap:10px;align-items:center}
582
606
  .sg-row>*{min-width:0}
@@ -592,8 +616,9 @@ var WIDGET_CSS = `
592
616
  /* inputs */
593
617
  .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}
594
618
  .sg-input:focus,.sg-select:focus{border-color:var(--sg-accent)}
595
- .sg-amount{font-size:28px;font-weight:700;border:none;background:transparent;padding:0}
619
+ .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}
596
620
  .sg-amount:focus{border:none}
621
+ .sg-amount::placeholder{color:var(--sg-t35)}
597
622
  .sg-field{margin-bottom:12px}
598
623
  .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}
599
624
  .sg-reverse:hover{color:var(--sg-accent);border-color:var(--sg-accent)}
@@ -645,13 +670,13 @@ var WIDGET_CSS = `
645
670
  .sg-badge[data-tone="warn"]{background:color-mix(in srgb,var(--sg-danger) 14%,transparent);color:var(--sg-danger)}
646
671
 
647
672
  /* CTA */
648
- .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}
673
+ .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}
649
674
  .sg-btn:hover:not(:disabled){filter:brightness(1.06)}
650
675
  .sg-btn:active:not(:disabled){transform:translateY(1px)}
651
676
  .sg-btn:disabled{opacity:.5;cursor:not-allowed}
652
677
  .sg-btn-ghost{background:transparent;color:var(--sg-text);border:1px solid var(--sg-border)}
653
678
  .sg-btn-ghost:hover:not(:disabled){filter:none;border-color:var(--sg-accent);color:var(--sg-accent)}
654
- .sg-cta-wrap{margin-top:14px}
679
+ .sg-cta-wrap{margin-top:16px}
655
680
  .sg-cta-wrap .sg-btn+.sg-btn{margin-top:8px}
656
681
 
657
682
  /* status / steps */
@@ -682,35 +707,33 @@ var WIDGET_CSS = `
682
707
  @keyframes sg-spin{to{transform:rotate(360deg)}}
683
708
  @keyframes sg-shimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}
684
709
 
685
- .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}
686
- /* display:inline-block is load-bearing, not tidiness. A host running a CSS reset \u2014 Tailwind
687
- preflight, which most integrators use and which this repo's own playground applies \u2014 sets
688
- svg{display:block}, and the padlock then takes a line of its own above the sentence. Every other
689
- glyph in the widget sits in a flex or absolute box where that is harmless; this is the one that
690
- lives in normal text flow. (WIDGET_CSS is a template literal: no backticks in these comments.) */
691
- .sg-foot svg{display:inline-block;vertical-align:-1px;margin-right:5px}
710
+ /* "Powered by ZeroDelta" with the brand mark. A flex row, so a host reset that sets
711
+ svg{display:block} (Tailwind preflight) changes nothing. */
712
+ .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}
713
+ .sg-foot-mark{flex:0 0 auto;display:block}
692
714
 
693
715
  /* fixed-height variant \u2014 head/foot pinned, body scrolls */
694
716
  .sg-widget[data-sg-fixed="true"]{display:flex;flex-direction:column}
695
717
  .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}
696
718
 
697
719
  /* head wallet pill (Connect wallet / connected address) */
698
- .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}
720
+ .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}
699
721
  .sg-wallet:hover{border-color:var(--sg-accent);color:var(--sg-accent)}
700
- .sg-wallet[data-connected="true"]{cursor:default;color:var(--sg-text-muted)}
701
- .sg-wallet[data-connected="true"]:hover{border-color:var(--sg-border);color:var(--sg-text-muted)}
702
- .sg-wallet-dot{width:7px;height:7px;border-radius:999px;background:var(--sg-success)}
722
+ .sg-wallet[data-connected="true"]{cursor:default;color:var(--sg-t72)}
723
+ .sg-wallet[data-connected="true"]:hover{border-color:var(--sg-border);color:var(--sg-t72)}
724
+ .sg-wallet-dot{width:6px;height:6px;border-radius:999px;background:var(--sg-success)}
703
725
 
704
726
  /* From/To tiles with a centered arrow (exchange layout) */
705
- .sg-ft{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:10px}
706
- .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}
707
- .sg-tile:hover:not(:disabled){border-color:color-mix(in srgb,var(--sg-accent) 45%,var(--sg-border))}
727
+ .sg-ft{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:8px}
728
+ .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}
729
+ .sg-tile:hover:not(:disabled){background:color-mix(in srgb,var(--sg-accent) 8%,var(--sg-bg))}
708
730
  .sg-tile:disabled{cursor:default}
709
- .sg-tile-label{font-size:12px;color:var(--sg-text-muted)}
710
- .sg-tile-main{display:flex;align-items:center;gap:10px;min-width:0}
711
- .sg-tile-text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
712
- .sg-tile-sym{font-size:16px;font-weight:700;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
713
- .sg-tile-chain{font-size:11px;color:var(--sg-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
731
+ .sg-tile-label{font-size:13px;line-height:18px;color:var(--sg-t60)}
732
+ .sg-tile-main{display:flex;align-items:flex-start;gap:14px;min-width:0;max-width:100%}
733
+ /* A flex COLUMN: as inline spans the ticker and the chain ran together on one line. */
734
+ .sg-tile-text{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.2}
735
+ .sg-tile-sym{font-size:16px;font-weight:500;line-height:19px;color:var(--sg-t90);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
736
+ .sg-tile-chain{font-size:12px;line-height:14px;color:var(--sg-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
714
737
  .sg-tile-empty{color:var(--sg-text-muted);font-size:15px;font-weight:600}
715
738
  .sg-funding-glyphs{display:flex;align-items:center;flex:0 0 auto;padding-right:2px}
716
739
  .sg-funding-glyphs .sg-tok{box-shadow:0 0 0 2px var(--sg-surface);border-radius:999px}
@@ -726,6 +749,17 @@ var WIDGET_CSS = `
726
749
  img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
727
750
  .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}
728
751
  .sg-tok[data-size="sm"] .sg-tok-fb{font-size:9px}
752
+ /* The design's three marks: 32px on a From/To tile, 24px in a token button, 18px on the rate line. */
753
+ .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}
754
+ .sg-tok[data-size="tile"] .sg-tok-fb{font-size:10px}
755
+ .sg-tok[data-size="tile"] .sg-tok-badge{right:-4px;bottom:-5.5px;border-color:var(--sg-surface)}
756
+ /* the side card's receive mark carries the smaller badge, ringed in the card colour */
757
+ .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)}
758
+ .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}
759
+ .sg-tok[data-size="xs"] .sg-tok-fb{font-size:8px}
760
+ .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}
761
+ .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}
762
+ .sg-tok[data-size="xxs"] .sg-tok-fb{font-size:6px}
729
763
 
730
764
  /* fiat side (on/off-ramp) */
731
765
  .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}
@@ -738,10 +772,10 @@ img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
738
772
  .sg-amount-note{font-size:12px;font-weight:600;line-height:1.35;color:var(--sg-text-muted);margin-top:6px}
739
773
  .sg-amount-note[data-tone="error"]{color:var(--sg-danger)}
740
774
  .sg-amount[aria-invalid="true"]{color:var(--sg-danger)}
741
- .sg-pct-row{display:flex;gap:8px;margin-top:12px}
742
- .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}
743
- .sg-pct:hover:not(:disabled){color:var(--sg-accent);border-color:var(--sg-accent)}
744
- .sg-pct:disabled{opacity:.45;cursor:not-allowed}
775
+ .sg-pct-row{display:flex;gap:4px}
776
+ .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}
777
+ .sg-pct:hover:not(:disabled){color:var(--sg-accent)}
778
+ .sg-pct:disabled{opacity:.55;cursor:not-allowed}
745
779
 
746
780
  /* full-panel token selector (Exchange from / Exchange to) */
747
781
  .sg-sel-head{display:flex;align-items:center;margin-bottom:14px}
@@ -789,10 +823,10 @@ img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
789
823
  /* width:100% is load-bearing: an inline-size container has NO intrinsic width, so as a flex/grid
790
824
  item it would collapse to 0 and hide the whole widget. It fills the host slot; .sg-duo centers. */
791
825
  .sg-duo-wrap{container-type:inline-size;width:100%;font-family:var(--sg-font)}
792
- .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)}
793
- @container (max-width:840px){.sg-duo{grid-template-columns:minmax(0,400px)}}
794
- @media (max-width:920px){.sg-duo{grid-template-columns:minmax(0,400px)}}
795
- .sg-side-title{font-size:15px;font-weight:600;letter-spacing:-0.01em;margin-bottom:14px}
826
+ .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)}
827
+ @container (max-width:660px){.sg-duo{grid-template-columns:minmax(0,380px)}}
828
+ @media (max-width:700px){.sg-duo{grid-template-columns:minmax(0,380px)}}
829
+ .sg-side-title{font-size:18px;font-weight:500;line-height:22px;color:var(--sg-t90);margin-bottom:16px}
796
830
  .sg-noroutes{padding:34px 14px;text-align:center}
797
831
  .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}
798
832
  .sg-noroutes-title{font-size:16px;font-weight:700;margin-bottom:8px}
@@ -802,12 +836,14 @@ img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
802
836
  .sg-meta-row:last-child{border-bottom:none}
803
837
  .sg-meta-row b{font-weight:600;font-variant-numeric:tabular-nums}
804
838
  .sg-meta-label{color:var(--sg-text-muted)}
805
- .sg-recv-amt{font-size:28px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-0.01em}
806
- .sg-recv-sub{font-size:12px;color:var(--sg-text-muted);margin-top:2px}
839
+ .sg-recv{display:flex;flex-direction:column;gap:2px;min-width:0}
840
+ .sg-recv-line{display:flex;align-items:flex-end;gap:12px;min-width:0}
841
+ .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}
842
+ .sg-recv-sub{font-size:12px;line-height:14px;color:var(--sg-text-muted);padding-left:36px}
807
843
 
808
844
  /* head tools: history entry point beside the wallet pill / brand chip */
809
845
  .sg-head-tools{display:flex;align-items:center;gap:8px}
810
- .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}
846
+ .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}
811
847
  .sg-hist:hover{color:var(--sg-accent);border-color:var(--sg-accent)}
812
848
 
813
849
  /* transaction history row. NOT the picker's flex row: at 390px that layout wrapped the pair onto two
@@ -1099,6 +1135,135 @@ img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
1099
1135
 
1100
1136
  /* express (PaymentIsland) trims the card padding, so the sheet follows */
1101
1137
  @media (prefers-reduced-motion:reduce){.sg-cp-sheet{animation:none}}
1138
+
1139
+ /* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
1140
+ The card body of the ZeroDelta widget design (Figma "Widget Playground", 2026-09-30).
1141
+ One column with a 4px rhythm: the tinted "You pay" / "You receive" panes with the swap button
1142
+ riding the seam between them, the detail buttons, and the rate box. Every radius follows the
1143
+ theme so the playground's corner slider (and a host theme) moves all of them together.
1144
+ \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 */
1145
+ .sg-stack{position:relative;display:flex;flex-direction:column;gap:4px;min-width:0}
1146
+ .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)}
1147
+ .sg-pane[data-kind="pay"] .sg-pane-foot{margin-top:2px}
1148
+ .sg-pane[data-kind="send"]{gap:12px;padding:16px 20px}
1149
+ .sg-pane[data-kind="send"] .sg-pct{padding:7px 10px}
1150
+ .sg-widget[data-sg-mode="dark"] .sg-pane[data-kind="send"] .sg-pct{background:transparent;border:1px solid var(--sg-border)}
1151
+ .sg-pane[data-kind="send"] .sg-pane-foot{line-height:18px}
1152
+ .sg-pane[data-kind="send"] .sg-pane-foot>span:last-child{font-size:13px}
1153
+ .sg-pane[data-kind="send"] .sg-amount{line-height:20px}
1154
+ .sg-pane-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:21px}
1155
+ .sg-pane-label{font-size:13px;line-height:18px;color:var(--sg-t60);white-space:nowrap}
1156
+ .sg-pane-mid{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
1157
+ /* The amount takes what the token button leaves, never the other way round: an input's intrinsic
1158
+ width (about twenty characters) otherwise squeezed the button down to "U\u2026". */
1159
+ .sg-pane-mid>.sg-amount,.sg-pane-mid>.sg-amt-out{flex:1 1 0;width:0;min-width:0}
1160
+ .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}
1161
+ /* "You receive" runs its USD line straight under the amount row: no gap, as the design draws it. */
1162
+ .sg-pane[data-kind="receive"]>.sg-pane-foot{margin-top:-10px}
1163
+ .sg-pane-foot b{font-weight:400;color:var(--sg-t90)}
1164
+ .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))}
1165
+
1166
+ /* amounts: the display face, the decimals greyed */
1167
+ .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}
1168
+ .sg-amt-dec,.sg-amt-empty{color:var(--sg-t35)}
1169
+
1170
+ /* the token button inside a pane */
1171
+ .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}
1172
+ .sg-tokbtn .sg-tok{margin-right:6px;align-self:flex-start}
1173
+ .sg-tokbtn:disabled{cursor:default}
1174
+ .sg-tokbtn:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
1175
+ .sg-tokbtn-text{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.2}
1176
+ .sg-tokbtn-text>.sg-tokbtn-sym{line-height:17px}
1177
+ .sg-tokbtn-text>.sg-tokbtn-chain{line-height:14px}
1178
+ .sg-tokbtn-sym{font-size:14px;font-weight:500;color:var(--sg-t90);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
1179
+ .sg-tokbtn-chain{font-size:12px;color:var(--sg-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
1180
+ .sg-tokbtn-chev{display:flex;flex:0 0 auto;color:var(--sg-t80);transition:color 120ms ease,transform 120ms ease}
1181
+ .sg-tokbtn:hover:not(:disabled) .sg-tokbtn-chev{color:var(--sg-accent);transform:translateX(1px)}
1182
+ .sg-tokbtn--fiat{gap:8px;padding-right:12px;cursor:default}
1183
+ .sg-tokbtn-select{border:0;background:transparent;color:var(--sg-t90);font:inherit;font-size:14px;font-weight:500;cursor:pointer;padding:0 2px}
1184
+ .sg-fiat[data-size="xs"]{width:24px;height:24px;font-size:12px}
1185
+
1186
+ /* the swap button on the seam between the panes (and the small one between the From/To tiles) */
1187
+ .sg-flip-slot{position:relative;height:0;margin:-2px 0;z-index:1}
1188
+ .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}
1189
+ .sg-flip:hover:not(:disabled){color:var(--sg-accent)}
1190
+ .sg-flip:disabled{cursor:default}
1191
+ .sg-flip:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
1192
+ .sg-ft>.sg-flip-slot{position:absolute;left:50%;top:50%;width:0;margin:0}
1193
+ .sg-flip[data-small]{width:24px;height:24px}
1194
+ .sg-flip-rot{display:flex;transform:rotate(-90deg)}
1195
+
1196
+ /* detail buttons \u2014 Compliance, Quote */
1197
+ .sg-dbtn-row{display:flex;gap:4px;min-width:0}
1198
+ .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}
1199
+ .sg-dbtn[data-size="lg"]{flex:0 0 auto;width:100%}
1200
+ .sg-widget[data-sg-side] .sg-dbtn,.sg-overlay[data-sg-overlay="drawer"] .sg-dbtn{height:44px}
1201
+ .sg-dbtn:hover:not(:disabled){border-color:color-mix(in srgb,var(--sg-accent) 40%,var(--sg-border))}
1202
+ .sg-dbtn:disabled{cursor:default;opacity:.55}
1203
+ .sg-dbtn:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
1204
+ .sg-dbtn-main{display:flex;align-items:center;gap:6px;min-width:0}
1205
+ .sg-dbtn-icon{display:flex;flex:0 0 auto;color:var(--sg-info)}
1206
+ .sg-dbtn-icon[data-tone="ok"]{color:var(--sg-success)}
1207
+ .sg-dbtn-icon[data-tone="warn"]{color:var(--sg-danger)}
1208
+ .sg-dbtn-icon[data-tone="muted"]{color:var(--sg-text-muted)}
1209
+ .sg-dbtn-label{font-size:13px;font-weight:500;line-height:16px;color:var(--sg-t80);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
1210
+ .sg-dbtn-chev{display:flex;flex:0 0 auto;color:var(--sg-t80)}
1211
+ .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}
1212
+ .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)}
1213
+ .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)}
1214
+ .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)}
1215
+ .sg-dpill[data-tone="warn"]{background:color-mix(in srgb,var(--sg-danger) 8%,transparent);color:var(--sg-danger)}
1216
+ .sg-dpill[data-tone="muted"]{background:color-mix(in srgb,var(--sg-text) 6%,transparent);color:var(--sg-text-muted)}
1217
+
1218
+ /* the rate box */
1219
+ .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)}
1220
+ .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}
1221
+ .sg-rate-head:disabled{cursor:default}
1222
+ .sg-rate-head:focus-visible{outline:2px solid var(--sg-accent);outline-offset:4px;border-radius:6px}
1223
+ .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}
1224
+ .sg-rate-chev{display:flex;flex:0 0 auto;color:var(--sg-t80)}
1225
+ .sg-rate-rows{margin:0;display:flex;flex-direction:column;gap:4px}
1226
+ .sg-rate-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;font-size:13px;line-height:1.4}
1227
+ .sg-rate-row dt{color:var(--sg-t60)}
1228
+ .sg-rate-row dd{margin:0;font-weight:500;color:var(--sg-t80);text-align:right}
1229
+ .sg-qs-facts .sg-cp-fact{grid-template-columns:104px minmax(0,1fr)}
1230
+
1231
+ /* the wide layout: the main card and the "You receive" side card */
1232
+ .sg-widget[data-sg-wide]{max-width:360px;padding:20px 12px}
1233
+ .sg-widget[data-sg-side]{max-width:280px;padding:20px 12px}
1234
+ @container (max-width:660px){.sg-widget[data-sg-wide],.sg-widget[data-sg-side]{max-width:380px}}
1235
+ .sg-side-body{display:flex;flex-direction:column;gap:16px}
1236
+
1237
+ /* a detail sheet opened in place of the card body fills it edge to edge */
1238
+ .sg-body>.sg-cp-sheet,.sg-widget[data-sg-side]>.sg-cp-sheet{padding:0;border:0;background:transparent}
1239
+
1240
+ /* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
1241
+ variant="pill": one button that opens the card in a modal or a right-hand drawer. The overlay is
1242
+ position:fixed \u2014 it fills the viewport, or the nearest ancestor that establishes a containing
1243
+ block for fixed descendants (a transform), which is how a host confines it to one region.
1244
+ \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 */
1245
+ .sg-pill-root{width:100%;font-family:var(--sg-font);color:var(--sg-text)}
1246
+ .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}
1247
+ .sg-pillbtn:hover{filter:brightness(1.06)}
1248
+ .sg-pillbtn:active{transform:translateY(1px)}
1249
+ .sg-pillbtn:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
1250
+ .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}
1251
+ .sg-pillbtn-mark{flex:0 0 auto;display:block}
1252
+ .sg-pillbtn-amt{flex:0 0 auto;font-weight:700;white-space:nowrap}
1253
+ .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}
1254
+ .sg-overlay[data-sg-overlay="modal"]{align-items:flex-start;justify-content:center;padding:48px 16px;overflow-y:auto}
1255
+ .sg-overlay[data-sg-overlay="drawer"]{align-items:stretch;justify-content:flex-end}
1256
+ .sg-overlay-scrim{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:default}
1257
+ .sg-dialog{position:relative;display:flex;width:100%;max-width:380px}
1258
+ .sg-dialog>.sg-widget{flex:1 1 auto}
1259
+ .sg-overlay[data-sg-overlay="modal"] .sg-dialog{animation:sg-scale-in var(--sg-motion-base) var(--sg-ease-out-soft) both}
1260
+ .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}
1261
+ .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}
1262
+ .sg-overlay[data-sg-overlay="drawer"] .sg-body{flex:1 1 auto;display:flex;flex-direction:column}
1263
+ .sg-overlay[data-sg-overlay="drawer"] .sg-cta-wrap{margin-top:auto;padding-top:16px}
1264
+ .sg-overlay[data-sg-overlay="drawer"] .sg-pane--note{min-height:145px}
1265
+ @keyframes sg-drawer-in{from{transform:translateX(100%)}to{transform:none}}
1266
+ @media (prefers-reduced-motion:reduce){.sg-overlay,.sg-dialog{animation:none!important}.sg-pillbtn{transition:none}}
1102
1267
  `;
1103
1268
  var injected = false;
1104
1269
  function injectStyles() {
@@ -1124,43 +1289,49 @@ var MOTION = {
1124
1289
  easeInOut: "cubic-bezier(0.4,0,0.2,1)",
1125
1290
  easeSpring: "cubic-bezier(0.34,1.56,0.64,1)"
1126
1291
  };
1292
+ var FONT = "'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif";
1127
1293
  var lightTheme = {
1128
1294
  mode: "light",
1129
1295
  accent: "#4358e1",
1130
1296
  accentText: "#ffffff",
1131
1297
  bg: "#ffffff",
1132
- surface: "#f7f8fc",
1133
- border: "#e6e8f0",
1134
- text: "#0e1116",
1135
- textMuted: "#6b7280",
1298
+ surface: "#f7f8fe",
1299
+ border: "#e8ebfb",
1300
+ text: "#2c2d34",
1301
+ textMuted: "#959699",
1136
1302
  danger: "#df1b41",
1137
- success: "#12805c",
1138
- radius: "20px",
1139
- radiusControl: "10px",
1140
- radiusCta: "999px",
1141
- font: "'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif",
1303
+ success: "#2abd7d",
1304
+ radius: "24px",
1305
+ radiusControl: "24px",
1306
+ radiusCta: "24px",
1307
+ font: FONT,
1308
+ fontDisplay: `Benzin, ${FONT}`,
1142
1309
  ...MOTION
1143
1310
  };
1144
1311
  var darkTheme = {
1145
1312
  mode: "dark",
1146
- accent: "#7b8cff",
1147
- accentText: "#0b0d12",
1148
- bg: "#0e1116",
1149
- surface: "#161a22",
1150
- border: "#252b36",
1151
- text: "#eef1f6",
1152
- textMuted: "#9aa4b2",
1313
+ accent: "#4358e1",
1314
+ accentText: "#ffffff",
1315
+ bg: "#0e1115",
1316
+ surface: "#1b1d22",
1317
+ border: "#343541",
1318
+ text: "#ffffff",
1319
+ textMuted: "#87888a",
1320
+ info: "#8c9bff",
1153
1321
  danger: "#ff5470",
1154
- success: "#3ddc97",
1155
- radius: "20px",
1156
- radiusControl: "10px",
1157
- radiusCta: "999px",
1158
- font: "'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif",
1322
+ success: "#2abd7d",
1323
+ radius: "24px",
1324
+ radiusControl: "24px",
1325
+ radiusCta: "24px",
1326
+ font: FONT,
1327
+ fontDisplay: `Benzin, ${FONT}`,
1159
1328
  ...MOTION
1160
1329
  };
1161
1330
  function resolveTheme(theme) {
1162
1331
  const base = theme?.mode === "dark" ? darkTheme : lightTheme;
1163
- return { ...base, ...theme };
1332
+ const fontDisplay = theme?.fontDisplay || (theme?.font ? theme.font : base.fontDisplay);
1333
+ const info = theme?.info || (theme?.accent ? theme.accent : base.info);
1334
+ return { ...base, ...theme, fontDisplay, info };
1164
1335
  }
1165
1336
  function themeToVars(theme) {
1166
1337
  return {
@@ -1171,12 +1342,14 @@ function themeToVars(theme) {
1171
1342
  "--sg-border": theme.border,
1172
1343
  "--sg-text": theme.text,
1173
1344
  "--sg-text-muted": theme.textMuted,
1345
+ "--sg-info": theme.info || theme.accent,
1174
1346
  "--sg-danger": theme.danger,
1175
1347
  "--sg-success": theme.success,
1176
1348
  "--sg-radius": theme.radius,
1177
1349
  "--sg-radius-control": theme.radiusControl,
1178
1350
  "--sg-radius-cta": theme.radiusCta,
1179
1351
  "--sg-font": theme.font,
1352
+ "--sg-font-display": theme.fontDisplay || theme.font,
1180
1353
  "--sg-motion-fast": theme.motionFast,
1181
1354
  "--sg-motion-base": theme.motionBase,
1182
1355
  "--sg-motion-slow": theme.motionSlow,
@@ -1225,37 +1398,6 @@ function BrandMark({ size = 18, mono = false, className, style, title }) {
1225
1398
  }
1226
1399
  );
1227
1400
  }
1228
- function LockGlyph() {
1229
- return /* @__PURE__ */ 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: [
1230
- /* @__PURE__ */ jsx("rect", { x: "4", y: "11", width: "16", height: "10", rx: "2" }),
1231
- /* @__PURE__ */ jsx("path", { d: "M8 11V8a4 4 0 0 1 8 0v3" })
1232
- ] });
1233
- }
1234
- function WidgetShell(props) {
1235
- injectStyles();
1236
- const resolved = resolveTheme(props.theme);
1237
- const vars = themeToVars(resolved);
1238
- const fixed = Number.isFinite(props.heightPx) && props.heightPx > 0;
1239
- const style = fixed ? { ...vars, height: props.heightPx } : vars;
1240
- return /* @__PURE__ */ 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: [
1241
- /* @__PURE__ */ jsxs("div", { className: "sg-head", children: [
1242
- props.brandSlot ?? /* @__PURE__ */ jsx("div", { className: "sg-title", children: props.title }),
1243
- props.walletSlot ?? /* @__PURE__ */ jsxs("div", { className: "sg-brand", children: [
1244
- /* @__PURE__ */ jsx(BrandMark, { size: 14, className: "sg-brand-mark" }),
1245
- "ZeroDelta"
1246
- ] })
1247
- ] }),
1248
- /* @__PURE__ */ jsx("div", { className: "sg-body", children: props.children }),
1249
- /* @__PURE__ */ jsx("div", { className: "sg-foot", children: /* @__PURE__ */ jsxs("span", { children: [
1250
- /* @__PURE__ */ jsx(LockGlyph, {}),
1251
- " Your wallet signs every transaction \xB7 Powered by ZeroDelta"
1252
- ] }) })
1253
- ] });
1254
- }
1255
- function shortAddress(a) {
1256
- if (!a) return "";
1257
- return `${a.slice(0, 6)}\u2026${a.slice(-4)}`;
1258
- }
1259
1401
  var SOURCE_CHAIN_LABELS = {
1260
1402
  1: "Ethereum",
1261
1403
  10: "Optimism",
@@ -1470,103 +1612,531 @@ function RouteList(props) {
1470
1612
  ] }) : null
1471
1613
  ] });
1472
1614
  }
1473
- function ShieldTick({ size = 16 }) {
1474
- return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
1475
- /* @__PURE__ */ 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" }),
1476
- /* @__PURE__ */ 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" }),
1477
- /* @__PURE__ */ jsx("path", { d: "m8.6 11.9 2.3 2.3 4.5-4.5", stroke: "currentColor", strokeWidth: "1.9", strokeLinecap: "round", strokeLinejoin: "round" })
1478
- ] });
1479
- }
1480
- function TickCircle({ size = 16 }) {
1481
- return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
1482
- /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
1483
- /* @__PURE__ */ 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" })
1484
- ] });
1485
- }
1486
- function CloseCircle({ size = 16 }) {
1487
- return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
1488
- /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
1489
- /* @__PURE__ */ 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" })
1490
- ] });
1615
+
1616
+ // src/react/ui/chain-logos.ts
1617
+ var BUNDLED_CHAIN_LOGO = {
1618
+ 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/iNofCot/OLn+9shuuKn++ntvPFzvh1j+zu8f2tvPTJ0/jU3PmIne+ktfNog+rf5fvZ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oy2HRos3UUfkox1qCIcIM6PEvmEWSPQi6HRe87+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=="
1627
+ };
1628
+
1629
+ // src/react/ui/logos.ts
1630
+ var BUNDLED_TOKEN_LOGO = {
1631
+ USDC: "https://coin-images.coingecko.com/coins/images/6319/large/USDC.png",
1632
+ USDT: "https://coin-images.coingecko.com/coins/images/325/large/Tether.png",
1633
+ USDE: "https://coin-images.coingecko.com/coins/images/33613/large/usde.png",
1634
+ XAUT: "https://coin-images.coingecko.com/coins/images/10481/large/Tether_Gold.png",
1635
+ // 2026-09-08, with the dapp-parity asset expansion — the same four URLs the dapp draws
1636
+ // (zd-dapp/src/lib/tokenLogos.ts), so the two products show one picture per coin.
1637
+ USDTB: "https://coin-images.coingecko.com/coins/images/52804/large/76357aa8-4ef7-446c-bad3-a3f944eeec7a.jpeg",
1638
+ AUSD: "https://coin-images.coingecko.com/coins/images/39284/large/AUSD_1024px.png",
1639
+ PYUSD: "https://coin-images.coingecko.com/coins/images/31212/large/PYUSD_Token_Logo_2x.png",
1640
+ USDG: "https://coin-images.coingecko.com/coins/images/51281/large/GDN_USDG_Token_200x200.png",
1641
+ // The wider stable list, added 2026-09-08 with the RWA exchange.
1642
+ DAI: "https://coin-images.coingecko.com/coins/images/9956/large/Badge_Dai.png",
1643
+ USDS: "https://coin-images.coingecko.com/coins/images/39926/large/usds.webp",
1644
+ RLUSD: "https://coin-images.coingecko.com/coins/images/39651/large/RLUSD_200x200_%281%29.png",
1645
+ USD1: "https://coin-images.coingecko.com/coins/images/54977/large/USD1_1000x1000_transparent.png",
1646
+ WM: "https://coin-images.coingecko.com/coins/images/50789/large/M.png"
1647
+ };
1648
+ function isHttpsUrl(u) {
1649
+ return typeof u === "string" && /^https:\/\//i.test(u);
1491
1650
  }
1492
- function PendingCircle({ size = 16 }) {
1493
- return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
1494
- /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "9.2", stroke: "currentColor", strokeWidth: "1.6", strokeDasharray: "3 3" }),
1495
- /* @__PURE__ */ jsx("path", { d: "M8.5 12h7", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round" })
1496
- ] });
1651
+ function isSameOriginPath(u) {
1652
+ return typeof u === "string" && u.startsWith("/") && !u.startsWith("//") && !u.startsWith("/\\");
1497
1653
  }
1498
- function Tick({ size = 12 }) {
1499
- return /* @__PURE__ */ jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx("path", { d: "m4.5 12.8 5 5L19.5 6.5", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round" }) });
1654
+ function isDisplayableImageSrc(u) {
1655
+ return isHttpsUrl(u) || isSameOriginPath(u);
1500
1656
  }
1501
- function Cross({ size = 12 }) {
1502
- return /* @__PURE__ */ jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx("path", { d: "m5.5 5.5 13 13M18.5 5.5l-13 13", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round" }) });
1657
+ function tokenLogoCandidates(symbol, logoUrl) {
1658
+ const out = [];
1659
+ if (isDisplayableImageSrc(logoUrl)) out.push(logoUrl);
1660
+ const bundled = BUNDLED_TOKEN_LOGO[symbolKey(symbol)];
1661
+ if (bundled && !out.includes(bundled)) out.push(bundled);
1662
+ return out;
1503
1663
  }
1504
- function Chevron({ size = 16 }) {
1505
- return /* @__PURE__ */ jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx("path", { d: "m9 5 7 7-7 7", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) });
1664
+ function chainLogoCandidates(chainId, logoUrl) {
1665
+ const out = [];
1666
+ if (isHttpsUrl(logoUrl)) out.push(logoUrl);
1667
+ const bundled = chainId === void 0 ? void 0 : BUNDLED_CHAIN_LOGO[Number(chainId)];
1668
+ if (bundled) out.push(bundled);
1669
+ return out;
1506
1670
  }
1507
- function Info({ size = 16 }) {
1508
- return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
1509
- /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
1510
- /* @__PURE__ */ jsx("path", { d: "M12 10.6v6", stroke: "var(--sg-bg)", strokeWidth: "2.1", strokeLinecap: "round" }),
1511
- /* @__PURE__ */ jsx("circle", { cx: "12", cy: "7.6", r: "1.25", fill: "var(--sg-bg)" })
1512
- ] });
1671
+ var CHAIN_SHORT = {
1672
+ 1: "ETH",
1673
+ 10: "OP",
1674
+ 130: "UNI",
1675
+ 146: "SON",
1676
+ 8453: "BASE",
1677
+ 9745: "PLS",
1678
+ 57073: "INK",
1679
+ 42161: "ARB",
1680
+ 98866: "PLM"
1681
+ };
1682
+ function chainBadge(chainId) {
1683
+ const pinned = CHAIN_SHORT[Number(chainId)];
1684
+ if (pinned) return pinned;
1685
+ const name = CHAIN_LABELS[Number(chainId)];
1686
+ return name ? name.replace(/[^A-Za-z]/g, "").slice(0, 3).toUpperCase() : "?";
1513
1687
  }
1514
- function Lock({ size = 16 }) {
1515
- return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
1516
- /* @__PURE__ */ jsx("rect", { x: "4.5", y: "10.5", width: "15", height: "9.5", rx: "2.2", stroke: "currentColor", strokeWidth: "1.7" }),
1517
- /* @__PURE__ */ jsx("path", { d: "M8 10.5V7.8a4 4 0 0 1 8 0v2.7", stroke: "currentColor", strokeWidth: "1.7", strokeLinecap: "round" })
1688
+ function TokenGlyph(props) {
1689
+ const [failed, setFailed] = useState([]);
1690
+ const src = tokenLogoCandidates(props.symbol, props.logoUrl).find((u) => !failed.includes(u));
1691
+ const mark = props.chainId ? chainLogoCandidates(props.chainId)[0] : void 0;
1692
+ let badge = null;
1693
+ if (props.chainId) badge = mark ? /* @__PURE__ */ jsx("img", { className: "sg-tok-badge", src: mark, alt: "" }) : /* @__PURE__ */ jsx("span", { className: "sg-tok-badge", children: chainBadge(props.chainId) });
1694
+ return /* @__PURE__ */ jsxs("span", { className: "sg-tok", "data-size": props.size && props.size !== "md" ? props.size : void 0, children: [
1695
+ src ? /* @__PURE__ */ jsx("img", { className: "sg-tok-img", src, alt: "", loading: "lazy", onError: () => setFailed((f) => [...f, src]) }) : /* @__PURE__ */ jsx("span", { className: "sg-tok-fb", children: props.symbol.slice(0, 4) }),
1696
+ badge
1518
1697
  ] });
1519
1698
  }
1520
- function ShieldOutline({ size = 16 }) {
1521
- return /* @__PURE__ */ jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ 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" }) });
1699
+ function ChevronGlyph() {
1700
+ return /* @__PURE__ */ 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__ */ jsx("path", { d: "m9 18 6-6-6-6" }) });
1522
1701
  }
1523
- function WarningFilled({ size = 16 }) {
1524
- return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
1525
- /* @__PURE__ */ jsx("path", { d: "M12 3.2 21.4 19.4H2.6L12 3.2Z", fill: "currentColor" }),
1526
- /* @__PURE__ */ jsx("path", { d: "M12 9.4v4.3", stroke: "var(--sg-bg)", strokeWidth: "1.9", strokeLinecap: "round" }),
1527
- /* @__PURE__ */ jsx("circle", { cx: "12", cy: "16.4", r: "1.05", fill: "var(--sg-bg)" })
1702
+ function TokenTile(props) {
1703
+ const shown = props.token ? tokenTicker(props.token) : props.pick?.symbol ?? "";
1704
+ const glyph = props.pick ? /* @__PURE__ */ jsxs(Fragment, { children: [
1705
+ /* @__PURE__ */ jsx(TokenGlyph, { symbol: props.pick.symbol, logoUrl: props.token?.logoUrl, chainId: props.pick.chainId, size: "tile" }),
1706
+ /* @__PURE__ */ jsxs("span", { className: "sg-tile-text", children: [
1707
+ /* @__PURE__ */ jsx("span", { className: "sg-tile-sym", children: shown }),
1708
+ /* @__PURE__ */ jsx("span", { className: "sg-tile-chain", children: CHAIN_LABELS[props.pick.chainId] || `Chain ${props.pick.chainId}` })
1709
+ ] })
1710
+ ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
1711
+ /* @__PURE__ */ jsx("span", { className: "sg-tok", children: /* @__PURE__ */ jsx("span", { className: "sg-tok-fb", children: "?" }) }),
1712
+ /* @__PURE__ */ jsx("span", { className: "sg-tile-empty", children: "Select\u2026" })
1713
+ ] });
1714
+ const ariaLabel = `${props.label}: ${props.pick ? `${shown} on ${CHAIN_LABELS[props.pick.chainId] || props.pick.chainId}` : "select token"}`;
1715
+ if (props.row) {
1716
+ return /* @__PURE__ */ jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile sg-tile--row", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
1717
+ /* @__PURE__ */ jsx("span", { className: "sg-tile-label", children: props.label }),
1718
+ /* @__PURE__ */ jsx("span", { className: "sg-tile-rowmain", children: glyph }),
1719
+ /* @__PURE__ */ jsx("span", { className: "sg-tile-chev", children: /* @__PURE__ */ jsx(ChevronGlyph, {}) })
1720
+ ] });
1721
+ }
1722
+ return /* @__PURE__ */ jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
1723
+ /* @__PURE__ */ jsx("span", { className: "sg-tile-label", children: props.label }),
1724
+ /* @__PURE__ */ jsx("span", { className: "sg-tile-main", children: glyph })
1528
1725
  ] });
1529
1726
  }
1530
- function CornerArrow({ size = 12 }) {
1531
- return /* @__PURE__ */ jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx("path", { d: "M7 17 17 7M9 7h8v8", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round" }) });
1727
+ function FundingTile(props) {
1728
+ const symbols = props.assets.map((asset) => asset.symbol);
1729
+ const summary = props.loading ? "Checking wallet assets\u2026" : symbols.length ? symbols.join(", ") : "No payable balance";
1730
+ 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";
1731
+ const ariaLabel = `${props.label}: ${props.loading ? "checking wallet assets" : symbols.length ? symbols.join(", ") : "no payable balance"}`;
1732
+ const glyphs = props.loading ? /* @__PURE__ */ jsx("span", { className: "sg-tok", children: /* @__PURE__ */ jsx("span", { className: "sg-tok-fb", children: "\u2026" }) }) : symbols.length ? /* @__PURE__ */ jsx("span", { className: "sg-funding-glyphs", "aria-hidden": "true", children: props.assets.slice(0, 3).map((asset) => /* @__PURE__ */ jsx(TokenGlyph, { symbol: asset.symbol, logoUrl: asset.logoUrl, size: "sm" }, asset.symbol)) }) : /* @__PURE__ */ jsx("span", { className: "sg-tok", children: /* @__PURE__ */ jsx("span", { className: "sg-tok-fb", children: "?" }) });
1733
+ const main = /* @__PURE__ */ jsxs(Fragment, { children: [
1734
+ glyphs,
1735
+ /* @__PURE__ */ jsxs("span", { className: "sg-funding-copy", children: [
1736
+ /* @__PURE__ */ jsx("span", { className: "sg-tile-sym", children: summary }),
1737
+ /* @__PURE__ */ jsx("span", { className: "sg-tile-chain", children: detail })
1738
+ ] })
1739
+ ] });
1740
+ if (props.row) {
1741
+ return /* @__PURE__ */ jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile sg-tile--row", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
1742
+ /* @__PURE__ */ jsx("span", { className: "sg-tile-label", children: props.label }),
1743
+ /* @__PURE__ */ jsx("span", { className: "sg-tile-rowmain", children: main }),
1744
+ /* @__PURE__ */ jsx("span", { className: "sg-tile-chev", children: /* @__PURE__ */ jsx(ChevronGlyph, {}) })
1745
+ ] });
1746
+ }
1747
+ return /* @__PURE__ */ jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
1748
+ /* @__PURE__ */ jsx("span", { className: "sg-tile-label", children: props.label }),
1749
+ /* @__PURE__ */ jsx("span", { className: "sg-tile-main", children: main })
1750
+ ] });
1532
1751
  }
1533
- var POLICY_GLYPH = {
1534
- "always-blocked": Lock,
1535
- blocked: ShieldOutline,
1536
- flagged: WarningFilled
1537
- };
1538
- var POLICY_DETAIL = {
1539
- "always-blocked": "Cannot be changed or disabled",
1540
- blocked: "Stops the payment",
1541
- flagged: "Does not automatically block"
1542
- };
1543
- function shortAddr(a) {
1544
- return a.length > 14 ? `${a.slice(0, 6)}\u2026${a.slice(-4)}` : a;
1752
+ function ChainChip(props) {
1753
+ const [failed, setFailed] = useState([]);
1754
+ const src = chainLogoCandidates(props.chain?.chainId, props.chain?.logoUrl).find((u) => !failed.includes(u));
1755
+ const name = props.name ?? props.label;
1756
+ return /* @__PURE__ */ 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__ */ jsx("img", { src, alt: "", loading: "lazy", onError: () => setFailed((f) => [...f, src]) }) : props.label });
1545
1757
  }
1546
- function TriggerGlyph({ cv }) {
1547
- if (cv.tone === "blocked" || cv.tone === "warn") return /* @__PURE__ */ jsx(CloseCircle, {});
1548
- return /* @__PURE__ */ jsx(ShieldTick, {});
1758
+ function SearchGlyph() {
1759
+ return /* @__PURE__ */ jsxs("svg", { width: "15", height: "15", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", "aria-hidden": "true", children: [
1760
+ /* @__PURE__ */ jsx("circle", { cx: "11", cy: "11", r: "7" }),
1761
+ /* @__PURE__ */ jsx("path", { d: "m20 20-3.5-3.5" })
1762
+ ] });
1549
1763
  }
1550
- function CheckRow({ check, onViewPolicy }) {
1551
- const label = check.id === "risk" ? check.ok ? "Risk screening passed" : "Risk screening failed" : check.label;
1552
- return /* @__PURE__ */ jsxs("li", { className: "sg-cp-check", "data-ok": check.ok, children: [
1553
- /* @__PURE__ */ jsxs("div", { className: "sg-cp-check-head", children: [
1554
- /* @__PURE__ */ jsxs("span", { className: "sg-cp-check-label", children: [
1555
- /* @__PURE__ */ jsx("span", { className: "sg-cp-check-mark", "data-ok": check.ok, children: check.ok ? /* @__PURE__ */ jsx(Tick, {}) : /* @__PURE__ */ jsx(Cross, {}) }),
1556
- /* @__PURE__ */ jsx("span", { children: label }),
1557
- /* @__PURE__ */ jsx("span", { className: "sg-sr-only", children: check.ok ? " \u2014 passed" : " \u2014 failed" })
1558
- ] }),
1559
- check.id === "risk" ? /* @__PURE__ */ jsxs("button", { type: "button", className: "sg-cp-link", onClick: onViewPolicy, children: [
1560
- "View policy",
1561
- /* @__PURE__ */ jsx(CornerArrow, {})
1562
- ] }) : null
1563
- ] }),
1564
- check.note ? /* @__PURE__ */ jsx("span", { className: "sg-cp-check-note", children: check.note }) : null,
1565
- check.reasons.map((reason) => /* @__PURE__ */ jsx("span", { className: "sg-cp-check-reason", children: humanizeComplianceReason(reason) }, reason))
1764
+ function BackGlyph() {
1765
+ return /* @__PURE__ */ 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: [
1766
+ /* @__PURE__ */ jsx("path", { d: "M19 12H5" }),
1767
+ /* @__PURE__ */ jsx("path", { d: "m12 19-7-7 7-7" })
1566
1768
  ] });
1567
1769
  }
1568
- function QuoteChecks({
1569
- compliance,
1770
+ function TokenSelect(props) {
1771
+ const [chainFilter, setChainFilter] = useState(null);
1772
+ const [query, setQuery] = useState("");
1773
+ const rows = useMemo(() => {
1774
+ const q = query.trim().toLowerCase();
1775
+ const filtered = props.tokens.filter((t) => chainFilter == null ? true : Number(t.chainId) === chainFilter).filter((t) => {
1776
+ if (!q) return true;
1777
+ return String(t.symbol || "").toLowerCase().includes(q) || // The chain's own ticker too, with `₮` read as `T`: "usdt0" finds USD₮0.
1778
+ 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
1779
+ // show a three-letter badge, so "Katana" or "Berachain" has to be findable by typing it.
1780
+ String(CHAIN_LABELS[Number(t.chainId)] || "").toLowerCase().includes(q);
1781
+ });
1782
+ if (!props.balances) return filtered;
1783
+ const balNum = (t) => {
1784
+ const n = Number(props.balances?.[`${Number(t.chainId)}:${String(t.address || "").toLowerCase()}`]?.formatted);
1785
+ return Number.isFinite(n) ? n : 0;
1786
+ };
1787
+ return [...filtered].sort((a, b) => balNum(b) - balNum(a));
1788
+ }, [props.tokens, chainFilter, query, props.balances]);
1789
+ return /* @__PURE__ */ jsxs("div", { children: [
1790
+ /* @__PURE__ */ jsxs("div", { className: "sg-sel-head", children: [
1791
+ /* @__PURE__ */ jsx("button", { type: "button", className: "sg-back", onClick: props.onBack, "aria-label": "Back", children: /* @__PURE__ */ jsx(BackGlyph, {}) }),
1792
+ /* @__PURE__ */ jsx("div", { className: "sg-sel-title", children: props.title })
1793
+ ] }),
1794
+ /* @__PURE__ */ jsxs("div", { className: "sg-chain-grid", "data-scroll": props.chains.length > 14 ? void 0 : "false", role: "group", "aria-label": "Filter by chain", children: [
1795
+ /* @__PURE__ */ jsx(ChainChip, { label: "All", selected: chainFilter == null, onClick: () => setChainFilter(null) }),
1796
+ props.chains.map((c) => /* @__PURE__ */ jsx(
1797
+ ChainChip,
1798
+ {
1799
+ chain: c,
1800
+ label: chainBadge(Number(c.chainId)),
1801
+ name: CHAIN_LABELS[Number(c.chainId)] || c.displayName || c.name || `Chain ${c.chainId}`,
1802
+ selected: chainFilter === Number(c.chainId),
1803
+ onClick: () => setChainFilter(Number(c.chainId))
1804
+ },
1805
+ c.chainId
1806
+ ))
1807
+ ] }),
1808
+ /* @__PURE__ */ jsxs("div", { className: "sg-search", children: [
1809
+ /* @__PURE__ */ jsx(SearchGlyph, {}),
1810
+ /* @__PURE__ */ 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" })
1811
+ ] }),
1812
+ /* @__PURE__ */ jsx("div", { className: "sg-toklist", role: "group", "aria-label": props.title, children: rows.length ? rows.map((t) => {
1813
+ const chainId = Number(t.chainId);
1814
+ const key = `${chainId}:${String(t.address || "").toLowerCase()}`;
1815
+ const bal = props.balances?.[key];
1816
+ const st = props.optionStates?.[key];
1817
+ const disabled = !!st?.disabled;
1818
+ return /* @__PURE__ */ jsxs(
1819
+ "button",
1820
+ {
1821
+ type: "button",
1822
+ className: `sg-tokrow${disabled ? " sg-tokrow--off" : ""}`,
1823
+ disabled,
1824
+ "aria-disabled": disabled || void 0,
1825
+ "data-disabled": disabled || void 0,
1826
+ onClick: disabled ? void 0 : () => props.onPick({ chainId, symbol: t.symbol }),
1827
+ children: [
1828
+ /* @__PURE__ */ jsx(TokenGlyph, { symbol: t.symbol, logoUrl: t.logoUrl, chainId }),
1829
+ /* @__PURE__ */ jsxs("span", { className: "sg-tokrow-main", children: [
1830
+ /* @__PURE__ */ jsx("span", { className: "sg-tokrow-sym", children: tokenTicker(t) }),
1831
+ /* @__PURE__ */ jsx("span", { className: "sg-tokrow-name", children: t.name || t.symbol })
1832
+ ] }),
1833
+ /* @__PURE__ */ jsxs("span", { className: "sg-tokrow-end", children: [
1834
+ bal ? /* @__PURE__ */ jsx("span", { className: "sg-tokrow-bal sg-mono", children: bal.formatted }) : null,
1835
+ st?.hint ? /* @__PURE__ */ jsx("span", { className: "sg-tokrow-hint", "data-tone": disabled ? void 0 : "note", children: st.hint }) : null,
1836
+ /* @__PURE__ */ jsx("span", { className: "sg-tokrow-chain", children: CHAIN_LABELS[chainId] || `Chain ${chainId}` })
1837
+ ] })
1838
+ ]
1839
+ },
1840
+ `${chainId}:${t.address}`
1841
+ );
1842
+ }) : props.loading ? /* @__PURE__ */ jsx("div", { className: "sg-sel-empty", children: "Loading the token list\u2026" }) : /* @__PURE__ */ jsx("div", { className: "sg-sel-empty", children: "No tokens match \u2014 try another chain or search." }) })
1843
+ ] });
1844
+ }
1845
+ function ChevronRight({ size = 16 }) {
1846
+ return /* @__PURE__ */ jsx("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx("path", { d: "M6 4l4 4-4 4", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) });
1847
+ }
1848
+ function ChevronDown({ size = 16, up = false }) {
1849
+ return /* @__PURE__ */ 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__ */ jsx("path", { d: "M4 6l4 4 4-4", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) });
1850
+ }
1851
+ function PillChevron() {
1852
+ return /* @__PURE__ */ jsx("svg", { width: "5", height: "10", viewBox: "0 0 5 10", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx("path", { d: "M0.5 9l3-3-3-3", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) });
1853
+ }
1854
+ function ArrowDown({ size = 16 }) {
1855
+ return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: [
1856
+ /* @__PURE__ */ jsx("path", { d: "M8 3.333v9.334", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1857
+ /* @__PURE__ */ jsx("path", { d: "M12.667 8L8 12.667 3.333 8", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
1858
+ ] });
1859
+ }
1860
+ function CloseGlyph() {
1861
+ return /* @__PURE__ */ jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx("path", { d: "M18 6L6 18M6 6l12 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
1862
+ }
1863
+ function ShieldTickGlyph({ size = 16 }) {
1864
+ return /* @__PURE__ */ jsx("svg", { width: size, height: size, viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx(
1865
+ "path",
1866
+ {
1867
+ 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",
1868
+ fill: "currentColor"
1869
+ }
1870
+ ) });
1871
+ }
1872
+ function QuoteGlyph({ size = 16 }) {
1873
+ return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: [
1874
+ /* @__PURE__ */ jsx(
1875
+ "path",
1876
+ {
1877
+ 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",
1878
+ fill: "currentColor"
1879
+ }
1880
+ ),
1881
+ /* @__PURE__ */ jsx(
1882
+ "path",
1883
+ {
1884
+ 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",
1885
+ fill: "currentColor"
1886
+ }
1887
+ )
1888
+ ] });
1889
+ }
1890
+ function AmountText({ value, suffix }) {
1891
+ const dot = value.indexOf(".");
1892
+ const whole = dot < 0 ? value : value.slice(0, dot + 1);
1893
+ const decimals = dot < 0 ? "" : value.slice(dot + 1);
1894
+ return /* @__PURE__ */ jsxs("span", { className: "sg-amt", children: [
1895
+ whole,
1896
+ decimals ? /* @__PURE__ */ jsx("span", { className: "sg-amt-dec", children: decimals }) : null,
1897
+ suffix ? ` ${suffix}` : null
1898
+ ] });
1899
+ }
1900
+ function usdOf(amount, price) {
1901
+ const n = typeof amount === "number" ? amount : Number(amount);
1902
+ if (!Number.isFinite(n) || n <= 0 || price === void 0 || !Number.isFinite(price) || price <= 0) return null;
1903
+ const usd = n * price;
1904
+ return `$ ${usd < 0.01 ? "<0.01" : usd.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 })}`;
1905
+ }
1906
+ function shortBalance(formatted) {
1907
+ const [whole, frac = ""] = String(formatted).split(".");
1908
+ const cut = frac.slice(0, 4).replace(/0+$/, "");
1909
+ return cut ? `${whole}.${cut}` : whole;
1910
+ }
1911
+ function durationLabel(seconds) {
1912
+ const s = Number(seconds);
1913
+ if (!Number.isFinite(s) || s <= 0) return null;
1914
+ if (s < 90) return `~${Math.max(1, Math.round(s))} sec`;
1915
+ if (s < 90 * 60) return `~${Math.round(s / 60)} min`;
1916
+ return `~${Math.round(s / 3600)} h`;
1917
+ }
1918
+ function TokenButton(props) {
1919
+ const shown = props.token ? tokenTicker(props.token) : props.symbol ?? "";
1920
+ const chain = props.chainId ? CHAIN_LABELS[props.chainId] || `Chain ${props.chainId}` : "";
1921
+ return /* @__PURE__ */ jsxs(
1922
+ "button",
1923
+ {
1924
+ type: "button",
1925
+ ref: props.btnRef,
1926
+ className: "sg-tokbtn",
1927
+ disabled: props.disabled,
1928
+ onClick: props.onClick,
1929
+ "aria-label": `${props.label}: ${props.symbol ? `${shown} on ${chain}` : "select token"}`,
1930
+ children: [
1931
+ props.symbol && props.chainId ? /* @__PURE__ */ jsxs(Fragment, { children: [
1932
+ /* @__PURE__ */ jsx(TokenGlyph, { symbol: props.symbol, logoUrl: props.token?.logoUrl, chainId: props.chainId, size: "xs" }),
1933
+ /* @__PURE__ */ jsxs("span", { className: "sg-tokbtn-text", children: [
1934
+ /* @__PURE__ */ jsx("span", { className: "sg-tokbtn-sym", children: shown }),
1935
+ /* @__PURE__ */ jsx("span", { className: "sg-tokbtn-chain", children: chain })
1936
+ ] })
1937
+ ] }) : /* @__PURE__ */ jsx("span", { className: "sg-tokbtn-text", children: /* @__PURE__ */ jsx("span", { className: "sg-tokbtn-sym", children: "Select" }) }),
1938
+ /* @__PURE__ */ jsx("span", { className: "sg-tokbtn-chev", children: /* @__PURE__ */ jsx(ChevronRight, {}) })
1939
+ ]
1940
+ }
1941
+ );
1942
+ }
1943
+ function FlipButton(props) {
1944
+ return /* @__PURE__ */ jsx("span", { className: "sg-flip-slot", children: /* @__PURE__ */ 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__ */ jsx("span", { className: "sg-flip-rot", children: /* @__PURE__ */ jsx(ArrowDown, { size: 12 }) }) : /* @__PURE__ */ jsx(ArrowDown, {}) }) });
1945
+ }
1946
+ function DetailButton(props) {
1947
+ return /* @__PURE__ */ jsxs(
1948
+ "button",
1949
+ {
1950
+ type: "button",
1951
+ ref: props.btnRef,
1952
+ className: "sg-dbtn",
1953
+ "data-size": props.size === "lg" ? "lg" : void 0,
1954
+ onClick: props.onClick,
1955
+ disabled: props.disabled,
1956
+ "aria-haspopup": "dialog",
1957
+ children: [
1958
+ /* @__PURE__ */ jsxs("span", { className: "sg-dbtn-main", children: [
1959
+ /* @__PURE__ */ jsx("span", { className: "sg-dbtn-icon", "data-tone": props.iconTone ?? "info", children: props.icon }),
1960
+ /* @__PURE__ */ jsx("span", { className: "sg-dbtn-label", children: props.label })
1961
+ ] }),
1962
+ props.badge ? /* @__PURE__ */ jsxs("span", { className: "sg-dpill", "data-tone": props.badge.tone, children: [
1963
+ props.badge.text,
1964
+ /* @__PURE__ */ jsx(PillChevron, {})
1965
+ ] }) : /* @__PURE__ */ jsx("span", { className: "sg-dbtn-chev", children: /* @__PURE__ */ jsx(ChevronRight, {}) })
1966
+ ]
1967
+ }
1968
+ );
1969
+ }
1970
+ function RateBox(props) {
1971
+ const [open, setOpen] = useState(!!props.defaultOpen);
1972
+ const rows = props.rows.length ? /* @__PURE__ */ jsx("dl", { className: "sg-rate-rows", children: props.rows.map((r) => /* @__PURE__ */ jsxs("div", { className: "sg-rate-row", children: [
1973
+ /* @__PURE__ */ jsx("dt", { children: r.label }),
1974
+ /* @__PURE__ */ jsx("dd", { children: r.value })
1975
+ ] }, r.label)) }) : null;
1976
+ if (props.rowsOnly) return rows ? /* @__PURE__ */ jsx("div", { className: "sg-rate", children: rows }) : null;
1977
+ return /* @__PURE__ */ jsxs("div", { className: "sg-rate", "data-open": open || void 0, children: [
1978
+ /* @__PURE__ */ jsxs("button", { type: "button", className: "sg-rate-head", onClick: () => setOpen((o) => !o), "aria-expanded": open, disabled: !props.rows.length, children: [
1979
+ /* @__PURE__ */ jsxs("span", { className: "sg-rate-line", children: [
1980
+ /* @__PURE__ */ jsx(TokenGlyph, { symbol: props.fromSymbol, logoUrl: props.fromLogoUrl, size: "xxs" }),
1981
+ /* @__PURE__ */ jsx("span", { className: "sg-mono", children: props.rate ? `= ${props.rate} ${props.toTicker}` : "Rate appears with a quote" })
1982
+ ] }),
1983
+ /* @__PURE__ */ jsx("span", { className: "sg-rate-chev", children: /* @__PURE__ */ jsx(ChevronDown, { up: open }) })
1984
+ ] }),
1985
+ open ? rows : null
1986
+ ] });
1987
+ }
1988
+ function PoweredBy() {
1989
+ return /* @__PURE__ */ jsxs("div", { className: "sg-foot", children: [
1990
+ /* @__PURE__ */ jsx(BrandMark, { size: 17, className: "sg-foot-mark" }),
1991
+ /* @__PURE__ */ jsx("span", { children: "Powered by ZeroDelta" })
1992
+ ] });
1993
+ }
1994
+ function PaneFoot(props) {
1995
+ if (!props.usd && !props.balance) return null;
1996
+ return /* @__PURE__ */ jsxs("div", { className: "sg-pane-foot", children: [
1997
+ /* @__PURE__ */ jsx("span", { children: props.usd ?? "" }),
1998
+ props.balance ? /* @__PURE__ */ jsxs("span", { children: [
1999
+ "Balance ",
2000
+ /* @__PURE__ */ jsx("b", { className: "sg-mono", children: props.balance })
2001
+ ] }) : null
2002
+ ] });
2003
+ }
2004
+ function WidgetShell(props) {
2005
+ injectStyles();
2006
+ const resolved = resolveTheme(props.theme);
2007
+ const vars = themeToVars(resolved);
2008
+ const fixed = Number.isFinite(props.heightPx) && props.heightPx > 0;
2009
+ const style = fixed ? { ...vars, height: props.heightPx } : vars;
2010
+ return /* @__PURE__ */ jsxs(
2011
+ "div",
2012
+ {
2013
+ className: "sg-widget",
2014
+ "data-sg-mode": resolved.mode,
2015
+ "data-sg-fixed": fixed || void 0,
2016
+ "data-sg-express": props.variant === "express" || void 0,
2017
+ "data-sg-wide": props.wide || void 0,
2018
+ style,
2019
+ children: [
2020
+ /* @__PURE__ */ jsxs("div", { className: "sg-head", children: [
2021
+ props.brandSlot ?? /* @__PURE__ */ jsx("div", { className: "sg-title", children: props.title }),
2022
+ /* @__PURE__ */ jsxs("div", { className: "sg-head-end", children: [
2023
+ props.walletSlot ?? /* @__PURE__ */ jsxs("div", { className: "sg-brand", children: [
2024
+ /* @__PURE__ */ jsx(BrandMark, { size: 14, className: "sg-brand-mark" }),
2025
+ "ZeroDelta"
2026
+ ] }),
2027
+ props.onClose ? (
2028
+ // type="button": a host page may wrap the widget in a <form>.
2029
+ /* @__PURE__ */ jsx("button", { type: "button", className: "sg-close", onClick: props.onClose, "aria-label": "Close", children: /* @__PURE__ */ jsx(CloseGlyph, {}) })
2030
+ ) : null
2031
+ ] })
2032
+ ] }),
2033
+ /* @__PURE__ */ jsx("div", { className: "sg-body", children: props.children }),
2034
+ /* @__PURE__ */ jsx(PoweredBy, {})
2035
+ ]
2036
+ }
2037
+ );
2038
+ }
2039
+ function shortAddress(a) {
2040
+ if (!a) return "";
2041
+ return `${a.slice(0, 6)}\u2026${a.slice(-4)}`;
2042
+ }
2043
+ function ShieldTick({ size = 16 }) {
2044
+ return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
2045
+ /* @__PURE__ */ 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" }),
2046
+ /* @__PURE__ */ 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" }),
2047
+ /* @__PURE__ */ jsx("path", { d: "m8.6 11.9 2.3 2.3 4.5-4.5", stroke: "currentColor", strokeWidth: "1.9", strokeLinecap: "round", strokeLinejoin: "round" })
2048
+ ] });
2049
+ }
2050
+ function TickCircle({ size = 16 }) {
2051
+ return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
2052
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
2053
+ /* @__PURE__ */ 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" })
2054
+ ] });
2055
+ }
2056
+ function CloseCircle({ size = 16 }) {
2057
+ return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
2058
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
2059
+ /* @__PURE__ */ 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" })
2060
+ ] });
2061
+ }
2062
+ function PendingCircle({ size = 16 }) {
2063
+ return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
2064
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "9.2", stroke: "currentColor", strokeWidth: "1.6", strokeDasharray: "3 3" }),
2065
+ /* @__PURE__ */ jsx("path", { d: "M8.5 12h7", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round" })
2066
+ ] });
2067
+ }
2068
+ function Tick({ size = 12 }) {
2069
+ return /* @__PURE__ */ jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx("path", { d: "m4.5 12.8 5 5L19.5 6.5", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round" }) });
2070
+ }
2071
+ function Cross({ size = 12 }) {
2072
+ return /* @__PURE__ */ jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx("path", { d: "m5.5 5.5 13 13M18.5 5.5l-13 13", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round" }) });
2073
+ }
2074
+ function Chevron({ size = 16 }) {
2075
+ return /* @__PURE__ */ jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx("path", { d: "m9 5 7 7-7 7", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) });
2076
+ }
2077
+ function Info({ size = 16 }) {
2078
+ return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
2079
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
2080
+ /* @__PURE__ */ jsx("path", { d: "M12 10.6v6", stroke: "var(--sg-bg)", strokeWidth: "2.1", strokeLinecap: "round" }),
2081
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "7.6", r: "1.25", fill: "var(--sg-bg)" })
2082
+ ] });
2083
+ }
2084
+ function Lock({ size = 16 }) {
2085
+ return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
2086
+ /* @__PURE__ */ jsx("rect", { x: "4.5", y: "10.5", width: "15", height: "9.5", rx: "2.2", stroke: "currentColor", strokeWidth: "1.7" }),
2087
+ /* @__PURE__ */ jsx("path", { d: "M8 10.5V7.8a4 4 0 0 1 8 0v2.7", stroke: "currentColor", strokeWidth: "1.7", strokeLinecap: "round" })
2088
+ ] });
2089
+ }
2090
+ function ShieldOutline({ size = 16 }) {
2091
+ return /* @__PURE__ */ jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ 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" }) });
2092
+ }
2093
+ function WarningFilled({ size = 16 }) {
2094
+ return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
2095
+ /* @__PURE__ */ jsx("path", { d: "M12 3.2 21.4 19.4H2.6L12 3.2Z", fill: "currentColor" }),
2096
+ /* @__PURE__ */ jsx("path", { d: "M12 9.4v4.3", stroke: "var(--sg-bg)", strokeWidth: "1.9", strokeLinecap: "round" }),
2097
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "16.4", r: "1.05", fill: "var(--sg-bg)" })
2098
+ ] });
2099
+ }
2100
+ function CornerArrow({ size = 12 }) {
2101
+ return /* @__PURE__ */ jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx("path", { d: "M7 17 17 7M9 7h8v8", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round" }) });
2102
+ }
2103
+ var POLICY_GLYPH = {
2104
+ "always-blocked": Lock,
2105
+ blocked: ShieldOutline,
2106
+ flagged: WarningFilled
2107
+ };
2108
+ var POLICY_DETAIL = {
2109
+ "always-blocked": "Cannot be changed or disabled",
2110
+ blocked: "Stops the payment",
2111
+ flagged: "Does not automatically block"
2112
+ };
2113
+ function shortAddr(a) {
2114
+ return a.length > 14 ? `${a.slice(0, 6)}\u2026${a.slice(-4)}` : a;
2115
+ }
2116
+ function TriggerGlyph({ cv }) {
2117
+ if (cv.tone === "blocked" || cv.tone === "warn") return /* @__PURE__ */ jsx(CloseCircle, {});
2118
+ return /* @__PURE__ */ jsx(ShieldTick, {});
2119
+ }
2120
+ function CheckRow({ check, onViewPolicy }) {
2121
+ const label = check.id === "risk" ? check.ok ? "Risk screening passed" : "Risk screening failed" : check.label;
2122
+ return /* @__PURE__ */ jsxs("li", { className: "sg-cp-check", "data-ok": check.ok, children: [
2123
+ /* @__PURE__ */ jsxs("div", { className: "sg-cp-check-head", children: [
2124
+ /* @__PURE__ */ jsxs("span", { className: "sg-cp-check-label", children: [
2125
+ /* @__PURE__ */ jsx("span", { className: "sg-cp-check-mark", "data-ok": check.ok, children: check.ok ? /* @__PURE__ */ jsx(Tick, {}) : /* @__PURE__ */ jsx(Cross, {}) }),
2126
+ /* @__PURE__ */ jsx("span", { children: label }),
2127
+ /* @__PURE__ */ jsx("span", { className: "sg-sr-only", children: check.ok ? " \u2014 passed" : " \u2014 failed" })
2128
+ ] }),
2129
+ check.id === "risk" ? /* @__PURE__ */ jsxs("button", { type: "button", className: "sg-cp-link", onClick: onViewPolicy, children: [
2130
+ "View policy",
2131
+ /* @__PURE__ */ jsx(CornerArrow, {})
2132
+ ] }) : null
2133
+ ] }),
2134
+ check.note ? /* @__PURE__ */ jsx("span", { className: "sg-cp-check-note", children: check.note }) : null,
2135
+ check.reasons.map((reason) => /* @__PURE__ */ jsx("span", { className: "sg-cp-check-reason", children: humanizeComplianceReason(reason) }, reason))
2136
+ ] });
2137
+ }
2138
+ function QuoteChecks({
2139
+ compliance,
1570
2140
  cv,
1571
2141
  checks,
1572
2142
  direct,
@@ -1664,287 +2234,72 @@ function ScreeningPolicy({ compliance }) {
1664
2234
  }) })
1665
2235
  ] });
1666
2236
  }
1667
- function CompliancePanel(props) {
1668
- const [open, setOpen] = useState(false);
1669
- const [tab, setTab] = useState("checks");
1670
- const triggerRef = useRef(null);
1671
- const sheetRef = useRef(null);
1672
- const compliance = props.compliance ?? null;
1673
- const cv = complianceView(compliance, props.hasQuote ?? true);
1674
- const allChecks = complianceChecks(compliance, cv);
1675
- const checks = props.direct ? allChecks.filter((c) => DIRECT_CHECK_IDS.includes(c.id)) : allChecks;
1676
- const tag = complianceTagOf(compliance);
1677
- useEffect(() => {
1678
- if (!open) return;
1679
- sheetRef.current?.focus();
1680
- const onKey = (e) => {
1681
- if (e.key === "Escape") {
1682
- e.stopPropagation();
1683
- setOpen(false);
1684
- triggerRef.current?.focus();
1685
- }
1686
- };
1687
- document.addEventListener("keydown", onKey, true);
1688
- return () => document.removeEventListener("keydown", onKey, true);
1689
- }, [open]);
1690
- const close = () => {
1691
- setOpen(false);
1692
- triggerRef.current?.focus();
1693
- };
1694
- return /* @__PURE__ */ jsxs("div", { className: "sg-cp", "data-tone": cv.tone, children: [
1695
- open ? null : /* @__PURE__ */ jsxs(Fragment, { children: [
1696
- /* @__PURE__ */ jsxs("button", { ref: triggerRef, type: "button", className: "sg-cp-row", "data-tone": cv.tone, onClick: () => setOpen(true), "aria-haspopup": "dialog", children: [
1697
- /* @__PURE__ */ jsxs("span", { className: "sg-cp-row-main", children: [
1698
- /* @__PURE__ */ jsx("span", { className: "sg-cp-row-glyph", children: /* @__PURE__ */ jsx(TriggerGlyph, { cv }) }),
1699
- /* @__PURE__ */ jsx("span", { className: "sg-cp-row-label", children: cv.label })
1700
- ] }),
1701
- /* @__PURE__ */ jsx("span", { className: "sg-cp-row-chev", children: /* @__PURE__ */ jsx(Chevron, {}) })
1702
- ] }),
1703
- (cv.blocked || cv.needsAction) && tag ? /* @__PURE__ */ jsx("span", { className: "sg-cp-row-tag sg-mono", children: tag }) : null
1704
- ] }),
1705
- open ? /* @__PURE__ */ jsxs("div", { className: "sg-cp-sheet", role: "dialog", "aria-modal": "true", "aria-label": "Compliance details", ref: sheetRef, tabIndex: -1, children: [
1706
- /* @__PURE__ */ jsxs("div", { className: "sg-cp-sheet-head", children: [
1707
- /* @__PURE__ */ jsx("h4", { className: "sg-cp-sheet-title", children: "Compliance details" }),
1708
- /* @__PURE__ */ jsx("button", { type: "button", className: "sg-cp-close", onClick: close, "aria-label": "Close compliance details", children: /* @__PURE__ */ jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx("path", { d: "m6 6 12 12M18 6 6 18", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }) }) })
1709
- ] }),
1710
- /* @__PURE__ */ jsxs("div", { className: "sg-cp-tabs", role: "tablist", "aria-label": "Compliance details sections", children: [
1711
- /* @__PURE__ */ jsx("button", { type: "button", role: "tab", "aria-selected": tab === "checks", "data-active": tab === "checks", className: "sg-cp-tab", onClick: () => setTab("checks"), children: "Quote checks" }),
1712
- /* @__PURE__ */ jsx("button", { type: "button", role: "tab", "aria-selected": tab === "policy", "data-active": tab === "policy", className: "sg-cp-tab", onClick: () => setTab("policy"), children: "Screening policy" })
1713
- ] }),
1714
- /* @__PURE__ */ jsx("div", { className: "sg-cp-sheet-body", children: tab === "checks" ? /* @__PURE__ */ jsx(QuoteChecks, { compliance, cv, checks, direct: !!props.direct, onViewPolicy: () => setTab("policy") }) : /* @__PURE__ */ jsx(ScreeningPolicy, { compliance }) })
1715
- ] }) : null
1716
- ] });
1717
- }
1718
-
1719
- // src/react/ui/chain-logos.ts
1720
- var BUNDLED_CHAIN_LOGO = {
1721
- 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/iNofCot/OLn+9shuuKn++ntvPFzvh1j+zu8f2tvPTJ0/jU3PmIne+ktfNog+rf5fvZ4Prg5fuqufOjtPPs7/3m6/zw8/3Ez/j+/v7O1/n6+/6VqPGRpPBrheufsPLq7fyBl+6SpvD19/6vvvSHnO9sh+vR2fjj5/vCzfbk6fvCzPbX3/nR2flnguvo7PyoSVf4AAAAZ3RSTlMAA/v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t5Q3a9GzWQnvTLF9zKKe0HhSG+9luP31IgQMW1dBNuyC65wijhWOPr7eG8ecoQzrQixxAkA46dqxegJueXW10rUkmjyeNQaKgD8cVOOGBlXf+zJMiPWXK9EoJeBUNOrS9CLOiX7oo7HLOr4fqwaA0e1asR+w6wag/1ZlhpGsyzlrTNs8GNZ6lz3zrMGCqkRrnuNfq57YWhlFtZTNX7uw10L62xmYe33Awg+s3K3ThaH+7tyz8lgVu4jWOqP4TsfDQglIZyXlzw+NSM2ai4ICh3pm5CxUXHZhVqeEGMvLLFwnrYwOy5qDQgNHfnDjTAQGTNncWaJlgcfhTz4cAMLlAi1JZmL58REjuLhhlPZzqcn7xiNmnKMxxOGY9hCilqIYeHw6YmwXGPMeOc15unJ6Mi734dAjIQNcYmTi42GEk1ROUWVFmmyDRnFRYlxGxKinUb3a05QMHO7oBkvRa16d+WEFUsxbOmKCSvfXRX10gzG5scEc1n+/wFyD2hmyUaFTQAAAABJRU5ErkJggg==",
1722
- 10: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAADAFBMVEX+BCD+Ax78///+BCH/AyD9///8BSH////+///9BCD9BSD+BiL/ByL//P78BB/8/f7//v7/BSL/BST//v7/AR3/BiD8BR38BR/6BSL/Ax79BSL+/v//AyL+ABr9AyH//v/9BB/+ByT9//30ABP8/v/9//79/f78BiP+//78+vz8/Pv8/vz6///9+/z7/P37//73ABX5Bh/5///++v32ABT+ARz+AiH9/v/9BB38Ah37/////fz7/PzuAhz/CCX9Byf9/fz/+/71ABfqKUD7AR76Bh/7Ahr8ABn9/fv6ABT8+vj8//v6/fv///7+ABb//fv5/Pf/+/z6ABb8CCT9+vr4ABX6+/35ABjvABb9+PzyCiX9/Pj26ev4BiL9CCHpBB7xABj7CCL6+PvpbHv7/Pb++vvuDyn5//z8ABTxABX5ARzkDSf12t738PH6+vn7/PnzABjztL3xW2/mGC/nfIvsAhvqm6TrESv1ABr8ABbte4j33+HjLEP13uX2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F2+mMTHTSeN+1o3/NxFVV6B/3PfxxmV88l7THXgzqKihwrE7rnLORHZ/g4ycGGx21rzw48bGLr0fkob6D9rVBdbV5PCWszzSHzdC6hoC5D58AbUjs/jKQLX2XSMZPZFr7AJaNQYX893T9CXmL1GLw8X4wj1dorSPQjR1aOrSrtDYThjb+2P8bFAkruR1ThZ6Cg+5uskT+DvXcFmOr5mqaNmbY5cdT5+WGzZ/9JK+oLaW5/8c8YzqumsA1aNVpnBydyukY0aWcTrgK8hplzQFv8f4uAShBQIdqMhsX84fkCJiBpzO5aAulOMcPBaIbe85PJZwond6uJrXAC9atXmXqyirU18o85ZnjQzSgMIH1b/t7/l3bhi//VTF4HdB8xQv/LlLEOv55f7s71J12gJ94nfgB97A5hVbmnpp/XYp1d0uDDgmQ//cLfb2KBmzq4yQiLfrlxBPFZnEEkqETiXIxX/29sRiDlV1Hp2235BhcMHY7QSI8PETuoK6y/Lx80mYLVPi8YDYZmV3nLTuAxJminIxWMhcH301LYfcnWDt6HT6/A2OGOL4AMkznh8Z7fPT1pslBwzFMjba0y9diGuJgpW4Mwb8Oe2uMuELpmuPqE9cMCKzSZBKfGvqoP+qnhQ9rqblcn6kaaAAAAA=="
1730
- };
1731
-
1732
- // src/react/ui/logos.ts
1733
- var BUNDLED_TOKEN_LOGO = {
1734
- USDC: "https://coin-images.coingecko.com/coins/images/6319/large/USDC.png",
1735
- USDT: "https://coin-images.coingecko.com/coins/images/325/large/Tether.png",
1736
- USDE: "https://coin-images.coingecko.com/coins/images/33613/large/usde.png",
1737
- XAUT: "https://coin-images.coingecko.com/coins/images/10481/large/Tether_Gold.png",
1738
- // 2026-09-08, with the dapp-parity asset expansion — the same four URLs the dapp draws
1739
- // (zd-dapp/src/lib/tokenLogos.ts), so the two products show one picture per coin.
1740
- USDTB: "https://coin-images.coingecko.com/coins/images/52804/large/76357aa8-4ef7-446c-bad3-a3f944eeec7a.jpeg",
1741
- AUSD: "https://coin-images.coingecko.com/coins/images/39284/large/AUSD_1024px.png",
1742
- PYUSD: "https://coin-images.coingecko.com/coins/images/31212/large/PYUSD_Token_Logo_2x.png",
1743
- USDG: "https://coin-images.coingecko.com/coins/images/51281/large/GDN_USDG_Token_200x200.png",
1744
- // The wider stable list, added 2026-09-08 with the RWA exchange.
1745
- DAI: "https://coin-images.coingecko.com/coins/images/9956/large/Badge_Dai.png",
1746
- USDS: "https://coin-images.coingecko.com/coins/images/39926/large/usds.webp",
1747
- RLUSD: "https://coin-images.coingecko.com/coins/images/39651/large/RLUSD_200x200_%281%29.png",
1748
- USD1: "https://coin-images.coingecko.com/coins/images/54977/large/USD1_1000x1000_transparent.png",
1749
- WM: "https://coin-images.coingecko.com/coins/images/50789/large/M.png"
1750
- };
1751
- function isHttpsUrl(u) {
1752
- return typeof u === "string" && /^https:\/\//i.test(u);
1753
- }
1754
- function isSameOriginPath(u) {
1755
- return typeof u === "string" && u.startsWith("/") && !u.startsWith("//") && !u.startsWith("/\\");
1756
- }
1757
- function isDisplayableImageSrc(u) {
1758
- return isHttpsUrl(u) || isSameOriginPath(u);
1759
- }
1760
- function tokenLogoCandidates(symbol, logoUrl) {
1761
- const out = [];
1762
- if (isDisplayableImageSrc(logoUrl)) out.push(logoUrl);
1763
- const bundled = BUNDLED_TOKEN_LOGO[symbolKey(symbol)];
1764
- if (bundled && !out.includes(bundled)) out.push(bundled);
1765
- return out;
1766
- }
1767
- function chainLogoCandidates(chainId, logoUrl) {
1768
- const out = [];
1769
- if (isHttpsUrl(logoUrl)) out.push(logoUrl);
1770
- const bundled = chainId === void 0 ? void 0 : BUNDLED_CHAIN_LOGO[Number(chainId)];
1771
- if (bundled) out.push(bundled);
1772
- return out;
1773
- }
1774
- var CHAIN_SHORT = {
1775
- 1: "ETH",
1776
- 10: "OP",
1777
- 130: "UNI",
1778
- 146: "SON",
1779
- 8453: "BASE",
1780
- 9745: "PLS",
1781
- 57073: "INK",
1782
- 42161: "ARB",
1783
- 98866: "PLM"
1784
- };
1785
- function chainBadge(chainId) {
1786
- const pinned = CHAIN_SHORT[Number(chainId)];
1787
- if (pinned) return pinned;
1788
- const name = CHAIN_LABELS[Number(chainId)];
1789
- return name ? name.replace(/[^A-Za-z]/g, "").slice(0, 3).toUpperCase() : "?";
1790
- }
1791
- function TokenGlyph(props) {
1792
- const [failed, setFailed] = useState([]);
1793
- const src = tokenLogoCandidates(props.symbol, props.logoUrl).find((u) => !failed.includes(u));
1794
- const mark = props.chainId ? chainLogoCandidates(props.chainId)[0] : void 0;
1795
- let badge = null;
1796
- if (props.chainId) badge = mark ? /* @__PURE__ */ jsx("img", { className: "sg-tok-badge", src: mark, alt: "" }) : /* @__PURE__ */ jsx("span", { className: "sg-tok-badge", children: chainBadge(props.chainId) });
1797
- return /* @__PURE__ */ jsxs("span", { className: "sg-tok", "data-size": props.size === "sm" ? "sm" : void 0, children: [
1798
- src ? /* @__PURE__ */ jsx("img", { className: "sg-tok-img", src, alt: "", loading: "lazy", onError: () => setFailed((f) => [...f, src]) }) : /* @__PURE__ */ jsx("span", { className: "sg-tok-fb", children: props.symbol.slice(0, 4) }),
1799
- badge
1800
- ] });
1801
- }
1802
- function ChevronGlyph() {
1803
- return /* @__PURE__ */ 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__ */ jsx("path", { d: "m9 18 6-6-6-6" }) });
1804
- }
1805
- function TokenTile(props) {
1806
- const shown = props.token ? tokenTicker(props.token) : props.pick?.symbol ?? "";
1807
- const glyph = props.pick ? /* @__PURE__ */ jsxs(Fragment, { children: [
1808
- /* @__PURE__ */ jsx(TokenGlyph, { symbol: props.pick.symbol, logoUrl: props.token?.logoUrl, chainId: props.pick.chainId }),
1809
- /* @__PURE__ */ jsxs("span", { className: "sg-tile-text", children: [
1810
- /* @__PURE__ */ jsx("span", { className: "sg-tile-sym", children: shown }),
1811
- /* @__PURE__ */ jsx("span", { className: "sg-tile-chain", children: CHAIN_LABELS[props.pick.chainId] || `Chain ${props.pick.chainId}` })
1812
- ] })
1813
- ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
1814
- /* @__PURE__ */ jsx("span", { className: "sg-tok", children: /* @__PURE__ */ jsx("span", { className: "sg-tok-fb", children: "?" }) }),
1815
- /* @__PURE__ */ jsx("span", { className: "sg-tile-empty", children: "Select\u2026" })
1816
- ] });
1817
- const ariaLabel = `${props.label}: ${props.pick ? `${shown} on ${CHAIN_LABELS[props.pick.chainId] || props.pick.chainId}` : "select token"}`;
1818
- if (props.row) {
1819
- return /* @__PURE__ */ jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile sg-tile--row", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
1820
- /* @__PURE__ */ jsx("span", { className: "sg-tile-label", children: props.label }),
1821
- /* @__PURE__ */ jsx("span", { className: "sg-tile-rowmain", children: glyph }),
1822
- /* @__PURE__ */ jsx("span", { className: "sg-tile-chev", children: /* @__PURE__ */ jsx(ChevronGlyph, {}) })
1823
- ] });
1824
- }
1825
- return /* @__PURE__ */ jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
1826
- /* @__PURE__ */ jsx("span", { className: "sg-tile-label", children: props.label }),
1827
- /* @__PURE__ */ jsx("span", { className: "sg-tile-main", children: glyph })
1828
- ] });
1829
- }
1830
- function FundingTile(props) {
1831
- const symbols = props.assets.map((asset) => asset.symbol);
1832
- const summary = props.loading ? "Checking wallet assets\u2026" : symbols.length ? symbols.join(", ") : "No payable balance";
1833
- 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";
1834
- const ariaLabel = `${props.label}: ${props.loading ? "checking wallet assets" : symbols.length ? symbols.join(", ") : "no payable balance"}`;
1835
- const glyphs = props.loading ? /* @__PURE__ */ jsx("span", { className: "sg-tok", children: /* @__PURE__ */ jsx("span", { className: "sg-tok-fb", children: "\u2026" }) }) : symbols.length ? /* @__PURE__ */ jsx("span", { className: "sg-funding-glyphs", "aria-hidden": "true", children: props.assets.slice(0, 3).map((asset) => /* @__PURE__ */ jsx(TokenGlyph, { symbol: asset.symbol, logoUrl: asset.logoUrl, size: "sm" }, asset.symbol)) }) : /* @__PURE__ */ jsx("span", { className: "sg-tok", children: /* @__PURE__ */ jsx("span", { className: "sg-tok-fb", children: "?" }) });
1836
- const main = /* @__PURE__ */ jsxs(Fragment, { children: [
1837
- glyphs,
1838
- /* @__PURE__ */ jsxs("span", { className: "sg-funding-copy", children: [
1839
- /* @__PURE__ */ jsx("span", { className: "sg-tile-sym", children: summary }),
1840
- /* @__PURE__ */ jsx("span", { className: "sg-tile-chain", children: detail })
1841
- ] })
1842
- ] });
1843
- if (props.row) {
1844
- return /* @__PURE__ */ jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile sg-tile--row", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
1845
- /* @__PURE__ */ jsx("span", { className: "sg-tile-label", children: props.label }),
1846
- /* @__PURE__ */ jsx("span", { className: "sg-tile-rowmain", children: main }),
1847
- /* @__PURE__ */ jsx("span", { className: "sg-tile-chev", children: /* @__PURE__ */ jsx(ChevronGlyph, {}) })
1848
- ] });
1849
- }
1850
- return /* @__PURE__ */ jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
1851
- /* @__PURE__ */ jsx("span", { className: "sg-tile-label", children: props.label }),
1852
- /* @__PURE__ */ jsx("span", { className: "sg-tile-main", children: main })
1853
- ] });
1854
- }
1855
- function ChainChip(props) {
1856
- const [failed, setFailed] = useState([]);
1857
- const src = chainLogoCandidates(props.chain?.chainId, props.chain?.logoUrl).find((u) => !failed.includes(u));
1858
- const name = props.name ?? props.label;
1859
- return /* @__PURE__ */ 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__ */ jsx("img", { src, alt: "", loading: "lazy", onError: () => setFailed((f) => [...f, src]) }) : props.label });
1860
- }
1861
- function SearchGlyph() {
1862
- return /* @__PURE__ */ jsxs("svg", { width: "15", height: "15", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", "aria-hidden": "true", children: [
1863
- /* @__PURE__ */ jsx("circle", { cx: "11", cy: "11", r: "7" }),
1864
- /* @__PURE__ */ jsx("path", { d: "m20 20-3.5-3.5" })
1865
- ] });
1866
- }
1867
- function BackGlyph() {
1868
- return /* @__PURE__ */ 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: [
1869
- /* @__PURE__ */ jsx("path", { d: "M19 12H5" }),
1870
- /* @__PURE__ */ jsx("path", { d: "m12 19-7-7 7-7" })
1871
- ] });
1872
- }
1873
- function TokenSelect(props) {
1874
- const [chainFilter, setChainFilter] = useState(null);
1875
- const [query, setQuery] = useState("");
1876
- const rows = useMemo(() => {
1877
- const q = query.trim().toLowerCase();
1878
- const filtered = props.tokens.filter((t) => chainFilter == null ? true : Number(t.chainId) === chainFilter).filter((t) => {
1879
- if (!q) return true;
1880
- return String(t.symbol || "").toLowerCase().includes(q) || // The chain's own ticker too, with `₮` read as `T`: "usdt0" finds USD₮0.
1881
- 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
1882
- // show a three-letter badge, so "Katana" or "Berachain" has to be findable by typing it.
1883
- String(CHAIN_LABELS[Number(t.chainId)] || "").toLowerCase().includes(q);
1884
- });
1885
- if (!props.balances) return filtered;
1886
- const balNum = (t) => {
1887
- const n = Number(props.balances?.[`${Number(t.chainId)}:${String(t.address || "").toLowerCase()}`]?.formatted);
1888
- return Number.isFinite(n) ? n : 0;
2237
+ function complianceBadge(compliance, hasQuote = true) {
2238
+ if (!hasQuote) return null;
2239
+ const cv = complianceView(compliance, hasQuote);
2240
+ if (cv.tone === "blocked") return { text: "Blocked", tone: "warn" };
2241
+ if (cv.tone === "warn") return { text: compliance?.decision === "REMEDIATE" ? "Remediate" : "Review", tone: "warn" };
2242
+ if (cv.tone === "ok") return { text: cv.screened ? "Passed" : "Allowed", tone: "ok" };
2243
+ return { text: "Not screened", tone: "muted" };
2244
+ }
2245
+ function complianceIconTone(compliance, hasQuote = true) {
2246
+ const cv = complianceView(compliance, hasQuote);
2247
+ return cv.tone === "blocked" || cv.tone === "warn" ? "warn" : cv.tone === "ok" ? "ok" : "muted";
2248
+ }
2249
+ function ComplianceSheet(props) {
2250
+ const [tab, setTab] = useState("checks");
2251
+ const sheetRef = useRef(null);
2252
+ const compliance = props.compliance ?? null;
2253
+ const cv = complianceView(compliance, props.hasQuote ?? true);
2254
+ const allChecks = complianceChecks(compliance, cv);
2255
+ const checks = props.direct ? allChecks.filter((c) => DIRECT_CHECK_IDS.includes(c.id)) : allChecks;
2256
+ const onCloseRef = useRef(props.onClose);
2257
+ onCloseRef.current = props.onClose;
2258
+ const onClose = () => onCloseRef.current();
2259
+ useEffect(() => {
2260
+ sheetRef.current?.focus();
2261
+ const onKey = (e) => {
2262
+ if (e.key === "Escape") {
2263
+ e.stopPropagation();
2264
+ onCloseRef.current();
2265
+ }
1889
2266
  };
1890
- return [...filtered].sort((a, b) => balNum(b) - balNum(a));
1891
- }, [props.tokens, chainFilter, query, props.balances]);
1892
- return /* @__PURE__ */ jsxs("div", { children: [
1893
- /* @__PURE__ */ jsxs("div", { className: "sg-sel-head", children: [
1894
- /* @__PURE__ */ jsx("button", { type: "button", className: "sg-back", onClick: props.onBack, "aria-label": "Back", children: /* @__PURE__ */ jsx(BackGlyph, {}) }),
1895
- /* @__PURE__ */ jsx("div", { className: "sg-sel-title", children: props.title })
1896
- ] }),
1897
- /* @__PURE__ */ jsxs("div", { className: "sg-chain-grid", "data-scroll": props.chains.length > 14 ? void 0 : "false", role: "group", "aria-label": "Filter by chain", children: [
1898
- /* @__PURE__ */ jsx(ChainChip, { label: "All", selected: chainFilter == null, onClick: () => setChainFilter(null) }),
1899
- props.chains.map((c) => /* @__PURE__ */ jsx(
1900
- ChainChip,
1901
- {
1902
- chain: c,
1903
- label: chainBadge(Number(c.chainId)),
1904
- name: CHAIN_LABELS[Number(c.chainId)] || c.displayName || c.name || `Chain ${c.chainId}`,
1905
- selected: chainFilter === Number(c.chainId),
1906
- onClick: () => setChainFilter(Number(c.chainId))
1907
- },
1908
- c.chainId
1909
- ))
2267
+ document.addEventListener("keydown", onKey, true);
2268
+ return () => document.removeEventListener("keydown", onKey, true);
2269
+ }, []);
2270
+ return /* @__PURE__ */ jsxs("div", { className: "sg-cp-sheet", role: "dialog", "aria-modal": "true", "aria-label": "Compliance details", ref: sheetRef, tabIndex: -1, children: [
2271
+ /* @__PURE__ */ jsxs("div", { className: "sg-cp-sheet-head", children: [
2272
+ /* @__PURE__ */ jsx("h4", { className: "sg-cp-sheet-title", children: "Compliance details" }),
2273
+ /* @__PURE__ */ jsx("button", { type: "button", className: "sg-cp-close", onClick: onClose, "aria-label": "Close compliance details", children: /* @__PURE__ */ jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx("path", { d: "m6 6 12 12M18 6 6 18", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }) }) })
1910
2274
  ] }),
1911
- /* @__PURE__ */ jsxs("div", { className: "sg-search", children: [
1912
- /* @__PURE__ */ jsx(SearchGlyph, {}),
1913
- /* @__PURE__ */ 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" })
2275
+ /* @__PURE__ */ jsxs("div", { className: "sg-cp-tabs", role: "tablist", "aria-label": "Compliance details sections", children: [
2276
+ /* @__PURE__ */ jsx("button", { type: "button", role: "tab", "aria-selected": tab === "checks", "data-active": tab === "checks", className: "sg-cp-tab", onClick: () => setTab("checks"), children: "Quote checks" }),
2277
+ /* @__PURE__ */ jsx("button", { type: "button", role: "tab", "aria-selected": tab === "policy", "data-active": tab === "policy", className: "sg-cp-tab", onClick: () => setTab("policy"), children: "Screening policy" })
1914
2278
  ] }),
1915
- /* @__PURE__ */ jsx("div", { className: "sg-toklist", role: "group", "aria-label": props.title, children: rows.length ? rows.map((t) => {
1916
- const chainId = Number(t.chainId);
1917
- const key = `${chainId}:${String(t.address || "").toLowerCase()}`;
1918
- const bal = props.balances?.[key];
1919
- const st = props.optionStates?.[key];
1920
- const disabled = !!st?.disabled;
1921
- return /* @__PURE__ */ jsxs(
1922
- "button",
1923
- {
1924
- type: "button",
1925
- className: `sg-tokrow${disabled ? " sg-tokrow--off" : ""}`,
1926
- disabled,
1927
- "aria-disabled": disabled || void 0,
1928
- "data-disabled": disabled || void 0,
1929
- onClick: disabled ? void 0 : () => props.onPick({ chainId, symbol: t.symbol }),
1930
- children: [
1931
- /* @__PURE__ */ jsx(TokenGlyph, { symbol: t.symbol, logoUrl: t.logoUrl, chainId }),
1932
- /* @__PURE__ */ jsxs("span", { className: "sg-tokrow-main", children: [
1933
- /* @__PURE__ */ jsx("span", { className: "sg-tokrow-sym", children: tokenTicker(t) }),
1934
- /* @__PURE__ */ jsx("span", { className: "sg-tokrow-name", children: t.name || t.symbol })
1935
- ] }),
1936
- /* @__PURE__ */ jsxs("span", { className: "sg-tokrow-end", children: [
1937
- bal ? /* @__PURE__ */ jsx("span", { className: "sg-tokrow-bal sg-mono", children: bal.formatted }) : null,
1938
- st?.hint ? /* @__PURE__ */ jsx("span", { className: "sg-tokrow-hint", "data-tone": disabled ? void 0 : "note", children: st.hint }) : null,
1939
- /* @__PURE__ */ jsx("span", { className: "sg-tokrow-chain", children: CHAIN_LABELS[chainId] || `Chain ${chainId}` })
1940
- ] })
1941
- ]
1942
- },
1943
- `${chainId}:${t.address}`
1944
- );
1945
- }) : props.loading ? /* @__PURE__ */ jsx("div", { className: "sg-sel-empty", children: "Loading the token list\u2026" }) : /* @__PURE__ */ jsx("div", { className: "sg-sel-empty", children: "No tokens match \u2014 try another chain or search." }) })
2279
+ /* @__PURE__ */ jsx("div", { className: "sg-cp-sheet-body", children: tab === "checks" ? /* @__PURE__ */ jsx(QuoteChecks, { compliance, cv, checks, direct: !!props.direct, onViewPolicy: () => setTab("policy") }) : /* @__PURE__ */ jsx(ScreeningPolicy, { compliance }) })
1946
2280
  ] });
1947
2281
  }
2282
+ function CompliancePanel(props) {
2283
+ const [open, setOpen] = useState(false);
2284
+ const triggerRef = useRef(null);
2285
+ const compliance = props.compliance ?? null;
2286
+ const cv = complianceView(compliance, props.hasQuote ?? true);
2287
+ const tag = complianceTagOf(compliance);
2288
+ const close = () => {
2289
+ setOpen(false);
2290
+ requestAnimationFrame(() => triggerRef.current?.focus());
2291
+ };
2292
+ return /* @__PURE__ */ jsx("div", { className: "sg-cp", "data-tone": cv.tone, children: open ? /* @__PURE__ */ jsx(ComplianceSheet, { compliance, direct: props.direct, hasQuote: props.hasQuote, onClose: close }) : /* @__PURE__ */ jsxs(Fragment, { children: [
2293
+ /* @__PURE__ */ jsxs("button", { ref: triggerRef, type: "button", className: "sg-cp-row", "data-tone": cv.tone, onClick: () => setOpen(true), "aria-haspopup": "dialog", children: [
2294
+ /* @__PURE__ */ jsxs("span", { className: "sg-cp-row-main", children: [
2295
+ /* @__PURE__ */ jsx("span", { className: "sg-cp-row-glyph", children: /* @__PURE__ */ jsx(TriggerGlyph, { cv }) }),
2296
+ /* @__PURE__ */ jsx("span", { className: "sg-cp-row-label", children: cv.label })
2297
+ ] }),
2298
+ /* @__PURE__ */ jsx("span", { className: "sg-cp-row-chev", children: /* @__PURE__ */ jsx(Chevron, {}) })
2299
+ ] }),
2300
+ (cv.blocked || cv.needsAction) && tag ? /* @__PURE__ */ jsx("span", { className: "sg-cp-row-tag sg-mono", children: tag }) : null
2301
+ ] }) });
2302
+ }
1948
2303
  function useTxHistory(account) {
1949
2304
  const [entries, setEntries] = useState(() => readTxHistory(account));
1950
2305
  useEffect(() => {
@@ -3203,6 +3558,39 @@ function PaymentIsland(props) {
3203
3558
  ) }) })
3204
3559
  ] }) });
3205
3560
  }
3561
+ function PillLauncher(props) {
3562
+ injectStyles();
3563
+ const resolved = resolveTheme(props.theme);
3564
+ const vars = themeToVars(resolved);
3565
+ const openAs = props.openAs === "drawer" ? "drawer" : "modal";
3566
+ const [open, setOpen] = useState(!!props.defaultOpen);
3567
+ const buttonRef = useRef(null);
3568
+ const close = () => {
3569
+ setOpen(false);
3570
+ requestAnimationFrame(() => buttonRef.current?.focus());
3571
+ };
3572
+ useEffect(() => {
3573
+ if (!open) return;
3574
+ const onKey = (e) => {
3575
+ if (e.key === "Escape") close();
3576
+ };
3577
+ document.addEventListener("keydown", onKey);
3578
+ return () => document.removeEventListener("keydown", onKey);
3579
+ }, [open]);
3580
+ return /* @__PURE__ */ jsxs("div", { className: "sg-pill-root", "data-sg-mode": resolved.mode, style: vars, children: [
3581
+ /* @__PURE__ */ jsxs("button", { type: "button", ref: buttonRef, className: "sg-pillbtn", onClick: () => setOpen(true), "aria-haspopup": "dialog", "aria-expanded": open, children: [
3582
+ /* @__PURE__ */ jsxs("span", { className: "sg-pillbtn-lead", children: [
3583
+ /* @__PURE__ */ jsx(BrandMark, { size: 15, mono: true, className: "sg-pillbtn-mark" }),
3584
+ /* @__PURE__ */ jsx("span", { children: props.verb })
3585
+ ] }),
3586
+ props.amountLabel ? /* @__PURE__ */ jsx("b", { className: "sg-pillbtn-amt sg-mono", children: props.amountLabel }) : null
3587
+ ] }),
3588
+ open ? /* @__PURE__ */ jsxs("div", { className: "sg-overlay", "data-sg-overlay": openAs, children: [
3589
+ /* @__PURE__ */ jsx("button", { type: "button", className: "sg-overlay-scrim", tabIndex: -1, "aria-label": "Close", onClick: close }),
3590
+ /* @__PURE__ */ jsx("div", { className: "sg-dialog", role: "dialog", "aria-modal": "true", "aria-label": props.verb, children: props.children(close, openAs) })
3591
+ ] }) : null
3592
+ ] });
3593
+ }
3206
3594
  var STABLES2 = EXECUTABLE_STABLE_ASSETS;
3207
3595
  var DEFAULT_FUNDING_ASSETS = [...EXECUTABLE_STABLE_ASSETS];
3208
3596
  function CheckGlyph3() {
@@ -3222,8 +3610,19 @@ function CheckGlyph3() {
3222
3610
  }
3223
3611
  );
3224
3612
  }
3613
+ function atLeastCents(value) {
3614
+ if (!/^\d+(\.\d*)?$/.test(value)) return value;
3615
+ const [whole, frac = ""] = value.split(".");
3616
+ return frac.length >= 2 ? value : `${whole}.${frac.padEnd(2, "0")}`;
3617
+ }
3225
3618
  var addrEq2 = (a, b) => String(a || "").toLowerCase() === String(b || "").toLowerCase();
3226
3619
  function StableGeniePay(props) {
3620
+ const config = useMergedConfig(props);
3621
+ if (props.variant !== "pill") return /* @__PURE__ */ jsx(PayCard, { ...props });
3622
+ if (props.settlement === "bank") return /* @__PURE__ */ jsx(PaymentIsland, { kind: "pay", ...props });
3623
+ return /* @__PURE__ */ 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__ */ jsx(PayCard, { ...props, variant: void 0, onClose: close }) });
3624
+ }
3625
+ function PayCard(props) {
3227
3626
  const config = useMergedConfig(props);
3228
3627
  const engine = useEngine({
3229
3628
  apiBase: config.apiBase,
@@ -3252,11 +3651,11 @@ function StableGeniePay(props) {
3252
3651
  onSuccess: config.onSuccess,
3253
3652
  onError: config.onError
3254
3653
  });
3255
- const [method, setMethod] = useState("stablecoin");
3654
+ const method = "stablecoin";
3256
3655
  const fundingSet = useMemo(() => props.fundingAssets?.length ? new Set(props.fundingAssets.map((a) => a.toUpperCase())) : null, [props.fundingAssets]);
3257
3656
  const visibleRoutes = useMemo(() => {
3258
3657
  const base = fundingSet ? flow.routes.filter((r) => fundingSet.has(r.source.asset.toUpperCase()) || r.state === "DIRECT") : flow.routes;
3259
- return method === "stablecoin" ? base.filter((r) => STABLES2.has(symbolKey(r.source.asset))) : base;
3658
+ return base.filter((r) => STABLES2.has(symbolKey(r.source.asset))) ;
3260
3659
  }, [flow.routes, method, fundingSet]);
3261
3660
  const paymentPlan = flow.plan;
3262
3661
  const prefetchedBalances = paymentPlan && paymentPlan.fundingAccount === wallet.account?.toLowerCase() ? paymentPlan.fundingBalances : void 0;
@@ -3350,18 +3749,6 @@ function StableGeniePay(props) {
3350
3749
  const ids = new Set(fundingTokens.map((t) => Number(t.chainId)));
3351
3750
  return chains.filter((c) => ids.has(Number(c.chainId)));
3352
3751
  }, [chains, fundingTokens]);
3353
- const payableAssets = useMemo(() => {
3354
- const seen = /* @__PURE__ */ new Set();
3355
- const list = [];
3356
- for (const { route } of held) {
3357
- const symbol = symbolKey(route.source.asset);
3358
- if (seen.has(symbol)) continue;
3359
- seen.add(symbol);
3360
- const token = registryTokens.find((t) => Number(t.chainId) === route.source.chainId && addrEq2(t.address, route.source.tokenAddress));
3361
- list.push({ symbol: route.source.asset, logoUrl: token?.logoUrl });
3362
- }
3363
- return list;
3364
- }, [held, registryTokens]);
3365
3752
  const userPicked = useRef(false);
3366
3753
  const selectRoute = useCallback(
3367
3754
  (id) => {
@@ -3410,21 +3797,42 @@ function StableGeniePay(props) {
3410
3797
  const sel = flow.selected;
3411
3798
  const selectedVisible = Boolean(sel && visibleRoutes.some((r) => r.id === sel.id));
3412
3799
  const selBal = sel ? holdings.balances[balanceKey(sel.source.chainId, sel.source.tokenAddress)] : void 0;
3413
- 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` : (
3414
- // Deliberately does NOT restate the destination amount — that is merchant config, not a payer fact.
3415
- `Routed through ZeroDelta \xB7 the extra covers the network cost`
3416
- ) : "Pay with USDC, USDT, or USDE from your wallet.";
3417
- const comingSoon = method === "card" ? "Card payments are coming soon. Today StableGenie pays from your connected wallet." : "Bank transfers are coming soon.";
3418
- 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";
3800
+ const selToken = sel ? registryTokens.find((t) => Number(t.chainId) === sel.source.chainId && addrEq2(t.address, sel.source.tokenAddress)) ?? null : null;
3801
+ const [prices, setPrices] = useState({});
3802
+ const selSymbol = sel ? symbolKey(sel.source.asset) : "";
3803
+ useEffect(() => {
3804
+ if (props.variant === "pill" || !selSymbol || !engine.fetchPrices) return;
3805
+ let alive = true;
3806
+ engine.fetchPrices([selSymbol]).then((next) => {
3807
+ if (alive) setPrices((prev) => ({ ...prev, ...next }));
3808
+ });
3809
+ return () => {
3810
+ alive = false;
3811
+ };
3812
+ }, [engine, selSymbol, props.variant]);
3813
+ const [sheet, setSheet] = useState(false);
3814
+ const complianceBtnRef = useRef(null);
3815
+ useEffect(() => setSheet(false), [wallet.account, paramsKey]);
3816
+ const closeSheet = () => {
3817
+ setSheet(false);
3818
+ requestAnimationFrame(() => complianceBtnRef.current?.focus());
3819
+ };
3820
+ 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";
3419
3821
  const walletSlot = wallet.account ? /* @__PURE__ */ jsxs("div", { className: "sg-head-tools", children: [
3420
3822
  /* @__PURE__ */ jsx(HistoryButton, { btnRef: histBtnRef, disabled: submitting, onClick: () => setHist({}) }),
3421
- /* @__PURE__ */ jsxs("div", { className: "sg-brand", children: [
3422
- /* @__PURE__ */ jsx(BrandMark, { size: 14, className: "sg-brand-mark" }),
3423
- "ZeroDelta"
3823
+ /* @__PURE__ */ jsxs("span", { className: "sg-wallet", "data-connected": "true", children: [
3824
+ /* @__PURE__ */ jsx("span", { className: "sg-wallet-dot", "aria-hidden": "true" }),
3825
+ " ",
3826
+ shortAddress(wallet.account)
3424
3827
  ] })
3425
- ] }) : void 0;
3426
- if (props.variant === "pill") return /* @__PURE__ */ jsx(PaymentIsland, { kind: "pay", ...props });
3427
- return /* @__PURE__ */ jsx(WidgetShell, { title: config.title || "Complete payment", theme: config.theme, heightPx: props.heightPx, walletSlot, children: hist && wallet.account ? /* @__PURE__ */ jsx(TxHistoryPanel, { account: wallet.account, tokens: registryTokens, vaultIcons: catalogue?.vaultIcons, initialEntry: hist.entry ?? null, onBack: closeHistory }) : view === "select" && wallet.account ? /* @__PURE__ */ jsx(
3828
+ ] }) : /* @__PURE__ */ jsx("span", {});
3829
+ const nativeWei = sel ? routeNativeValue(sel) : 0n;
3830
+ const feeRows = sel ? [
3831
+ { label: "Network fee", value: nativeWei > 0n ? `~${formatNative(nativeWei)} ${nativeSymbol(sel.source.chainId)}` : "Gas only" },
3832
+ ...durationLabel(sel.quote.estimatedDuration) ? [{ label: "Estimated time", value: durationLabel(sel.quote.estimatedDuration) }] : []
3833
+ ] : [];
3834
+ const loadingPlan = flow.status === "loading" || holdings.loading && !sel;
3835
+ return /* @__PURE__ */ jsx(WidgetShell, { title: config.title || "Complete payment", theme: config.theme, heightPx: props.heightPx, walletSlot, onClose: props.onClose, children: hist && wallet.account ? /* @__PURE__ */ jsx(TxHistoryPanel, { account: wallet.account, tokens: registryTokens, vaultIcons: catalogue?.vaultIcons, initialEntry: hist.entry ?? null, onBack: closeHistory }) : view === "select" && wallet.account ? /* @__PURE__ */ jsx(
3428
3836
  TokenSelect,
3429
3837
  {
3430
3838
  title: "Pay with",
@@ -3435,9 +3843,12 @@ function StableGeniePay(props) {
3435
3843
  onBack: closeSelector,
3436
3844
  onPick: pickFunding
3437
3845
  }
3438
- ) : /* @__PURE__ */ jsx(Fragment, { children: !wallet.account ? /* @__PURE__ */ jsxs("div", { className: "sg-cta-wrap", children: [
3439
- /* @__PURE__ */ jsx(Button, { onClick: wallet.connect, busy: wallet.connecting, children: "Connect wallet" }),
3440
- wallet.error ? /* @__PURE__ */ jsx(StatusPanel, { tone: "error", children: wallet.error }) : null
3846
+ ) : sheet && sel ? /* @__PURE__ */ jsx(ComplianceSheet, { compliance: sel.quote.compliance, direct: sel.state === "DIRECT", onClose: closeSheet }) : /* @__PURE__ */ jsx(Fragment, { children: !wallet.account ? /* @__PURE__ */ jsxs(Fragment, { children: [
3847
+ /* @__PURE__ */ jsx("div", { className: "sg-pane sg-pane--note", children: "Connect your wallet to choose a token to pay with." }),
3848
+ /* @__PURE__ */ jsxs("div", { className: "sg-cta-wrap", children: [
3849
+ /* @__PURE__ */ jsx(Button, { onClick: wallet.connect, busy: wallet.connecting, children: "Connect wallet" }),
3850
+ wallet.error ? /* @__PURE__ */ jsx(StatusPanel, { tone: "error", children: wallet.error }) : null
3851
+ ] })
3441
3852
  ] }) : flow.status === "success" || flow.status === "pending" ? /* @__PURE__ */ jsxs(Fragment, { children: [
3442
3853
  /* @__PURE__ */ jsxs("div", { className: "sg-success", children: [
3443
3854
  /* @__PURE__ */ jsx("div", { className: "sg-success-check", "data-pending": flow.verdict?.status !== "confirmed", children: /* @__PURE__ */ jsx(CheckGlyph3, {}) }),
@@ -3454,45 +3865,43 @@ function StableGeniePay(props) {
3454
3865
  ] }),
3455
3866
  lastTxOwned ? /* @__PURE__ */ jsx("div", { className: "sg-cta-wrap", children: /* @__PURE__ */ jsx(Button, { variant: "ghost", onClick: () => setHist({ entry: flow.lastTxEntry }), children: "View transaction" }) }) : null
3456
3867
  ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
3457
- /* @__PURE__ */ jsx(MethodTabs, { value: method, onChange: setMethod }),
3458
- parked ? /* @__PURE__ */ jsx(StatusPanel, { children: comingSoon }) : /* @__PURE__ */ jsxs(Fragment, { children: [
3459
- /* @__PURE__ */ jsx("div", { style: { marginTop: 12 }, children: /* @__PURE__ */ jsx(
3460
- FundingTile,
3461
- {
3462
- label: "Pay with",
3463
- assets: payableAssets,
3464
- loading: flow.status === "loading" || holdings.loading,
3465
- disabled: submitting || !visibleRoutes.length,
3466
- btnRef: payTileRef,
3467
- onClick: () => setView("select")
3468
- }
3469
- ) }),
3470
- flow.status === "loading" ? /* @__PURE__ */ jsxs("div", { className: "sg-route", style: { marginTop: 12 }, children: [
3471
- /* @__PURE__ */ jsx("div", { className: "sg-skel" }),
3472
- /* @__PURE__ */ jsxs("div", { className: "sg-muted", style: { fontSize: 13 }, children: [
3473
- /* @__PURE__ */ jsx("span", { className: "sg-spinner" }),
3474
- " Finding the best way to pay\u2026"
3475
- ] })
3476
- ] }) : null,
3477
- flow.status === "error" && flow.error ? /* @__PURE__ */ jsx(StatusPanel, { tone: "error", children: flow.error }) : null,
3478
- sel && selectedVisible && flow.status !== "loading" ? /* @__PURE__ */ jsxs("div", { className: "sg-panel", style: { marginTop: 12 }, children: [
3479
- /* @__PURE__ */ jsx("div", { className: "sg-label", children: "You pay" }),
3480
- /* @__PURE__ */ jsxs("div", { className: "sg-anchor sg-mono", children: [
3481
- sel.source.payAmount,
3482
- " ",
3483
- sel.source.ticker || sel.source.asset
3868
+ /* @__PURE__ */ jsxs("div", { className: "sg-stack", children: [
3869
+ /* @__PURE__ */ jsxs("div", { className: "sg-pane", "data-kind": "pay", children: [
3870
+ /* @__PURE__ */ jsx("span", { className: "sg-pane-label", children: "You pay" }),
3871
+ /* @__PURE__ */ jsxs("div", { className: "sg-pane-mid", children: [
3872
+ /* @__PURE__ */ jsx("span", { className: "sg-amt-out", "aria-live": "polite", children: loadingPlan ? /* @__PURE__ */ jsx("span", { className: "sg-amt-empty", children: "\u2026" }) : sel && selectedVisible ? /* @__PURE__ */ jsx(AmountText, { value: atLeastCents(sel.source.payAmount) }) : /* @__PURE__ */ jsx("span", { className: "sg-amt-empty", children: "\u2014" }) }),
3873
+ /* @__PURE__ */ jsx(
3874
+ TokenButton,
3875
+ {
3876
+ label: "Pay with",
3877
+ symbol: sel && selectedVisible ? sel.source.asset : null,
3878
+ chainId: sel && selectedVisible ? sel.source.chainId : null,
3879
+ token: selToken,
3880
+ disabled: submitting || !visibleRoutes.length,
3881
+ btnRef: payTileRef,
3882
+ onClick: () => setView("select")
3883
+ }
3884
+ )
3484
3885
  ] }),
3485
- /* @__PURE__ */ jsxs("div", { className: "sg-anchor-sub", children: [
3486
- "on ",
3487
- CHAIN_LABELS[sel.source.chainId] || sel.source.chainName,
3488
- selBal ? ` \xB7 balance ${selBal.formatted}` : ""
3489
- ] })
3490
- ] }) : null,
3491
- why ? /* @__PURE__ */ jsx("div", { className: "sg-why", style: { marginTop: 10 }, children: why }) : null,
3886
+ /* @__PURE__ */ jsx(PaneFoot, { usd: sel && selectedVisible ? usdOf(sel.source.payAmount, prices[selSymbol]) : null, balance: selBal ? shortBalance(selBal.formatted) : null })
3887
+ ] }),
3888
+ flow.status === "error" && flow.error ? /* @__PURE__ */ jsx(StatusPanel, { tone: "error", children: flow.error }) : null,
3492
3889
  scannedEmpty ? /* @__PURE__ */ jsx("div", { className: "sg-note", children: "None of your balances can cover this yet \u2014 pick a different asset to fund with." }) : null,
3493
- flow.status === "ready" && !visibleRoutes.length ? /* @__PURE__ */ jsx(StatusPanel, { children: "No funding route matches the accepted assets for this payment." }) : null
3890
+ flow.status === "ready" && !visibleRoutes.length ? /* @__PURE__ */ jsx(StatusPanel, { children: "No funding route matches the accepted assets for this payment." }) : null,
3891
+ sel && flow.status !== "loading" ? /* @__PURE__ */ jsx(
3892
+ DetailButton,
3893
+ {
3894
+ btnRef: complianceBtnRef,
3895
+ size: "lg",
3896
+ icon: /* @__PURE__ */ jsx(ShieldTickGlyph, {}),
3897
+ iconTone: complianceIconTone(sel.quote.compliance),
3898
+ label: "Compliance",
3899
+ badge: complianceBadge(sel.quote.compliance),
3900
+ onClick: () => setSheet(true)
3901
+ }
3902
+ ) : null,
3903
+ sel && selectedVisible && flow.status !== "loading" ? /* @__PURE__ */ jsx(RateBox, { rowsOnly: true, rate: null, fromSymbol: "", toTicker: "", rows: feeRows }) : null
3494
3904
  ] }),
3495
- sel && flow.status !== "loading" ? /* @__PURE__ */ jsx(CompliancePanel, { compliance: sel.quote.compliance, direct: sel.state === "DIRECT" }) : null,
3496
3905
  submitting ? /* @__PURE__ */ jsx(StepList, { steps: flow.steps }) : null,
3497
3906
  /* @__PURE__ */ jsx("div", { className: "sg-cta-wrap", children: /* @__PURE__ */ jsx(
3498
3907
  Button,
@@ -3644,18 +4053,64 @@ function StableGenieSwap(props) {
3644
4053
  ] })
3645
4054
  ] });
3646
4055
  }
4056
+ function QuoteSheet(props) {
4057
+ const sheetRef = useRef(null);
4058
+ const onCloseRef = useRef(props.onClose);
4059
+ onCloseRef.current = props.onClose;
4060
+ useEffect(() => {
4061
+ sheetRef.current?.focus();
4062
+ const onKey = (e) => {
4063
+ if (e.key === "Escape") {
4064
+ e.stopPropagation();
4065
+ onCloseRef.current();
4066
+ }
4067
+ };
4068
+ document.addEventListener("keydown", onKey, true);
4069
+ return () => document.removeEventListener("keydown", onKey, true);
4070
+ }, []);
4071
+ return /* @__PURE__ */ jsxs("div", { className: "sg-cp-sheet", role: "dialog", "aria-modal": "true", "aria-label": "Quote details", ref: sheetRef, tabIndex: -1, children: [
4072
+ /* @__PURE__ */ jsxs("div", { className: "sg-cp-sheet-head", children: [
4073
+ /* @__PURE__ */ jsx("h4", { className: "sg-cp-sheet-title", children: "Quote details" }),
4074
+ /* @__PURE__ */ jsx("button", { type: "button", className: "sg-cp-close", onClick: () => onCloseRef.current(), "aria-label": "Close quote details", children: /* @__PURE__ */ jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx("path", { d: "m6 6 12 12M18 6 6 18", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }) }) })
4075
+ ] }),
4076
+ /* @__PURE__ */ jsxs("div", { className: "sg-cp-sheet-body", children: [
4077
+ /* @__PURE__ */ jsx("section", { className: "sg-cp-card", children: /* @__PURE__ */ jsx("dl", { className: "sg-cp-facts sg-qs-facts", children: props.facts.map((f) => /* @__PURE__ */ jsxs("div", { className: "sg-cp-fact", children: [
4078
+ /* @__PURE__ */ jsx("dt", { children: f.label }),
4079
+ /* @__PURE__ */ jsx("dd", { className: "sg-mono", children: f.value })
4080
+ ] }, f.label)) }) }),
4081
+ props.legs?.length ? /* @__PURE__ */ jsxs("section", { className: "sg-cp-card sg-legs", children: [
4082
+ /* @__PURE__ */ jsx("div", { className: "sg-legs-head", children: /* @__PURE__ */ jsxs("b", { children: [
4083
+ props.legs.length,
4084
+ " orders \xB7 one signature"
4085
+ ] }) }),
4086
+ /* @__PURE__ */ jsx("ol", { className: "sg-leg-list", children: props.legs.map((leg) => /* @__PURE__ */ jsxs("li", { className: "sg-leg", children: [
4087
+ /* @__PURE__ */ jsx("span", { className: "sg-leg-n", children: leg.index }),
4088
+ /* @__PURE__ */ jsxs("span", { className: "sg-leg-body", children: [
4089
+ /* @__PURE__ */ jsxs("span", { className: "sg-leg-line", children: [
4090
+ leg.fromTicker || leg.fromAsset || "?",
4091
+ " on ",
4092
+ leg.fromChainName,
4093
+ " \u2192 ",
4094
+ leg.toTicker || leg.toAsset || "?",
4095
+ " on ",
4096
+ leg.toChainName
4097
+ ] }),
4098
+ /* @__PURE__ */ jsxs("span", { className: "sg-leg-sub", children: [
4099
+ "Filled on ",
4100
+ leg.executionChainName
4101
+ ] })
4102
+ ] })
4103
+ ] }, leg.index)) })
4104
+ ] }) : null
4105
+ ] })
4106
+ ] });
4107
+ }
3647
4108
  var FIAT = [
3648
4109
  { code: "USD", glyph: "$", label: "US Dollar" },
3649
4110
  { code: "EUR", glyph: "\u20AC", label: "Euro" },
3650
4111
  { code: "GBP", glyph: "\xA3", label: "British Pound" },
3651
4112
  { code: "CHF", glyph: "\u20A3", label: "Swiss Franc" }
3652
4113
  ];
3653
- function ArrowGlyph2() {
3654
- return /* @__PURE__ */ 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: [
3655
- /* @__PURE__ */ jsx("path", { d: "M5 12h14" }),
3656
- /* @__PURE__ */ jsx("path", { d: "m13 6 6 6-6 6" })
3657
- ] });
3658
- }
3659
4114
  function RouteGlyph() {
3660
4115
  return /* @__PURE__ */ jsxs("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", "aria-hidden": "true", children: [
3661
4116
  /* @__PURE__ */ jsx("circle", { cx: "6", cy: "19", r: "2.4" }),
@@ -3679,7 +4134,21 @@ function FiatTile(props) {
3679
4134
  ] })
3680
4135
  ] });
3681
4136
  }
4137
+ function FiatButton(props) {
4138
+ return /* @__PURE__ */ jsxs("label", { className: "sg-tokbtn sg-tokbtn--fiat", children: [
4139
+ /* @__PURE__ */ jsx("span", { className: "sg-fiat", "data-size": "xs", "aria-hidden": "true", children: props.fiat.glyph }),
4140
+ /* @__PURE__ */ 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__ */ jsx("option", { value: f.code, children: f.code }, f.code)) })
4141
+ ] });
4142
+ }
3682
4143
  function StableGenieExchange(props) {
4144
+ const config = useMergedConfig(props);
4145
+ if (props.variant !== "pill") return /* @__PURE__ */ jsx(ExchangeCard, { ...props });
4146
+ const amountLabel = props.defaultAmount && props.defaultFromAsset ? `${props.defaultAmount} ${props.defaultFromAsset}` : void 0;
4147
+ const mode = props.mode ?? "exchange";
4148
+ const verb = mode === "onramp" ? "Buy with ZeroDelta" : mode === "offramp" ? "Cash out with ZeroDelta" : "Exchange with ZeroDelta";
4149
+ return /* @__PURE__ */ jsx(PillLauncher, { verb, amountLabel, openAs: props.openAs, theme: config.theme, children: (close, openAs) => /* @__PURE__ */ jsx(ExchangeCard, { ...props, variant: "compact", onClose: close, inDialog: openAs }) });
4150
+ }
4151
+ function ExchangeCard(props) {
3683
4152
  const config = useMergedConfig(props);
3684
4153
  const engine = useEngine({ apiBase: config.apiBase, apiKey: config.apiKey, trustedApiOrigin: config.trustedApiOrigin, rpcOverrides: config.rpcOverrides, onTransaction: config.onTransaction });
3685
4154
  const wallet = useWallet(config.provider);
@@ -3713,6 +4182,11 @@ function StableGenieExchange(props) {
3713
4182
  requestAnimationFrame(() => histBtnRef.current?.focus());
3714
4183
  };
3715
4184
  useEffect(() => setHist(null), [wallet.account]);
4185
+ const [sheet, setSheet] = useState(null);
4186
+ const fromTileRef = useRef(null);
4187
+ const toTileRef = useRef(null);
4188
+ const complianceBtnRef = useRef(null);
4189
+ const quoteBtnRef = useRef(null);
3716
4190
  const [from, setFrom] = useState(
3717
4191
  () => props.defaultFromChainId && props.defaultFromAsset ? { chainId: props.defaultFromChainId, symbol: symbolKey(props.defaultFromAsset) } : null
3718
4192
  );
@@ -3803,6 +4277,19 @@ function StableGenieExchange(props) {
3803
4277
  });
3804
4278
  }, [engine, wallet.account, tokens]);
3805
4279
  const fromBal = from && fromToken ? balances[balanceKey(from.chainId, fromToken.address)] : void 0;
4280
+ const [prices, setPrices] = useState({});
4281
+ useEffect(() => {
4282
+ if (isPill) return;
4283
+ const symbols = [from?.symbol, to?.symbol].filter((x) => !!x);
4284
+ if (!symbols.length || !engine.fetchPrices) return;
4285
+ let alive = true;
4286
+ engine.fetchPrices(symbols).then((next) => {
4287
+ if (alive) setPrices((prev) => ({ ...prev, ...next }));
4288
+ });
4289
+ return () => {
4290
+ alive = false;
4291
+ };
4292
+ }, [engine, from?.symbol, to?.symbol, isPill]);
3806
4293
  const paramsKey = `${mode}|${from?.chainId}|${from?.symbol}|${to?.chainId}|${toSymbol}|${normalizedAmount}|${props.recipient ?? ""}`;
3807
4294
  const flow = useFlow({
3808
4295
  engine,
@@ -3853,6 +4340,32 @@ function StableGenieExchange(props) {
3853
4340
  const title = config.title || (mode === "onramp" ? "Buy stablecoins" : mode === "offramp" ? "Cash out" : "Exchange");
3854
4341
  const soonLabel = mode === "onramp" ? "On-ramp coming soon" : "Off-ramp coming soon";
3855
4342
  const ctaLabel = rampMode ? soonLabel : submitting ? "Exchanging\u2026" : flow.insufficient ? "Insufficient balance" : flow.nativeShortfall || "Exchange";
4343
+ const selected = connected ? flow.selected : null;
4344
+ const hasQuote = Boolean(quotable && !quoting && !quoteError && receive);
4345
+ const nativeWei = (() => {
4346
+ try {
4347
+ if (selected) return routeNativeValue(selected);
4348
+ return preview.data ? BigInt(preview.data.nativeFeeRaw || "0") : 0n;
4349
+ } catch {
4350
+ return 0n;
4351
+ }
4352
+ })();
4353
+ const networkFee = nativeWei > 0n ? `~${formatNative(nativeWei)} ${nativeSymbol(from?.chainId ?? 1, chains)}` : "Gas only";
4354
+ const eta = durationLabel(meta?.duration);
4355
+ const rate = hasQuote && receive && Number(normalizedAmount) > 0 ? (Number(receive) / Number(normalizedAmount)).toFixed(6) : null;
4356
+ const rateRows = hasQuote ? [{ label: "Network fee", value: networkFee }, ...eta ? [{ label: "Estimated time", value: eta }] : []] : [];
4357
+ const via = selected ? selected.legs.length > 1 ? selected.legs[0]?.toTicker || selected.legs[0]?.toAsset || "" : null : preview.data?.via ?? null;
4358
+ const routeShape = via === null ? "Direct" : via ? `Via ${via}` : "Two steps";
4359
+ const compliance = selected?.quote.compliance;
4360
+ const complianceHasQuote = Boolean(selected && flow.status !== "loading");
4361
+ const fromUsd = usdOf(normalizedAmount, prices[from?.symbol ?? ""]);
4362
+ const toUsd = usdOf(receive, prices[to?.symbol ?? ""]);
4363
+ const flippable = !rampMode && !submitting && Boolean(to && sourceTokens.some((t) => Number(t.chainId) === to.chainId && symbolKey(t.symbol) === to.symbol));
4364
+ const flip = () => {
4365
+ if (!flippable) return;
4366
+ setFrom(to);
4367
+ setTo(from);
4368
+ };
3856
4369
  const walletSlot = /* @__PURE__ */ jsxs("div", { className: "sg-head-tools", children: [
3857
4370
  connected ? /* @__PURE__ */ jsx(HistoryButton, { btnRef: histBtnRef, disabled: submitting, onClick: () => setHist({}) }) : null,
3858
4371
  /* @__PURE__ */ jsx("button", { type: "button", className: "sg-wallet", "data-connected": connected || void 0, onClick: connected ? void 0 : wallet.connect, disabled: wallet.connecting, children: connected ? /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -3861,13 +4374,65 @@ function StableGenieExchange(props) {
3861
4374
  shortAddress(wallet.account)
3862
4375
  ] }) : wallet.connecting ? "Connecting\u2026" : "Connect wallet" })
3863
4376
  ] });
3864
- const fromTileRef = useRef(null);
3865
- const toTileRef = useRef(null);
3866
4377
  const closeSelector = (isFrom) => {
3867
4378
  setView("main");
3868
4379
  requestAnimationFrame(() => (isFrom ? fromTileRef : toTileRef).current?.focus());
3869
4380
  };
3870
- if (props.variant === "pill") return /* @__PURE__ */ jsx(PaymentIsland, { kind: "exchange", ...props });
4381
+ const closeSheet = () => {
4382
+ const was = sheet;
4383
+ setSheet(null);
4384
+ requestAnimationFrame(() => (was === "quote" ? quoteBtnRef : complianceBtnRef).current?.focus());
4385
+ };
4386
+ const pctChips = mode !== "onramp" ? (
4387
+ // a11y note: <fieldset> carries UA styling that would have to be reset on every host page;
4388
+ // role="group" gives the same semantics.
4389
+ /* @__PURE__ */ jsx("div", { className: "sg-pct-row", role: "group", "aria-label": "Amount shortcuts", children: [25, 50, 75, 100].map((p) => /* @__PURE__ */ jsx("button", { type: "button", className: "sg-pct", disabled: !fromBal || submitting, onClick: () => pct(p), children: p === 100 ? "MAX" : `${p}%` }, p)) })
4390
+ ) : null;
4391
+ const amountField = /* @__PURE__ */ jsx(AmountInput, { value: amount, onChange: setAmount, disabled: submitting, invalid: !!amountError, describedBy: amountNote ? amountNoteId : void 0 });
4392
+ const amountNoteEl = amountNote ? /* @__PURE__ */ jsx(AmountNote, { id: amountNoteId, tone: amountError ? "error" : "neutral", children: amountNote }) : null;
4393
+ const fiat = FIAT.find((f) => f.code === fiatCurrency) ?? FIAT[0];
4394
+ const complianceButton = (lg) => /* @__PURE__ */ jsx(
4395
+ DetailButton,
4396
+ {
4397
+ btnRef: complianceBtnRef,
4398
+ size: lg ? "lg" : void 0,
4399
+ icon: /* @__PURE__ */ jsx(ShieldTickGlyph, {}),
4400
+ iconTone: complianceIconTone(compliance, complianceHasQuote),
4401
+ label: "Compliance",
4402
+ badge: lg ? complianceBadge(compliance, complianceHasQuote) : null,
4403
+ onClick: () => setSheet("compliance")
4404
+ }
4405
+ );
4406
+ const quoteButton = (lg) => /* @__PURE__ */ jsx(
4407
+ DetailButton,
4408
+ {
4409
+ btnRef: quoteBtnRef,
4410
+ size: lg ? "lg" : void 0,
4411
+ icon: /* @__PURE__ */ jsx(QuoteGlyph, {}),
4412
+ label: "Quote",
4413
+ badge: lg && hasQuote ? { text: "Best return", tone: "info" } : null,
4414
+ onClick: () => setSheet("quote"),
4415
+ disabled: !hasQuote
4416
+ }
4417
+ );
4418
+ const rateBox = (open) => /* @__PURE__ */ jsx(RateBox, { rate, fromSymbol: from?.symbol ?? "", fromLogoUrl: fromToken?.logoUrl, toTicker, rows: rateRows, defaultOpen: open });
4419
+ const sheetBody = sheet === "compliance" ? /* @__PURE__ */ jsx(ComplianceSheet, { compliance, direct: selected?.state === "DIRECT", hasQuote: complianceHasQuote, onClose: closeSheet }) : sheet === "quote" && hasQuote ? /* @__PURE__ */ jsx(
4420
+ QuoteSheet,
4421
+ {
4422
+ onClose: closeSheet,
4423
+ facts: [
4424
+ { label: "Route", value: routeShape },
4425
+ { label: "Provider", value: meta?.bridge || "ZeroDelta" },
4426
+ { label: "You send", value: `${normalizedAmount} ${fromTicker}` },
4427
+ { label: "You receive", value: `${receive} ${toTicker}` },
4428
+ ...rate ? [{ label: "Rate", value: `1 ${fromTicker} = ${rate} ${toTicker}` }] : [],
4429
+ { label: "Fee", value: `${meta?.feeBps ?? 0} bps` },
4430
+ { label: "Network fee", value: networkFee },
4431
+ ...eta ? [{ label: "Estimated time", value: eta }] : []
4432
+ ],
4433
+ legs: selected && selected.legs.length > 1 ? selected.legs : void 0
4434
+ }
4435
+ ) : null;
3871
4436
  let body;
3872
4437
  if (hist && connected) {
3873
4438
  body = /* @__PURE__ */ jsx(TxHistoryPanel, { account: wallet.account, tokens, vaultIcons: catalogue?.vaultIcons, initialEntry: hist.entry ?? null, onBack: closeHistory });
@@ -3889,6 +4454,8 @@ function StableGenieExchange(props) {
3889
4454
  }
3890
4455
  }
3891
4456
  );
4457
+ } else if (sheetBody && !wide) {
4458
+ body = sheetBody;
3892
4459
  } else if (flow.status === "success" || flow.status === "pending") {
3893
4460
  body = /* @__PURE__ */ jsxs(Fragment, { children: [
3894
4461
  /* @__PURE__ */ jsxs("div", { className: "sg-success", children: [
@@ -3909,68 +4476,84 @@ function StableGenieExchange(props) {
3909
4476
  ] })
3910
4477
  ] });
3911
4478
  } else {
3912
- body = /* @__PURE__ */ jsxs(Fragment, { children: [
3913
- /* @__PURE__ */ jsxs("div", { className: "sg-ft", children: [
3914
- mode === "onramp" ? /* @__PURE__ */ jsx(FiatTile, { label: "From", currency: fiatCurrency, onCurrency: setFiatCurrency }) : /* @__PURE__ */ jsx(TokenTile, { label: "From", pick: from, token: fromToken, disabled: submitting, btnRef: fromTileRef, onClick: () => setView("from") }),
3915
- /* @__PURE__ */ jsx("span", { className: "sg-ft-arrow", "aria-hidden": "true", children: /* @__PURE__ */ jsx(ArrowGlyph2, {}) }),
3916
- mode === "offramp" ? /* @__PURE__ */ jsx(FiatTile, { label: "To", currency: fiatCurrency, onCurrency: setFiatCurrency }) : /* @__PURE__ */ jsx(TokenTile, { label: "To", pick: to, token: toToken, disabled: submitting, btnRef: toTileRef, onClick: () => setView("to") })
4479
+ const payToken = mode === "onramp" ? /* @__PURE__ */ jsx(FiatButton, { fiat, onCurrency: setFiatCurrency, disabled: submitting }) : /* @__PURE__ */ jsx(TokenButton, { label: "You pay", symbol: from?.symbol ?? null, chainId: from?.chainId ?? null, token: fromToken, disabled: submitting, btnRef: fromTileRef, onClick: () => setView("from") });
4480
+ const receiveToken = mode === "offramp" ? /* @__PURE__ */ jsx(FiatButton, { fiat, onCurrency: setFiatCurrency, disabled: submitting }) : /* @__PURE__ */ jsx(TokenButton, { label: "You receive", symbol: to?.symbol ?? null, chainId: to?.chainId ?? null, token: toToken, disabled: submitting, btnRef: toTileRef, onClick: () => setView("to") });
4481
+ const cta = /* @__PURE__ */ jsxs("div", { className: "sg-cta-wrap", children: [
4482
+ !connected && !rampMode ? /* @__PURE__ */ jsx(Button, { onClick: wallet.connect, busy: wallet.connecting, children: "Connect wallet" }) : /* @__PURE__ */ 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 }),
4483
+ wallet.error ? /* @__PURE__ */ jsx(StatusPanel, { tone: "error", children: wallet.error }) : null
4484
+ ] });
4485
+ const notices = /* @__PURE__ */ jsxs(Fragment, { children: [
4486
+ rampMode ? /* @__PURE__ */ 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,
4487
+ !rampMode && quoteError && !gatewayAmountError && !wide ? /* @__PURE__ */ jsx(StatusPanel, { tone: "error", children: quoteError }) : null
4488
+ ] });
4489
+ body = wide ? /* @__PURE__ */ jsxs(Fragment, { children: [
4490
+ /* @__PURE__ */ jsxs("div", { className: "sg-stack", children: [
4491
+ /* @__PURE__ */ jsxs("div", { className: "sg-ft", children: [
4492
+ mode === "onramp" ? /* @__PURE__ */ jsx(FiatTile, { label: "From", currency: fiatCurrency, onCurrency: setFiatCurrency }) : /* @__PURE__ */ jsx(TokenTile, { label: "From", pick: from, token: fromToken, disabled: submitting, btnRef: fromTileRef, onClick: () => setView("from") }),
4493
+ /* @__PURE__ */ jsx(FlipButton, { small: true, onClick: flip, disabled: !flippable }),
4494
+ mode === "offramp" ? /* @__PURE__ */ jsx(FiatTile, { label: "To", currency: fiatCurrency, onCurrency: setFiatCurrency }) : /* @__PURE__ */ jsx(TokenTile, { label: "To", pick: to, token: toToken, disabled: submitting, btnRef: toTileRef, onClick: () => setView("to") })
4495
+ ] }),
4496
+ /* @__PURE__ */ jsxs("div", { className: "sg-pane", "data-kind": "send", children: [
4497
+ /* @__PURE__ */ jsxs("div", { className: "sg-pane-top", children: [
4498
+ /* @__PURE__ */ jsx("span", { className: "sg-pane-label", children: mode === "onramp" ? `You pay (${fiatCurrency})` : "Send" }),
4499
+ pctChips
4500
+ ] }),
4501
+ amountField,
4502
+ amountNoteEl,
4503
+ /* @__PURE__ */ jsx(PaneFoot, { usd: mode === "onramp" ? null : fromUsd, balance: mode !== "onramp" && fromBal ? shortBalance(fromBal.formatted) : null })
4504
+ ] })
3917
4505
  ] }),
3918
- /* @__PURE__ */ jsxs("div", { className: "sg-panel", style: { marginTop: 12 }, children: [
3919
- /* @__PURE__ */ jsx("div", { className: "sg-label", children: mode === "onramp" ? `You pay (${fiatCurrency})` : "Send" }),
3920
- /* @__PURE__ */ jsxs("div", { className: "sg-send-row", children: [
3921
- mode === "onramp" ? /* @__PURE__ */ jsx("span", { className: "sg-fiat", children: FIAT.find((f) => f.code === fiatCurrency)?.glyph ?? "$" }) : from ? /* @__PURE__ */ jsx(TokenGlyph, { symbol: from.symbol, logoUrl: fromToken?.logoUrl, chainId: from.chainId, size: "sm" }) : null,
3922
- /* @__PURE__ */ jsx(
3923
- AmountInput,
3924
- {
3925
- value: amount,
3926
- onChange: setAmount,
3927
- disabled: submitting,
3928
- invalid: !!amountError,
3929
- describedBy: amountNote ? amountNoteId : void 0
3930
- }
3931
- )
4506
+ notices,
4507
+ submitting ? /* @__PURE__ */ jsx(StepList, { steps: flow.steps }) : null,
4508
+ cta
4509
+ ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
4510
+ /* @__PURE__ */ jsxs("div", { className: "sg-stack", children: [
4511
+ /* @__PURE__ */ jsxs("div", { className: "sg-pane", "data-kind": "pay", children: [
4512
+ /* @__PURE__ */ jsxs("div", { className: "sg-pane-top", children: [
4513
+ /* @__PURE__ */ jsx("span", { className: "sg-pane-label", children: mode === "onramp" ? `You pay (${fiatCurrency})` : "You pay" }),
4514
+ pctChips
4515
+ ] }),
4516
+ /* @__PURE__ */ jsxs("div", { className: "sg-pane-mid", children: [
4517
+ amountField,
4518
+ payToken
4519
+ ] }),
4520
+ amountNoteEl,
4521
+ /* @__PURE__ */ jsx(PaneFoot, { usd: mode === "onramp" ? null : fromUsd, balance: mode !== "onramp" && fromBal ? shortBalance(fromBal.formatted) : null })
3932
4522
  ] }),
3933
- amountNote ? /* @__PURE__ */ jsx(AmountNote, { id: amountNoteId, tone: amountError ? "error" : "neutral", children: amountNote }) : null,
3934
- mode !== "onramp" && fromBal ? /* @__PURE__ */ jsxs("div", { className: "sg-send-bal sg-mono", children: [
3935
- "Balance: ",
3936
- fromBal.formatted,
3937
- " ",
3938
- fromTicker
3939
- ] }) : null,
3940
- mode !== "onramp" ? (
3941
- // a11y note: <fieldset> carries UA styling that would
3942
- // have to be reset on every host page; role="group" gives the same semantics.
3943
- /* @__PURE__ */ jsx("div", { className: "sg-pct-row", role: "group", "aria-label": "Amount shortcuts", children: [25, 50, 75, 100].map((p) => /* @__PURE__ */ jsx("button", { type: "button", className: "sg-pct", disabled: !fromBal || submitting, onClick: () => pct(p), children: p === 100 ? "MAX" : `${p}%` }, p)) })
3944
- ) : null
4523
+ /* @__PURE__ */ jsx(FlipButton, { onClick: flip, disabled: !flippable }),
4524
+ /* @__PURE__ */ jsxs("div", { className: "sg-pane", "data-kind": "receive", children: [
4525
+ /* @__PURE__ */ jsx("span", { className: "sg-pane-label", children: product === "rwa" ? "You receive (estimated)" : "You receive" }),
4526
+ /* @__PURE__ */ jsxs("div", { className: "sg-pane-mid", children: [
4527
+ /* @__PURE__ */ jsx("span", { className: "sg-amt-out", "aria-live": "polite", children: rampMode ? /* @__PURE__ */ jsx("span", { className: "sg-amt-empty", children: "\u2014" }) : quoting ? /* @__PURE__ */ jsx("span", { className: "sg-amt-empty", children: "\u2026" }) : receive && quotable && !quoteError ? /* @__PURE__ */ jsx(AmountText, { value: receive }) : /* @__PURE__ */ jsx("span", { className: "sg-amt-empty", children: "0" }) }),
4528
+ receiveToken
4529
+ ] }),
4530
+ /* @__PURE__ */ jsx(PaneFoot, { usd: hasQuote ? toUsd : null })
4531
+ ] }),
4532
+ rampMode ? null : props.inDialog === "drawer" ? /* @__PURE__ */ jsxs(Fragment, { children: [
4533
+ complianceButton(true),
4534
+ quoteButton(true),
4535
+ rateBox(true)
4536
+ ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
4537
+ /* @__PURE__ */ jsxs("div", { className: "sg-dbtn-row", children: [
4538
+ complianceButton(),
4539
+ quoteButton()
4540
+ ] }),
4541
+ rateBox()
4542
+ ] })
3945
4543
  ] }),
3946
- rampMode ? /* @__PURE__ */ 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,
3947
- !rampMode && quoteError && !gatewayAmountError && !wide ? /* @__PURE__ */ jsx(StatusPanel, { tone: "error", children: quoteError }) : null,
3948
- !rampMode && !wide && quotable && !quoteError ? /* @__PURE__ */ jsxs("div", { className: "sg-panel", style: { marginTop: 12 }, children: [
3949
- /* @__PURE__ */ jsx("div", { className: "sg-label", children: "You receive (estimated)" }),
3950
- /* @__PURE__ */ jsx("div", { className: "sg-anchor sg-mono", children: quoting ? "\u2026" : receive ? `${receive} ${toTicker}` : "\u2014" }),
3951
- meta && !quoting ? /* @__PURE__ */ jsxs("div", { className: "sg-recv-sub", children: [
3952
- "via ",
3953
- meta.bridge,
3954
- " \xB7 fee ",
3955
- meta.feeBps,
3956
- " bps",
3957
- meta.duration ? ` \xB7 ~${meta.duration}s` : ""
3958
- ] }) : null
3959
- ] }) : null,
3960
- connected && flow.selected && flow.status !== "loading" ? /* @__PURE__ */ jsx(CompliancePanel, { compliance: flow.selected.quote.compliance, direct: flow.selected.state === "DIRECT" }) : null,
4544
+ notices,
3961
4545
  submitting ? /* @__PURE__ */ jsx(StepList, { steps: flow.steps }) : null,
3962
- /* @__PURE__ */ jsxs("div", { className: "sg-cta-wrap", children: [
3963
- !connected && !rampMode ? /* @__PURE__ */ jsx(Button, { onClick: wallet.connect, busy: wallet.connecting, children: "Connect wallet" }) : /* @__PURE__ */ 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 }),
3964
- wallet.error ? /* @__PURE__ */ jsx(StatusPanel, { tone: "error", children: wallet.error }) : null
3965
- ] })
4546
+ cta
3966
4547
  ] });
3967
4548
  }
3968
- const card = /* @__PURE__ */ jsx(WidgetShell, { title, theme: config.theme, heightPx: props.heightPx, walletSlot, children: body });
4549
+ const card = /* @__PURE__ */ jsx(WidgetShell, { title, theme: config.theme, heightPx: props.heightPx, walletSlot, onClose: props.onClose, wide, children: body });
3969
4550
  if (!wide) return card;
3970
4551
  const resolved = resolveTheme(config.theme);
3971
4552
  const vars = themeToVars(resolved);
3972
4553
  let side;
3973
- if (rampMode) {
4554
+ if (sheetBody) {
4555
+ side = sheetBody;
4556
+ } else if (rampMode) {
3974
4557
  side = /* @__PURE__ */ jsxs("div", { className: "sg-noroutes", children: [
3975
4558
  /* @__PURE__ */ jsx("span", { className: "sg-noroutes-icon", children: /* @__PURE__ */ jsx(RouteGlyph, {}) }),
3976
4559
  /* @__PURE__ */ jsx("div", { className: "sg-noroutes-title", children: soonLabel }),
@@ -3997,45 +4580,22 @@ function StableGenieExchange(props) {
3997
4580
  /* @__PURE__ */ jsx("div", { className: "sg-noroutes-title", children: "No routes available" }),
3998
4581
  /* @__PURE__ */ 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." })
3999
4582
  ] });
4000
- } else if (receive && quotable) {
4001
- side = /* @__PURE__ */ jsxs("div", { children: [
4002
- /* @__PURE__ */ jsxs("div", { className: "sg-recv-amt sg-mono", children: [
4003
- receive,
4004
- " ",
4005
- toTicker
4006
- ] }),
4007
- /* @__PURE__ */ jsxs("div", { className: "sg-recv-sub", children: [
4008
- "on ",
4009
- CHAIN_LABELS[to?.chainId ?? 0] || `Chain ${to?.chainId}`
4010
- ] }),
4011
- /* @__PURE__ */ jsxs("div", { className: "sg-meta", children: [
4012
- /* @__PURE__ */ jsxs("div", { className: "sg-meta-row", children: [
4013
- /* @__PURE__ */ jsx("span", { className: "sg-meta-label", children: "You send" }),
4014
- /* @__PURE__ */ jsxs("b", { className: "sg-mono", children: [
4015
- normalizedAmount,
4016
- " ",
4017
- fromTicker
4018
- ] })
4019
- ] }),
4020
- /* @__PURE__ */ jsxs("div", { className: "sg-meta-row", children: [
4021
- /* @__PURE__ */ jsx("span", { className: "sg-meta-label", children: "Route" }),
4022
- /* @__PURE__ */ jsx("b", { children: meta?.bridge || "ZeroDelta" })
4023
- ] }),
4024
- /* @__PURE__ */ jsxs("div", { className: "sg-meta-row", children: [
4025
- /* @__PURE__ */ jsx("span", { className: "sg-meta-label", children: "Fee" }),
4026
- /* @__PURE__ */ jsxs("b", { children: [
4027
- meta?.feeBps ?? 0,
4028
- " bps"
4029
- ] })
4583
+ } else if (hasQuote && receive) {
4584
+ side = /* @__PURE__ */ jsxs("div", { className: "sg-side-body", children: [
4585
+ /* @__PURE__ */ jsxs("div", { className: "sg-recv", children: [
4586
+ /* @__PURE__ */ jsxs("div", { className: "sg-recv-line", children: [
4587
+ /* @__PURE__ */ jsx(TokenGlyph, { symbol: to?.symbol ?? "", logoUrl: toToken?.logoUrl, chainId: to?.chainId, size: "xs" }),
4588
+ /* @__PURE__ */ jsx("span", { className: "sg-recv-amt", children: /* @__PURE__ */ jsx(AmountText, { value: receive, suffix: toTicker }) })
4030
4589
  ] }),
4031
- meta?.duration ? /* @__PURE__ */ jsxs("div", { className: "sg-meta-row", children: [
4032
- /* @__PURE__ */ jsx("span", { className: "sg-meta-label", children: "Est. time" }),
4033
- /* @__PURE__ */ jsxs("b", { children: [
4034
- "~",
4035
- meta.duration,
4036
- "s"
4037
- ] })
4038
- ] }) : null
4590
+ /* @__PURE__ */ jsxs("div", { className: "sg-recv-sub", children: [
4591
+ "On ",
4592
+ CHAIN_LABELS[to?.chainId ?? 0] || `Chain ${to?.chainId}`
4593
+ ] })
4594
+ ] }),
4595
+ /* @__PURE__ */ jsxs("div", { className: "sg-stack", children: [
4596
+ rateBox(true),
4597
+ complianceButton(true),
4598
+ quoteButton(true)
4039
4599
  ] })
4040
4600
  ] });
4041
4601
  } else {
@@ -4047,8 +4607,8 @@ function StableGenieExchange(props) {
4047
4607
  }
4048
4608
  return /* @__PURE__ */ jsx("div", { className: "sg-duo-wrap", "data-sg-mode": resolved.mode, style: vars, children: /* @__PURE__ */ jsxs("div", { className: "sg-duo", children: [
4049
4609
  card,
4050
- /* @__PURE__ */ jsxs("div", { className: "sg-widget", "data-sg-mode": resolved.mode, style: props.heightPx ? { height: props.heightPx } : void 0, children: [
4051
- /* @__PURE__ */ jsx("div", { className: "sg-side-title", children: "Receive" }),
4610
+ /* @__PURE__ */ jsxs("div", { className: "sg-widget", "data-sg-side": "", "data-sg-mode": resolved.mode, style: props.heightPx ? { height: props.heightPx } : void 0, children: [
4611
+ sheetBody ? null : /* @__PURE__ */ jsx("div", { className: "sg-side-title", children: product === "rwa" ? "You receive (estimated)" : "You receive" }),
4052
4612
  side
4053
4613
  ] })
4054
4614
  ] }) });