@initia/interwovenkit-react 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { toPrivyWalletConnector as Aa, toPrivyWallet as Ta } from "@privy-io/cross-app-connect/rainbow-kit";
2
2
  import { useSignMessage as Ea, useAccount as Bt, useDisconnect as qa, useConnect as Da, useChainId as Pa, useSwitchChain as Ra, useWatchAsset as Ba } from "wagmi";
3
3
  import { useSuspenseQuery as ce, useQueries as nn, queryOptions as Bn, useQuery as ue, useQueryClient as vt, useMutation as Ue, useIsMutating as Oa, useSuspenseInfiniteQuery as Ma, QueryClient as La, QueryClientProvider as Fa } from "@tanstack/react-query";
4
- import { getIbcDenom as Ua, createMoveClient as za, InitiaAddress as F, fromBaseUnit as Xt, formatNumber as Vr, createUserDerivedObjectAddress as _r, formatAmount as ie, resolveBcsType as Ka, truncate as pe, toBaseUnit as On } from "@initia/utils";
4
+ import { getIbcDenom as Ua, createMoveClient as za, InitiaAddress as F, fromBaseUnit as Xt, formatNumber as Vr, createUserDerivedObjectAddress as _r, formatAmount as ie, resolveBcsType as Ka, truncate as ge, toBaseUnit as On } from "@initia/utils";
5
5
  import { TxRaw as Gr, Tx as fr, AuthInfo as Ha, TxBody as Wa } from "cosmjs-types/cosmos/tx/v1beta1/tx.js";
6
6
  import { encodeSecp256k1Pubkey as Ls, pubkeyType as ja, pubkeyToAddress as Va } from "@cosmjs/amino";
7
7
  import { accountFromAny as Ga, SigningStargateClient as Qr, AminoTypes as Qa, QueryClient as Ya, setupTxExtension as Ja, calculateFee as Yr, GasPrice as Jr } from "@cosmjs/stargate";
@@ -228,7 +228,7 @@ function mn(e) {
228
228
  return t;
229
229
  }
230
230
  function mc(e) {
231
- const { chain_id: t, chain_name: s, pretty_name: r, logo_URIs: o, apis: a, metadata: i } = e, l = r || s, c = o?.png ?? "", { rpc: d, rest: h, api: m, ["json-rpc"]: _ } = a, f = mn(d), g = mn(h), p = i?.is_l1 ? mn(m) : g, w = i?.minitia?.type === "minievm" ? mn(_) : void 0;
231
+ const { chain_id: t, chain_name: s, pretty_name: r, logo_URIs: o, apis: a, metadata: i } = e, l = r || s, c = o?.png ?? "", { rpc: d, rest: h, ["json-rpc"]: m, indexer: _ } = a, f = mn(d), g = mn(h), p = mn(_), w = i?.minitia?.type === "minievm" ? mn(m) : void 0;
232
232
  return { ...e, chainId: t, name: l, logoUrl: c, rpcUrl: f, restUrl: g, indexerUrl: p, jsonRpcUrl: w };
233
233
  }
234
234
  function ne() {
@@ -255,7 +255,7 @@ function rn() {
255
255
  const { defaultChainId: e } = de();
256
256
  return He(e);
257
257
  }
258
- function ge() {
258
+ function ye() {
259
259
  const t = ne().find((s) => s.metadata?.is_l1);
260
260
  if (!t) throw new Error("Layer 1 not found");
261
261
  return t;
@@ -656,7 +656,7 @@ function Tc() {
656
656
  });
657
657
  }
658
658
  function ot(e) {
659
- const t = en(e), s = ge(), r = en(s), o = Ro(e);
659
+ const t = en(e), s = ye(), r = en(s), o = Ro(e);
660
660
  return (a) => {
661
661
  const i = t.find((c) => c.denom === a);
662
662
  if (i) return i;
@@ -671,7 +671,7 @@ function Po(e, t) {
671
671
  return o || s(e);
672
672
  }
673
673
  function Ro(e) {
674
- const t = ge(), s = en(e);
674
+ const t = ye(), s = en(e);
675
675
  return (r) => {
676
676
  if (e.metadata?.is_l1)
677
677
  return r;
@@ -726,7 +726,7 @@ const Zn = Pe("interwovenkit:account", {
726
726
  txs: (e, t) => [e, t]
727
727
  });
728
728
  function Bo() {
729
- const { restUrl: e } = ge(), { usernamesModuleAddress: t } = de();
729
+ const { restUrl: e } = ye(), { usernamesModuleAddress: t } = de();
730
730
  return Ec({ restUrl: e, moduleAddress: t });
731
731
  }
732
732
  function Oo() {
@@ -952,7 +952,7 @@ function Hc() {
952
952
  const Wc = "_status_tn9m1_1", jc = "_error_tn9m1_9", Cr = {
953
953
  status: Wc,
954
954
  error: jc
955
- }, G = ({ error: e, children: t }) => /* @__PURE__ */ n("p", { className: q(Cr.status, { [Cr.error]: e }), children: t }), ye = ({
955
+ }, G = ({ error: e, children: t }) => /* @__PURE__ */ n("p", { className: q(Cr.status, { [Cr.error]: e }), children: t }), he = ({
956
956
  errorBoundaryProps: e = { fallbackRender: ({ error: r }) => /* @__PURE__ */ n(G, { error: !0, children: r.message }) },
957
957
  suspenseFallback: t = /* @__PURE__ */ n(G, { children: "Loading..." }),
958
958
  children: s
@@ -1178,22 +1178,22 @@ const Vc = ({ children: e }) => {
1178
1178
  }, _l = 10;
1179
1179
  function Wo() {
1180
1180
  const e = se();
1181
- return (t) => Bn({
1181
+ return (t, s) => Bn({
1182
1182
  queryKey: Zn.txs(t.indexerUrl, e).queryKey,
1183
1183
  queryFn: async () => {
1184
- const s = {
1184
+ if (!s.enabled) return [];
1185
+ const r = {
1185
1186
  "pagination.reverse": !0,
1186
1187
  "pagination.limit": _l
1187
- };
1188
- return te.create({ prefixUrl: t.indexerUrl }).get(`indexer/tx/v1/txs/by_account/${e}`, { searchParams: s }).json();
1188
+ }, { txs: o } = await te.create({ prefixUrl: t.indexerUrl }).get(`indexer/tx/v1/txs/by_account/${e}`, { searchParams: r }).json();
1189
+ return o;
1189
1190
  },
1190
- select: (s) => s.txs,
1191
1191
  staleTime: U.SECOND
1192
1192
  });
1193
1193
  }
1194
- function fl(e) {
1195
- const t = Wo();
1196
- return ce(t(e));
1194
+ function fl(e, t) {
1195
+ const s = Wo();
1196
+ return ce(s(e, t));
1197
1197
  }
1198
1198
  function pl(e, t) {
1199
1199
  const s = e.flatMap((r, o) => (t[o] ?? []).map((i) => ({ ...i, chain: r })));
@@ -1203,7 +1203,7 @@ function pl(e, t) {
1203
1203
  }
1204
1204
  const gl = () => {
1205
1205
  const e = ne(), t = Wo(), s = nn({
1206
- queries: e.map((i) => t(i))
1206
+ queries: e.map((i) => t(i, { enabled: !0 }))
1207
1207
  }), r = s.map(Dt("data")), o = pl(e, r), a = s.some((i) => i.isLoading);
1208
1208
  return { activities: o, isLoading: a };
1209
1209
  };
@@ -1228,7 +1228,7 @@ function jo(e) {
1228
1228
  return t;
1229
1229
  }
1230
1230
  function Vo(e) {
1231
- const t = se(), { data: s } = fl(e);
1231
+ const t = se(), { data: s } = fl(e, { enabled: e.fees.fee_tokens.length >= 2 });
1232
1232
  if (e.fees.fee_tokens.length === 0)
1233
1233
  return null;
1234
1234
  const r = e.fees.fee_tokens[0].denom;
@@ -1702,7 +1702,7 @@ const gd = "_container_1xzyq_1", yd = "_toggle_1xzyq_5", vd = "_list_1xzyq_11",
1702
1702
  title: t,
1703
1703
  open: a,
1704
1704
  onOpenChange: h,
1705
- children: /* @__PURE__ */ n(ye, { children: r === "/tx" ? /* @__PURE__ */ n(Xo, {}) : s })
1705
+ children: /* @__PURE__ */ n(he, { children: r === "/tx" ? /* @__PURE__ */ n(Xo, {}) : s })
1706
1706
  }
1707
1707
  )
1708
1708
  ] });
@@ -1791,13 +1791,13 @@ const yt = ({ title: e, content: t, children: s, className: r }) => {
1791
1791
  /* @__PURE__ */ n(Dn, { value: r, children: ({ copy: a, copied: i }) => /* @__PURE__ */ u("button", { className: q(oe.derived, { [oe.copied]: i }), onClick: a, children: [
1792
1792
  /* @__PURE__ */ n("span", { className: oe.derivedLabel, children: "Derived from" }),
1793
1793
  /* @__PURE__ */ u("span", { className: oe.derivedAddress, children: [
1794
- /* @__PURE__ */ n("span", { className: oe.hexAddress, children: pe(r) }),
1794
+ /* @__PURE__ */ n("span", { className: oe.hexAddress, children: ge(r) }),
1795
1795
  /* @__PURE__ */ n(xs, { size: 12, className: oe.derivedCopy }),
1796
1796
  i && /* @__PURE__ */ n("span", { className: oe.copiedText, children: "Copied!" })
1797
1797
  ] })
1798
1798
  ] }) })
1799
1799
  ] });
1800
- }, Gd = "_header_1cvtq_1", Qd = "_account_1cvtq_16", Yd = "_name_1cvtq_27", Jd = "_address_1cvtq_31", Zd = "_icon_1cvtq_35", Xd = "_copied_1cvtq_42", eu = "_button_1cvtq_57", tu = "_qr_1cvtq_68", nu = "_disconnect_1cvtq_72", su = "_label_1cvtq_82", ru = "_expanded_1cvtq_90", me = {
1800
+ }, Gd = "_header_1cvtq_1", Qd = "_account_1cvtq_16", Yd = "_name_1cvtq_27", Jd = "_address_1cvtq_31", Zd = "_icon_1cvtq_35", Xd = "_copied_1cvtq_42", eu = "_button_1cvtq_57", tu = "_qr_1cvtq_68", nu = "_disconnect_1cvtq_72", su = "_label_1cvtq_82", ru = "_expanded_1cvtq_90", _e = {
1801
1801
  header: Gd,
1802
1802
  account: Qd,
1803
1803
  name: Yd,
@@ -1824,12 +1824,12 @@ const yt = ({ title: e, content: t, children: s, className: r }) => {
1824
1824
  };
1825
1825
  return M(() => () => {
1826
1826
  c.current && clearTimeout(c.current);
1827
- }, []), t ? /* @__PURE__ */ u("header", { className: me.header, children: [
1828
- /* @__PURE__ */ n(Dn, { value: r, children: ({ copy: f, copied: g }) => /* @__PURE__ */ u("button", { className: q(me.account, { [me.copied]: g }), onClick: f, children: [
1827
+ }, []), t ? /* @__PURE__ */ u("header", { className: _e.header, children: [
1828
+ /* @__PURE__ */ n(Dn, { value: r, children: ({ copy: f, copied: g }) => /* @__PURE__ */ u("button", { className: q(_e.account, { [_e.copied]: g }), onClick: f, children: [
1829
1829
  /* @__PURE__ */ n(K, { src: t.icon, width: 18, height: 18 }),
1830
- /* @__PURE__ */ n("div", { className: me.address, children: pe(r) }),
1831
- /* @__PURE__ */ n("div", { className: me.name, children: pe(a) }),
1832
- /* @__PURE__ */ n(xs, { className: me.icon, size: 12 }),
1830
+ /* @__PURE__ */ n("div", { className: _e.address, children: ge(r) }),
1831
+ /* @__PURE__ */ n("div", { className: _e.name, children: ge(a) }),
1832
+ /* @__PURE__ */ n(xs, { className: _e.icon, size: 12 }),
1833
1833
  g ? "Copied!" : ""
1834
1834
  ] }) }),
1835
1835
  e.metadata?.is_l1 && /* @__PURE__ */ n(
@@ -1837,21 +1837,21 @@ const yt = ({ title: e, content: t, children: s, className: r }) => {
1837
1837
  {
1838
1838
  title: "Initia address",
1839
1839
  content: () => /* @__PURE__ */ n(Vd, {}),
1840
- className: q(me.button, me.qr),
1840
+ className: q(_e.button, _e.qr),
1841
1841
  children: /* @__PURE__ */ n(Mi, { size: 16 })
1842
1842
  }
1843
1843
  ),
1844
1844
  /* @__PURE__ */ u(
1845
1845
  Ln.button,
1846
1846
  {
1847
- className: q(me.button, me.disconnect, { [me.expanded]: i }),
1847
+ className: q(_e.button, _e.disconnect, { [_e.expanded]: i }),
1848
1848
  style: d,
1849
1849
  onClick: h,
1850
1850
  onMouseLeave: m,
1851
1851
  onMouseEnter: _,
1852
1852
  children: [
1853
1853
  /* @__PURE__ */ n(Li, { size: 16 }),
1854
- /* @__PURE__ */ n("span", { className: me.label, children: "Disconnect" })
1854
+ /* @__PURE__ */ n("span", { className: _e.label, children: "Disconnect" })
1855
1855
  ]
1856
1856
  }
1857
1857
  )
@@ -1883,7 +1883,7 @@ function cu(e) {
1883
1883
  const lu = "_link_guafb_1", kr = {
1884
1884
  link: lu
1885
1885
  }, es = ({ chainId: e, txHash: t, accountAddress: s, pathSuffix: r, ...o }) => {
1886
- const { showIcon: a, className: i, children: l, onClick: c, ...d } = o, h = He(e), m = iu(h, { txHash: t, accountAddress: s, pathSuffix: r }), _ = t ? pe(t) : s ? pe(s) : "", f = l ?? _;
1886
+ const { showIcon: a, className: i, children: l, onClick: c, ...d } = o, h = He(e), m = iu(h, { txHash: t, accountAddress: s, pathSuffix: r }), _ = t ? ge(t) : s ? ge(s) : "", f = l ?? _;
1887
1887
  return m ? /* @__PURE__ */ u(
1888
1888
  "a",
1889
1889
  {
@@ -1965,7 +1965,7 @@ const hu = "_overlay_1dhd9_1", mu = "_content_1dhd9_27", _u = "_inner_1dhd9_58",
1965
1965
  o && /* @__PURE__ */ n(uu, {}),
1966
1966
  /* @__PURE__ */ n(du, {}),
1967
1967
  /* @__PURE__ */ n(ou, {}),
1968
- /* @__PURE__ */ n(ye, { errorBoundaryProps: _, children: e })
1968
+ /* @__PURE__ */ n(he, { errorBoundaryProps: _, children: e })
1969
1969
  ] }) })
1970
1970
  ] })
1971
1971
  }
@@ -2062,7 +2062,7 @@ const hu = "_overlay_1dhd9_1", mu = "_content_1dhd9_27", _u = "_inner_1dhd9_58",
2062
2062
  dt: Ru,
2063
2063
  asset: Bu
2064
2064
  }, Ou = ({ list: e, onNavigate: t, onDismiss: s }) => {
2065
- const r = ge(), o = rt(), a = ot(r);
2065
+ const r = ye(), o = rt(), a = ot(r);
2066
2066
  return /* @__PURE__ */ n(
2067
2067
  ta,
2068
2068
  {
@@ -2359,7 +2359,7 @@ const Yu = "_trigger_386xl_1", Ju = "_icon_386xl_21", Zu = "_full_386xl_25", Xu
2359
2359
  )
2360
2360
  ] })
2361
2361
  ] });
2362
- }, lh = "2.0.1", dh = "_version_1sf5y_1", uh = {
2362
+ }, lh = "2.0.2", dh = "_version_1sf5y_1", uh = {
2363
2363
  version: dh
2364
2364
  }, hh = () => /* @__PURE__ */ u("aside", { className: uh.version, children: [
2365
2365
  "v",
@@ -2812,7 +2812,7 @@ const cm = "_thumbnail_1lblb_1", lm = "_placeholder_1lblb_16", dm = "_clickable_
2812
2812
  ] }),
2813
2813
  /* @__PURE__ */ u("div", { className: $e.content, children: [
2814
2814
  /* @__PURE__ */ n("div", { className: $e.messages, children: /* @__PURE__ */ n(Cm, { messages: e.tx.body.messages }) }),
2815
- /* @__PURE__ */ n("div", { className: $e.changes, children: /* @__PURE__ */ n(ye, { suspenseFallback: null, errorBoundaryProps: { fallback: null }, children: /* @__PURE__ */ n($m, { ...e, chain: t }) }) })
2815
+ /* @__PURE__ */ n("div", { className: $e.changes, children: /* @__PURE__ */ n(he, { suspenseFallback: null, errorBoundaryProps: { fallback: null }, children: /* @__PURE__ */ n($m, { ...e, chain: t }) }) })
2816
2816
  ] })
2817
2817
  ] }) }), Fm = "_list_1wa9p_1", Um = "_dateGroup_1wa9p_7", zm = "_dateHeader_1wa9p_12", Km = "_more_1wa9p_18", vn = {
2818
2818
  list: Fm,
@@ -2822,6 +2822,7 @@ const cm = "_thumbnail_1lblb_1", lm = "_placeholder_1lblb_16", dm = "_clickable_
2822
2822
  }, Hm = ({ list: e, chainId: t }) => {
2823
2823
  const s = se(), r = H(() => e.reduce(
2824
2824
  (o, a) => {
2825
+ if (!a.timestamp) return o;
2825
2826
  const l = new Date(a.timestamp).toLocaleDateString("en-US", {
2826
2827
  month: "short",
2827
2828
  day: "numeric",
@@ -2837,7 +2838,7 @@ const cm = "_thumbnail_1lblb_1", lm = "_placeholder_1lblb_16", dm = "_clickable_
2837
2838
  return e.length === 0 ? /* @__PURE__ */ n(G, { children: "No activity found" }) : /* @__PURE__ */ u(z, { children: [
2838
2839
  /* @__PURE__ */ n("div", { className: vn.list, children: Object.entries(r).map(([o, a]) => /* @__PURE__ */ u("div", { className: vn.dateGroup, children: [
2839
2840
  /* @__PURE__ */ n("div", { className: vn.dateHeader, children: o }),
2840
- a.map((i) => /* @__PURE__ */ n(Lm, { txItem: i, chain: i.chain }, i.txhash))
2841
+ a.map((i) => /* @__PURE__ */ n(he, { errorBoundaryProps: { fallback: null }, children: /* @__PURE__ */ n(Lm, { txItem: i, chain: i.chain }) }, i.txhash))
2841
2842
  ] }, o)) }),
2842
2843
  /* @__PURE__ */ n(
2843
2844
  es,
@@ -2852,7 +2853,7 @@ const cm = "_thumbnail_1lblb_1", lm = "_placeholder_1lblb_16", dm = "_clickable_
2852
2853
  )
2853
2854
  ] });
2854
2855
  }, Wm = () => {
2855
- const { activities: e, isLoading: t } = gl(), [s, r] = Le(gh), o = ge(), a = H(() => Array.from(new Set(e.map((l) => l.chain.chainId))), [e]), i = H(() => s ? e.filter((l) => l.chain.chainId === s) : e, [e, s]);
2856
+ const { activities: e, isLoading: t } = gl(), [s, r] = Le(gh), o = ye(), a = H(() => Array.from(new Set(e.map((l) => l.chain.chainId))), [e]), i = H(() => s ? e.filter((l) => l.chain.chainId === s) : e, [e, s]);
2856
2857
  return t && e.length === 0 ? /* @__PURE__ */ n(G, { children: "Loading activities..." }) : !e.length && !t ? /* @__PURE__ */ n(G, { children: "No activity yet" }) : /* @__PURE__ */ u(Ze.Root, { children: [
2857
2858
  /* @__PURE__ */ n(Ze.Controls, { children: /* @__PURE__ */ n(
2858
2859
  cr,
@@ -3213,7 +3214,7 @@ function W_(e, t, s) {
3213
3214
  return ri(Zr(t.toLowerCase()), o);
3214
3215
  });
3215
3216
  }
3216
- const j_ = "_container_1voou_1", V_ = "_search_1voou_6", G_ = "_list_1voou_10", Q_ = "_item_1voou_14", Y_ = "_logo_1voou_35", J_ = "_info_1voou_39", Z_ = "_symbol_1voou_44", X_ = "_name_1voou_52", ef = "_balance_1voou_58", tf = "_value_1voou_65", fe = {
3217
+ const j_ = "_container_1voou_1", V_ = "_search_1voou_6", G_ = "_list_1voou_10", Q_ = "_item_1voou_14", Y_ = "_logo_1voou_35", J_ = "_info_1voou_39", Z_ = "_symbol_1voou_44", X_ = "_name_1voou_52", ef = "_balance_1voou_58", tf = "_value_1voou_65", pe = {
3217
3218
  container: j_,
3218
3219
  search: V_,
3219
3220
  list: G_,
@@ -3226,7 +3227,7 @@ const j_ = "_container_1voou_1", V_ = "_search_1voou_6", G_ = "_list_1voou_10",
3226
3227
  value: tf
3227
3228
  }, dn = (e) => {
3228
3229
  const { assets: t, onSelect: s, renderAsset: r = (l, c) => c(l) } = e, [o, a] = R(""), i = W_(["symbol"], o, t);
3229
- return /* @__PURE__ */ u("div", { className: fe.container, children: [
3230
+ return /* @__PURE__ */ u("div", { className: pe.container, children: [
3230
3231
  /* @__PURE__ */ n(
3231
3232
  ts,
3232
3233
  {
@@ -3234,28 +3235,28 @@ const j_ = "_container_1voou_1", V_ = "_search_1voou_6", G_ = "_list_1voou_10",
3234
3235
  onChange: (l) => a(l.target.value),
3235
3236
  onClear: () => a(""),
3236
3237
  placeholder: "Search by symbol",
3237
- rootClassName: fe.search,
3238
+ rootClassName: pe.search,
3238
3239
  padding: 20,
3239
3240
  ref: cn()
3240
3241
  }
3241
3242
  ),
3242
- i.length === 0 ? /* @__PURE__ */ n(G, { children: "No assets" }) : /* @__PURE__ */ n("div", { className: fe.list, children: i.map((l) => /* @__PURE__ */ n(
3243
+ i.length === 0 ? /* @__PURE__ */ n(G, { children: "No assets" }) : /* @__PURE__ */ n("div", { className: pe.list, children: i.map((l) => /* @__PURE__ */ n(
3243
3244
  "button",
3244
3245
  {
3245
3246
  type: "button",
3246
- className: fe.item,
3247
+ className: pe.item,
3247
3248
  onClick: () => s(l.denom),
3248
3249
  children: r(l, (c) => {
3249
3250
  const { denom: d, logoUrl: h, symbol: m, name: _, balance: f, decimals: g, value: p = 0 } = c;
3250
3251
  return /* @__PURE__ */ u(z, { children: [
3251
- /* @__PURE__ */ n(K, { src: h, width: 32, height: 32, className: fe.logo, logo: !0 }),
3252
- /* @__PURE__ */ u("div", { className: fe.info, children: [
3253
- /* @__PURE__ */ n("div", { className: fe.symbol, children: m || d }),
3254
- /* @__PURE__ */ n("div", { className: fe.name, children: _ })
3252
+ /* @__PURE__ */ n(K, { src: h, width: 32, height: 32, className: pe.logo, logo: !0 }),
3253
+ /* @__PURE__ */ u("div", { className: pe.info, children: [
3254
+ /* @__PURE__ */ n("div", { className: pe.symbol, children: m || d }),
3255
+ /* @__PURE__ */ n("div", { className: pe.name, children: _ })
3255
3256
  ] }),
3256
- /* @__PURE__ */ u("div", { className: fe.balance, children: [
3257
+ /* @__PURE__ */ u("div", { className: pe.balance, children: [
3257
3258
  f && /* @__PURE__ */ n("div", { children: ie(f, { decimals: g }) }),
3258
- p > 0 && /* @__PURE__ */ n("div", { className: fe.value, children: Xe(p) })
3259
+ p > 0 && /* @__PURE__ */ n("div", { className: pe.value, children: Xe(p) })
3259
3260
  ] })
3260
3261
  ] });
3261
3262
  })
@@ -3263,11 +3264,11 @@ const j_ = "_container_1voou_1", V_ = "_search_1voou_6", G_ = "_list_1voou_10",
3263
3264
  l.denom
3264
3265
  )) })
3265
3266
  ] });
3266
- }, nf = () => /* @__PURE__ */ u("div", { className: fe.container, children: [
3267
+ }, nf = () => /* @__PURE__ */ u("div", { className: pe.container, children: [
3267
3268
  /* @__PURE__ */ n(
3268
3269
  ts,
3269
3270
  {
3270
- rootClassName: fe.search,
3271
+ rootClassName: pe.search,
3271
3272
  padding: 20,
3272
3273
  placeholder: "Search by symbol",
3273
3274
  readOnly: !0
@@ -3289,7 +3290,7 @@ const sf = ({ chain: e, onSelect: t }) => {
3289
3290
  };
3290
3291
  return /* @__PURE__ */ u(z, { children: [
3291
3292
  /* @__PURE__ */ n(pt.Stack, { children: /* @__PURE__ */ n(pt, { chains: d, value: i, onSelect: l }) }),
3292
- /* @__PURE__ */ n(ye, { suspenseFallback: /* @__PURE__ */ n(dn.Placeholder, {}), children: /* @__PURE__ */ n(sf, { chain: c, onSelect: h }) }, i)
3293
+ /* @__PURE__ */ n(he, { suspenseFallback: /* @__PURE__ */ n(dn.Placeholder, {}), children: /* @__PURE__ */ n(sf, { chain: c, onSelect: h }) }, i)
3293
3294
  ] });
3294
3295
  }, of = "_fields_brpej_1", af = "_divider_brpej_11", qr = {
3295
3296
  fields: of,
@@ -3316,7 +3317,7 @@ const sf = ({ chain: e, onSelect: t }) => {
3316
3317
  staleTime: U.INFINITY
3317
3318
  }), y = Math.ceil(C * Tn), E = D_({ denom: h, balances: p, gasPrices: w, lastFeeDenom: k, gas: y }), { mutate: A, isPending: D } = Ue({
3318
3319
  mutationFn: ({ chainId: S, denom: O, quantity: T, recipient: re, memo: J }) => {
3319
- const ve = On(T, { decimals: b }), he = [
3320
+ const ve = On(T, { decimals: b }), me = [
3320
3321
  {
3321
3322
  typeUrl: "/cosmos.bank.v1beta1.MsgSend",
3322
3323
  value: vr.fromPartial({
@@ -3327,7 +3328,7 @@ const sf = ({ chain: e, onSelect: t }) => {
3327
3328
  }
3328
3329
  ];
3329
3330
  return r({
3330
- messages: he,
3331
+ messages: me,
3331
3332
  memo: J,
3332
3333
  chainId: S,
3333
3334
  gas: C,
@@ -3474,7 +3475,7 @@ const kf = "_header_5w36t_1", xf = "_name_5w36t_8", $f = "_collection_5w36t_15",
3474
3475
  }, qf = Pe("interwovenkit:send-nft", {
3475
3476
  simulation: (e) => [e]
3476
3477
  }), Df = () => {
3477
- const e = ne(), t = bt(), { chain: s, collection_addr: r, collection_name: o, image: a, name: i } = t, { routerApiUrl: l } = de(), c = Qn(), d = ge(), { address: h, initiaAddress: m, requestTxSync: _ } = Se(), { watch: f, setValue: g, handleSubmit: p, formState: w } = Ot(), k = f(), { recipient: N, dstChainId: $ } = k, b = He($), v = ue({
3478
+ const e = ne(), t = bt(), { chain: s, collection_addr: r, collection_name: o, image: a, name: i } = t, { routerApiUrl: l } = de(), c = Qn(), d = ye(), { address: h, initiaAddress: m, requestTxSync: _ } = Se(), { watch: f, setValue: g, handleSubmit: p, formState: w } = Ot(), k = f(), { recipient: N, dstChainId: $ } = k, b = He($), v = ue({
3478
3479
  queryKey: qf.simulation({
3479
3480
  collection_addr: r,
3480
3481
  nft: t,
@@ -3551,7 +3552,7 @@ const kf = "_header_5w36t_1", xf = "_name_5w36t_8", $f = "_collection_5w36t_15",
3551
3552
  return /* @__PURE__ */ n(Nt, { title: "Send NFT", children: /* @__PURE__ */ n(Ys, { ...t, children: /* @__PURE__ */ n(Df, {}) }) });
3552
3553
  };
3553
3554
  function Rf() {
3554
- return ge().network_type === "testnet";
3555
+ return ye().network_type === "testnet";
3555
3556
  }
3556
3557
  function it() {
3557
3558
  return Ot();
@@ -3713,7 +3714,7 @@ function Lf(e) {
3713
3714
  });
3714
3715
  }
3715
3716
  function Ff() {
3716
- const { watch: e } = it(), { srcChainId: t, srcDenom: s, dstChainId: r, dstDenom: o } = e(), a = De(t), i = tn(a), l = Fe(s, t), c = Fe(o, r), d = ge(), h = ne();
3717
+ const { watch: e } = it(), { srcChainId: t, srcDenom: s, dstChainId: r, dstDenom: o } = e(), a = De(t), i = tn(a), l = Fe(s, t), c = Fe(o, r), d = ye(), h = ne();
3717
3718
  return i === "initia" && r === d.chainId && l.symbol === c.symbol && h.find((m) => m.chainId === t)?.metadata?.op_denoms?.includes(c.denom);
3718
3719
  }
3719
3720
  function ur(e, t) {
@@ -3743,7 +3744,7 @@ const zf = ({ address: e, chain: t, onSelect: s }) => {
3743
3744
  Pt((a) => a.symbol.toLowerCase())
3744
3745
  ],
3745
3746
  r.filter((a) => !a.hidden).map((a) => {
3746
- const { denom: i, symbol: l = pe(i), logo_uri: c } = a, d = o[i] ?? {};
3747
+ const { denom: i, symbol: l = ge(i), logo_uri: c } = a, d = o[i] ?? {};
3747
3748
  return {
3748
3749
  ...a,
3749
3750
  symbol: l,
@@ -3790,7 +3791,7 @@ const zf = ({ address: e, chain: t, onSelect: s }) => {
3790
3791
  }
3791
3792
  )
3792
3793
  ] }),
3793
- /* @__PURE__ */ n(ye, { suspenseFallback: /* @__PURE__ */ n(dn.Placeholder, {}), children: /* @__PURE__ */ n(
3794
+ /* @__PURE__ */ n(he, { suspenseFallback: /* @__PURE__ */ n(dn.Placeholder, {}), children: /* @__PURE__ */ n(
3794
3795
  zf,
3795
3796
  {
3796
3797
  address: p({
@@ -3874,7 +3875,7 @@ const Hf = "_account_iwrlj_8", Wf = "_clear_iwrlj_27", jf = "_white_iwrlj_38", Y
3874
3875
  className: q(Yt.account, { [Yt.white]: !l }),
3875
3876
  children: l ? /* @__PURE__ */ u(z, { children: [
3876
3877
  m && /* @__PURE__ */ n(K, { src: m.image, width: 18, height: 18 }),
3877
- /* @__PURE__ */ n("span", { className: "monospace", children: pe(l) })
3878
+ /* @__PURE__ */ n("span", { className: "monospace", children: ge(l) })
3878
3879
  ] }) : /* @__PURE__ */ u(z, { children: [
3879
3880
  /* @__PURE__ */ n("span", { children: "Connect wallet" }),
3880
3881
  /* @__PURE__ */ n(io, { size: 14 })
@@ -3902,7 +3903,7 @@ const Hf = "_account_iwrlj_8", Wf = "_clear_iwrlj_27", jf = "_white_iwrlj_38", Y
3902
3903
  case "initia":
3903
3904
  case "evm":
3904
3905
  return p ? k(/* @__PURE__ */ n(zn, { size: 14 })) : /* @__PURE__ */ u("div", { className: Yt.account, children: [
3905
- /* @__PURE__ */ n("span", { className: "monospace", children: pe(l) }),
3906
+ /* @__PURE__ */ n("span", { className: "monospace", children: ge(l) }),
3906
3907
  /* @__PURE__ */ n(
3907
3908
  "button",
3908
3909
  {
@@ -3917,7 +3918,7 @@ const Hf = "_account_iwrlj_8", Wf = "_clear_iwrlj_27", jf = "_white_iwrlj_38", Y
3917
3918
  case "cosmos":
3918
3919
  return k(
3919
3920
  /* @__PURE__ */ u(z, { children: [
3920
- l ? /* @__PURE__ */ n("span", { className: "monospace", children: pe(l) }) : /* @__PURE__ */ n("span", { children: "Recipient" }),
3921
+ l ? /* @__PURE__ */ n("span", { className: "monospace", children: ge(l) }) : /* @__PURE__ */ n("span", { children: "Recipient" }),
3921
3922
  /* @__PURE__ */ n(Ki, { size: 14 })
3922
3923
  ] })
3923
3924
  );
@@ -4051,7 +4052,7 @@ const up = "_form_1coq4_1", hp = "_arrow_1coq4_5", mp = "_divider_1coq4_13", _p
4051
4052
  }), S = Dr(y, {
4052
4053
  isOpWithdraw: !0,
4053
4054
  disabled: !A
4054
- }), O = A && s === "op" ? S : D, { data: T, isLoading: re, isFetching: J, error: ve } = O, { data: he } = Lf(ve), zt = y && (re || J), Kt = () => {
4055
+ }), O = A && s === "op" ? S : D, { data: T, isLoading: re, isFetching: J, error: ve } = O, { data: me } = Lf(ve), zt = y && (re || J), Kt = () => {
4055
4056
  a("srcChainId", m), a("srcDenom", _), a("dstChainId", d), a("dstDenom", h), a("quantity", "", { shouldTouch: !1, shouldDirty: !1 });
4056
4057
  }, { openModal: St, closeModal: kt } = jn(), ke = i((L) => {
4057
4058
  if (T?.warning) {
@@ -4172,7 +4173,7 @@ const up = "_form_1coq4_1", hp = "_arrow_1coq4_5", mp = "_divider_1coq4_13", _p
4172
4173
  ] }) : null }),
4173
4174
  /* @__PURE__ */ u(X.Stack, { children: [
4174
4175
  T?.extra_infos?.map((L) => /* @__PURE__ */ n(X, { level: "info", children: L }, L)),
4175
- he && /* @__PURE__ */ n(X, { level: "info", children: he }),
4176
+ me && /* @__PURE__ */ n(X, { level: "info", children: me }),
4176
4177
  xa && $a && /* @__PURE__ */ n(X, { level: "warning", children: "Make sure to leave enough for transaction fee" }),
4177
4178
  T?.warning && /* @__PURE__ */ n(X, { level: "warning", children: T.warning.message }),
4178
4179
  T?.extra_warnings?.map((L) => /* @__PURE__ */ n(X, { level: "warning", children: L }, L))
@@ -4256,7 +4257,7 @@ const up = "_form_1coq4_1", hp = "_arrow_1coq4_5", mp = "_divider_1coq4_13", _p
4256
4257
  ] }) }),
4257
4258
  /* @__PURE__ */ n(ha, { offset: 0, disabled: y.length === 0, children: /* @__PURE__ */ n(W.Small, { onClick: () => t("/op/withdrawals"), disabled: !r, children: /* @__PURE__ */ n("span", { children: "Withdrawal status" }) }) })
4258
4259
  ] }),
4259
- children: x ? I() : /* @__PURE__ */ n(Ys, { ...a, children: /* @__PURE__ */ n(ye, { children: /* @__PURE__ */ n(Cp, {}) }) })
4260
+ children: x ? I() : /* @__PURE__ */ n(Ys, { ...a, children: /* @__PURE__ */ n(he, { children: /* @__PURE__ */ n(Cp, {}) }) })
4260
4261
  }
4261
4262
  );
4262
4263
  }, Ip = "_button_1iys9_1", Sp = {
@@ -4278,7 +4279,7 @@ const up = "_form_1coq4_1", hp = "_arrow_1coq4_5", mp = "_divider_1coq4_13", _p
4278
4279
  withdrawalClaimed: (e, t) => [e, t]
4279
4280
  });
4280
4281
  function rs() {
4281
- const { restUrl: e } = ge();
4282
+ const { restUrl: e } = ye();
4282
4283
  return H(() => te.create({ prefixUrl: e }), [e]);
4283
4284
  }
4284
4285
  function kp(e) {
@@ -4391,7 +4392,7 @@ const Ep = "_asset_6h8u2_1", qp = "_info_6h8u2_7", Dp = "_symbol_6h8u2_11", Is =
4391
4392
  info: qp,
4392
4393
  symbol: Dp
4393
4394
  }, Pp = ({ amount: e, denom: t }) => {
4394
- const s = ge(), r = Po(t, s), { symbol: o, logoUrl: a, decimals: i } = r;
4395
+ const s = ye(), r = Po(t, s), { symbol: o, logoUrl: a, decimals: i } = r;
4395
4396
  return /* @__PURE__ */ u("div", { className: Is.asset, children: [
4396
4397
  /* @__PURE__ */ n(K, { src: a, width: 32, height: 32, logo: !0 }),
4397
4398
  /* @__PURE__ */ u("div", { className: Is.info, children: [
@@ -4480,7 +4481,7 @@ const Ep = "_asset_6h8u2_1", qp = "_info_6h8u2_7", Dp = "_symbol_6h8u2_11", Is =
4480
4481
  from: l,
4481
4482
  to: c,
4482
4483
  version: d
4483
- } = e, h = ge(), m = se(), { requestTxSync: _, waitForTxConfirmation: f } = Se(), g = Tp(e), p = wt(va(e)), w = ya(e, p), k = vt(), { mutate: N, isPending: $ } = Ue({
4484
+ } = e, h = ye(), m = se(), { requestTxSync: _, waitForTxConfirmation: f } = Se(), g = Tp(e), p = wt(va(e)), w = ya(e, p), k = vt(), { mutate: N, isPending: $ } = Ue({
4484
4485
  mutationFn: async () => {
4485
4486
  if (!g) throw new Error("Output not found");
4486
4487
  const { last_block_hash: b } = g;
@@ -4534,7 +4535,7 @@ const Ep = "_asset_6h8u2_1", qp = "_info_6h8u2_7", Dp = "_symbol_6h8u2_11", Is =
4534
4535
  const { amount: d } = c;
4535
4536
  return /* @__PURE__ */ u("div", { className: Xp.item, children: [
4536
4537
  /* @__PURE__ */ n(Pp, { ...d }),
4537
- /* @__PURE__ */ n(ye, { suspenseFallback: null, children: /* @__PURE__ */ n(wa.Provider, { value: { chainId: e.chainId, withdrawalTx: c }, children: /* @__PURE__ */ n(Jp, {}) }) })
4538
+ /* @__PURE__ */ n(he, { suspenseFallback: null, children: /* @__PURE__ */ n(wa.Provider, { value: { chainId: e.chainId, withdrawalTx: c }, children: /* @__PURE__ */ n(Jp, {}) }) })
4538
4539
  ] }, c.sequence);
4539
4540
  }),
4540
4541
  o && /* @__PURE__ */ n(ga, { onClick: () => r(), disabled: a })
@@ -4558,7 +4559,7 @@ const Ep = "_asset_6h8u2_1", qp = "_info_6h8u2_7", Dp = "_symbol_6h8u2_11", Is =
4558
4559
  ),
4559
4560
  /* @__PURE__ */ n("div", { className: Kr.content, children: l ? /* @__PURE__ */ u(z, { children: [
4560
4561
  /* @__PURE__ */ n("h2", { className: Kr.title, children: l.name }),
4561
- /* @__PURE__ */ n(ye, { children: /* @__PURE__ */ n(eg, { chain: l }) }, r)
4562
+ /* @__PURE__ */ n(he, { children: /* @__PURE__ */ n(eg, { chain: l }) }, r)
4562
4563
  ] }) : /* @__PURE__ */ n(X, { level: "info", children: "Select a chain to display your OP Bridge withdrawals" }) })
4563
4564
  ] });
4564
4565
  };
@@ -4663,7 +4664,7 @@ function og(e) {
4663
4664
  }
4664
4665
  const { denom: J, gas_price: ve } = re;
4665
4666
  if (!ve) throw new Error(`Gas price not found for ${J}`);
4666
- const he = await O.simulate(h, A, ""), zt = Jr.fromString(ve.average + J), Kt = Yr(Math.ceil(he * Tn), zt), St = await O.signAndBroadcastSync(h, A, Kt), kt = Eo({ txHash: St, client: O });
4667
+ const me = await O.simulate(h, A, ""), zt = Jr.fromString(ve.average + J), Kt = Yr(Math.ceil(me * Tn), zt), St = await O.signAndBroadcastSync(h, A, Kt), kt = Eo({ txHash: St, client: O });
4667
4668
  return { txHash: St, wait: kt };
4668
4669
  }
4669
4670
  if ("evm_tx" in e) {
@@ -4686,11 +4687,11 @@ function og(e) {
4686
4687
  await D;
4687
4688
  const S = hr(l) === "OP Bridge withdrawal", O = S ? { success: !0, error: null } : await dg(E, A, d);
4688
4689
  if (!O.success && O.error) {
4689
- const he = O.error instanceof Error ? O.error.message : String(O.error);
4690
+ const me = O.error instanceof Error ? O.error.message : String(O.error);
4690
4691
  s({
4691
4692
  type: "error",
4692
4693
  title: "Transaction tracking failed",
4693
- description: `Failed to track transaction: ${he}. The transaction may still be processing.`,
4694
+ description: `Failed to track transaction: ${me}. The transaction may still be processing.`,
4694
4695
  autoHide: !0
4695
4696
  });
4696
4697
  }
@@ -4698,8 +4699,8 @@ function og(e) {
4698
4699
  a(J.tx, J.details), r(ig(o));
4699
4700
  const ve = Wr(c, A);
4700
4701
  if (i("Bridge Transaction Success", ve), S) {
4701
- const he = lg(J.tx, l, m);
4702
- y(J.tx, he);
4702
+ const me = lg(J.tx, l, m);
4703
+ y(J.tx, me);
4703
4704
  }
4704
4705
  } catch (S) {
4705
4706
  const O = S instanceof Error ? S.message : String(S);
@@ -4869,7 +4870,7 @@ function hr(e) {
4869
4870
  const { operations: t, dest_asset_denom: s } = e;
4870
4871
  return ii("op_init_transfer", Mn(t)) && s === "uinit" ? "OP Bridge withdrawal" : "Skip";
4871
4872
  }
4872
- const mg = "_content_c0tee_1", _g = "_info_c0tee_6", fg = "_arrow_c0tee_11", pg = "_divider_c0tee_19", gg = "_type_c0tee_26", yg = "_asset_c0tee_44", vg = "_amount_c0tee_52", wg = "_lower_c0tee_57", bg = "_chain_c0tee_63", Cg = "_address_c0tee_69", _e = {
4873
+ const mg = "_content_c0tee_1", _g = "_info_c0tee_6", fg = "_arrow_c0tee_11", pg = "_divider_c0tee_19", gg = "_type_c0tee_26", yg = "_asset_c0tee_44", vg = "_amount_c0tee_52", wg = "_lower_c0tee_57", bg = "_chain_c0tee_63", Cg = "_address_c0tee_69", fe = {
4873
4874
  content: mg,
4874
4875
  info: _g,
4875
4876
  arrow: fg,
@@ -4881,28 +4882,28 @@ const mg = "_content_c0tee_1", _g = "_info_c0tee_6", fg = "_arrow_c0tee_11", pg
4881
4882
  chain: bg,
4882
4883
  address: Cg
4883
4884
  }, Ia = (e) => {
4884
- const { source: t, label: s, amount: r, denom: o, chainId: a, address: i, walletIcon: l } = e, { symbol: c = pe(o), decimals: d = 0, logo_uri: h = er } = e, { chain_name: m, pretty_name: _, ...f } = De(a);
4885
+ const { source: t, label: s, amount: r, denom: o, chainId: a, address: i, walletIcon: l } = e, { symbol: c = ge(o), decimals: d = 0, logo_uri: h = er } = e, { chain_name: m, pretty_name: _, ...f } = De(a);
4885
4886
  return /* @__PURE__ */ u("div", { children: [
4886
- !t && /* @__PURE__ */ u("div", { className: _e.arrow, children: [
4887
- /* @__PURE__ */ n("div", { className: _e.divider }),
4888
- s ? /* @__PURE__ */ n(ln, { label: s, children: /* @__PURE__ */ n("button", { className: _e.type, children: /* @__PURE__ */ n($s, { size: 12 }) }) }) : /* @__PURE__ */ n("span", { className: _e.type, children: /* @__PURE__ */ n($s, { size: 12 }) }),
4889
- /* @__PURE__ */ n("div", { className: _e.divider })
4887
+ !t && /* @__PURE__ */ u("div", { className: fe.arrow, children: [
4888
+ /* @__PURE__ */ n("div", { className: fe.divider }),
4889
+ s ? /* @__PURE__ */ n(ln, { label: s, children: /* @__PURE__ */ n("button", { className: fe.type, children: /* @__PURE__ */ n($s, { size: 12 }) }) }) : /* @__PURE__ */ n("span", { className: fe.type, children: /* @__PURE__ */ n($s, { size: 12 }) }),
4890
+ /* @__PURE__ */ n("div", { className: fe.divider })
4890
4891
  ] }),
4891
- /* @__PURE__ */ u("div", { className: _e.content, children: [
4892
+ /* @__PURE__ */ u("div", { className: fe.content, children: [
4892
4893
  /* @__PURE__ */ n(ns, { assetLogoUrl: h, chainLogoUrl: f.logo_uri ?? void 0 }),
4893
- /* @__PURE__ */ u("div", { className: _e.info, children: [
4894
- /* @__PURE__ */ u("div", { className: _e.asset, children: [
4895
- /* @__PURE__ */ n("span", { className: _e.amount, children: ie(r, { decimals: d }) }),
4894
+ /* @__PURE__ */ u("div", { className: fe.info, children: [
4895
+ /* @__PURE__ */ u("div", { className: fe.asset, children: [
4896
+ /* @__PURE__ */ n("span", { className: fe.amount, children: ie(r, { decimals: d }) }),
4896
4897
  /* @__PURE__ */ n("span", { children: c })
4897
4898
  ] }),
4898
- /* @__PURE__ */ u("div", { className: _e.lower, children: [
4899
- /* @__PURE__ */ u("div", { className: _e.chain, children: [
4899
+ /* @__PURE__ */ u("div", { className: fe.lower, children: [
4900
+ /* @__PURE__ */ u("div", { className: fe.chain, children: [
4900
4901
  "on ",
4901
4902
  _ || m
4902
4903
  ] }),
4903
- i && /* @__PURE__ */ n(Dn, { value: i, children: ({ copy: g, copied: p }) => /* @__PURE__ */ u("button", { className: _e.address, onClick: g, children: [
4904
+ i && /* @__PURE__ */ n(Dn, { value: i, children: ({ copy: g, copied: p }) => /* @__PURE__ */ u("button", { className: fe.address, onClick: g, children: [
4904
4905
  l,
4905
- p ? /* @__PURE__ */ n("span", { children: "Copied!" }) : /* @__PURE__ */ n("span", { className: "monospace", children: pe(i) })
4906
+ p ? /* @__PURE__ */ n("span", { children: "Copied!" }) : /* @__PURE__ */ n("span", { className: "monospace", children: ge(i) })
4906
4907
  ] }) })
4907
4908
  ] })
4908
4909
  ] })
@@ -4988,7 +4989,7 @@ const Ag = ({ addressList: e }) => {
4988
4989
  /* @__PURE__ */ u("div", { className: Zt.route, children: [
4989
4990
  /* @__PURE__ */ n(qt, { ...p, source: !0 }),
4990
4991
  /* @__PURE__ */ n(Me.Content, { className: Zt.content, children: $.map((v, x) => /* @__PURE__ */ n(
4991
- ye,
4992
+ he,
4992
4993
  {
4993
4994
  suspenseFallback: /* @__PURE__ */ n(qt.Placeholder, { ...v }),
4994
4995
  errorBoundaryProps: { fallback: /* @__PURE__ */ n(qt.Placeholder, { ...v }) },
@@ -5208,7 +5209,7 @@ const Hg = "_link_1uidr_1", Wg = "_header_1uidr_22", jg = "_title_1uidr_30", Vg
5208
5209
  dest_asset_chain_id: k,
5209
5210
  dest_asset_denom: N,
5210
5211
  estimated_fees: $ = []
5211
- } = a, b = De(p), v = De(k), x = Fe(w, p), C = Fe(N, k), I = (T, re) => re ? /* @__PURE__ */ n(K, { src: re, width: 12, height: 12 }) : F.equals(T, h) ? /* @__PURE__ */ n(K, { src: m?.icon, width: 12, height: 12 }) : /* @__PURE__ */ n(zn, { size: 12 }), y = (T, { symbol: re, decimals: J, logo_uri: ve }, { chain_name: he, pretty_name: zt, ...Kt }, St, kt) => /* @__PURE__ */ u("div", { className: Z.row, children: [
5212
+ } = a, b = De(p), v = De(k), x = Fe(w, p), C = Fe(N, k), I = (T, re) => re ? /* @__PURE__ */ n(K, { src: re, width: 12, height: 12 }) : F.equals(T, h) ? /* @__PURE__ */ n(K, { src: m?.icon, width: 12, height: 12 }) : /* @__PURE__ */ n(zn, { size: 12 }), y = (T, { symbol: re, decimals: J, logo_uri: ve }, { chain_name: me, pretty_name: zt, ...Kt }, St, kt) => /* @__PURE__ */ u("div", { className: Z.row, children: [
5212
5213
  /* @__PURE__ */ n(ns, { assetLogoUrl: ve, chainLogoUrl: Kt.logo_uri ?? void 0 }),
5213
5214
  /* @__PURE__ */ u("div", { children: [
5214
5215
  /* @__PURE__ */ u("div", { className: Z.asset, children: [
@@ -5218,11 +5219,11 @@ const Hg = "_link_1uidr_1", Wg = "_header_1uidr_22", jg = "_title_1uidr_30", Vg
5218
5219
  /* @__PURE__ */ u("div", { className: Z.chain, children: [
5219
5220
  /* @__PURE__ */ u("span", { children: [
5220
5221
  "on ",
5221
- zt || he
5222
+ zt || me
5222
5223
  ] }),
5223
5224
  /* @__PURE__ */ u("div", { className: Z.account, children: [
5224
5225
  kt,
5225
- /* @__PURE__ */ n("span", { className: "monospace", children: pe(St) })
5226
+ /* @__PURE__ */ n("span", { className: "monospace", children: ge(St) })
5226
5227
  ] })
5227
5228
  ] })
5228
5229
  ] })
@@ -5292,7 +5293,7 @@ const Hg = "_link_1uidr_1", Wg = "_header_1uidr_22", jg = "_title_1uidr_30", Vg
5292
5293
  className: Nn.checkbox
5293
5294
  }
5294
5295
  ) }),
5295
- h.length === 0 ? /* @__PURE__ */ n(G, { children: "No bridge/swap activity" }) : m.map((_, f) => /* @__PURE__ */ n("div", { className: Nn.item, children: /* @__PURE__ */ n(ye, { children: /* @__PURE__ */ n(oy, { tx: _ }) }) }, f)),
5296
+ h.length === 0 ? /* @__PURE__ */ n(G, { children: "No bridge/swap activity" }) : m.map((_, f) => /* @__PURE__ */ n("div", { className: Nn.item, children: /* @__PURE__ */ n(he, { children: /* @__PURE__ */ n(oy, { tx: _ }) }) }, f)),
5296
5297
  h.length > i * Hr ? /* @__PURE__ */ n(ga, { onClick: () => l((_) => _ + 1) }) : s.length >= Rn && /* @__PURE__ */ u(G, { children: [
5297
5298
  "Only the latest ",
5298
5299
  Rn,
@@ -5342,7 +5343,7 @@ const Hg = "_link_1uidr_1", Wg = "_header_1uidr_22", jg = "_title_1uidr_30", Vg
5342
5343
  /* @__PURE__ */ n("link", { rel: "stylesheet", href: "https://assets.initia.xyz/fonts/PilatWide.css" })
5343
5344
  ] }), my = () => {
5344
5345
  ne();
5345
- const e = ge();
5346
+ const e = ye();
5346
5347
  return rr(), Rt(localStorage.getItem(B.BRIDGE_SRC_CHAIN_ID) ?? e.chainId), Rt(localStorage.getItem(B.BRIDGE_DST_CHAIN_ID) ?? e.chainId), null;
5347
5348
  }, _y = new La({ defaultOptions: { queries: { retry: 0 } } }), vv = ({ children: e, ...t }) => (M(() => {
5348
5349
  Hc();
@@ -5352,11 +5353,11 @@ const Hg = "_link_1uidr_1", Wg = "_header_1uidr_22", jg = "_title_1uidr_30", Vg
5352
5353
  e,
5353
5354
  /* @__PURE__ */ u(Fa, { client: _y, children: [
5354
5355
  /* @__PURE__ */ n(Dd, {}),
5355
- /* @__PURE__ */ n(ye, { suspenseFallback: null, errorBoundaryProps: { fallback: null }, children: /* @__PURE__ */ n(my, {}) }),
5356
+ /* @__PURE__ */ n(he, { suspenseFallback: null, errorBoundaryProps: { fallback: null }, children: /* @__PURE__ */ n(my, {}) }),
5356
5357
  /* @__PURE__ */ n(fu, { children: /* @__PURE__ */ n(Sa, {}) })
5357
5358
  ] })
5358
5359
  ] }) }) }) }) }) })
5359
- ] }) : null), wv = ({ bridge: e }) => /* @__PURE__ */ n(go, { initialEntry: { path: e ? "/bridge" : "/", state: e }, children: /* @__PURE__ */ n("div", { className: "body", children: /* @__PURE__ */ n(Ko.Provider, { value: !!e, children: /* @__PURE__ */ n(ye, { children: /* @__PURE__ */ n(Sa, {}) }) }) }) });
5360
+ ] }) : null), wv = ({ bridge: e }) => /* @__PURE__ */ n(go, { initialEntry: { path: e ? "/bridge" : "/", state: e }, children: /* @__PURE__ */ n("div", { className: "body", children: /* @__PURE__ */ n(Ko.Provider, { value: !!e, children: /* @__PURE__ */ n(he, { children: /* @__PURE__ */ n(Sa, {}) }) }) }) });
5360
5361
  export {
5361
5362
  Tn as DEFAULT_GAS_ADJUSTMENT,
5362
5363
  oc as DEFAULT_GAS_PRICE_MULTIPLIER,