@dogeos/dogeos-sdk 3.0.7-beta.1 → 3.0.7-beta.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.
Files changed (3) hide show
  1. package/README.md +14 -0
  2. package/dist/index.js +984 -972
  3. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
- import { jsxs as v, jsx as i, Fragment as ot } from "react/jsx-runtime";
2
- import { createContext as xr, useState as N, useRef as ce, useEffect as Z, useMemo as B, useContext as V, useCallback as T } from "react";
3
- import { Button as X, BackIcon as ct, CloseIcon as at, OkIcon as lt, CopyIcon as pr, Image as ne, PowerIcon as br, DownIcon as zr, Spinner as te, Skeleton as wr, Modal as At, Link as Te, TomoLogoIcon as Ir, Card as Pr, CardBody as Br, Tabs as yr, Tab as hr, Chip as Ln, SearchIcon as Mr, Input as bn, SearchOutlinedIcon as Wr, addToast as Vr, RightArrowIcon as zn, ModalHeader as Xr, ModalBody as Nr, ModalContent as jr, TomoUIProvider as Tr, ToastProvider as Er } from "@tomo-inc/tomo-ui";
4
- import { isMobile as on, metaMaskWallet as Lr, phantomWallet as Sr, coinbaseWallet as Or, binanceWallet as Yr, walletConnectWallet as Zr, loadConnectors as kr, ProviderProtocol as Sn, connect as Jr, switchChain as On, addChain as Fr, signMessage as Dr, signInWithWallet as Hr, setWalletConnectConfig as Qr } from "@tomo-inc/wallet-adaptor-base";
5
- import { useMutation as wn, useQuery as qr, QueryClientProvider as Kr, QueryClient as Gr } from "@tanstack/react-query";
6
- import Ur from "copy-to-clipboard";
7
- import Rr from "qr-code-styling";
8
- import { EmbeddedWallet as _r } from "@tomo-inc/embedded-wallet-providers";
9
- import { useConfig as Yn, useConnect as $r, useDisconnect as es, useAccount as ns, createConnector as ts } from "wagmi";
10
- import { getAddress as he, SwitchChainError as Zn, numberToHex as kn, UserRejectedRequestError as F, withRetry as rs, withTimeout as ss, ResourceUnavailableRpcError as Ue } from "viem";
11
- const M = xr(null), dt = ({ testnet: e, ...n }) => /* @__PURE__ */ v(
1
+ import { jsxs as v, jsx as i, Fragment as ct } from "react/jsx-runtime";
2
+ import { createContext as br, useState as N, useRef as ce, useEffect as Z, useMemo as B, useContext as V, useCallback as T } from "react";
3
+ import { Button as X, BackIcon as at, CloseIcon as lt, OkIcon as At, CopyIcon as zr, Image as ne, PowerIcon as wr, DownIcon as Ir, Spinner as te, Skeleton as Pr, Modal as dt, Link as Ee, TomoLogoIcon as Br, Card as yr, CardBody as hr, Tabs as Mr, Tab as Wr, Chip as Sn, SearchIcon as Vr, Input as zn, SearchOutlinedIcon as Xr, addToast as Nr, RightArrowIcon as wn, ModalHeader as jr, ModalBody as Tr, ModalContent as Er, TomoUIProvider as Lr, ToastProvider as Sr } from "@tomo-inc/tomo-ui";
4
+ import { isMobile as cn, metaMaskWallet as Or, phantomWallet as Yr, coinbaseWallet as Zr, binanceWallet as kr, walletConnectWallet as Jr, loadConnectors as Fr, ProviderProtocol as On, connect as Dr, switchChain as Yn, addChain as Hr, signMessage as Qr, signInWithWallet as qr, setWalletConnectConfig as Kr } from "@tomo-inc/wallet-adaptor-base";
5
+ import { useMutation as In, useQuery as Gr, QueryClientProvider as Ur, QueryClient as Rr } from "@tanstack/react-query";
6
+ import _r from "copy-to-clipboard";
7
+ import $r from "qr-code-styling";
8
+ import { EmbeddedWallet as es } from "@tomo-inc/embedded-wallet-providers";
9
+ import { useConfig as Zn, useConnect as ns, useDisconnect as ts, useAccount as rs, createConnector as ss } from "wagmi";
10
+ import { getAddress as Me, SwitchChainError as kn, numberToHex as Jn, UserRejectedRequestError as F, withRetry as is, withTimeout as os, ResourceUnavailableRpcError as Re } from "viem";
11
+ const W = br(null), ft = ({ testnet: e, ...n }) => /* @__PURE__ */ v(
12
12
  "svg",
13
13
  {
14
14
  "aria-hidden": "true",
@@ -75,7 +75,7 @@ const M = xr(null), dt = ({ testnet: e, ...n }) => /* @__PURE__ */ v(
75
75
  ] })
76
76
  ]
77
77
  }
78
- ), ft = ({ ...e }) => /* @__PURE__ */ i(dt, { testnet: !0, ...e }), Ee = ({ testnet: e, ...n }) => {
78
+ ), ut = ({ ...e }) => /* @__PURE__ */ i(ft, { testnet: !0, ...e }), Le = ({ testnet: e, ...n }) => {
79
79
  let t = "var(--ck-chain-ethereum-01, #627EEA)", r = "var(--ck-chain-ethereum-02, #ffffff)";
80
80
  return e && (t = "linear-gradient(180deg, #8995A9 0%, #627EEA 99.48%)", r = "#fff"), /* @__PURE__ */ v(
81
81
  "svg",
@@ -107,7 +107,7 @@ const M = xr(null), dt = ({ testnet: e, ...n }) => /* @__PURE__ */ v(
107
107
  ]
108
108
  }
109
109
  );
110
- }, ut = ({ testnet: e, ...n }) => /* @__PURE__ */ i(
110
+ }, gt = ({ testnet: e, ...n }) => /* @__PURE__ */ i(
111
111
  "svg",
112
112
  {
113
113
  "aria-hidden": "true",
@@ -128,7 +128,7 @@ const M = xr(null), dt = ({ testnet: e, ...n }) => /* @__PURE__ */ v(
128
128
  }
129
129
  )
130
130
  }
131
- ), gt = ({ testnet: e, ...n }) => /* @__PURE__ */ v(
131
+ ), vt = ({ testnet: e, ...n }) => /* @__PURE__ */ v(
132
132
  "svg",
133
133
  {
134
134
  "aria-hidden": "true",
@@ -173,7 +173,7 @@ const M = xr(null), dt = ({ testnet: e, ...n }) => /* @__PURE__ */ v(
173
173
  )
174
174
  ]
175
175
  }
176
- ), vt = ({ testnet: e, ...n }) => {
176
+ ), Ct = ({ testnet: e, ...n }) => {
177
177
  const t = e ? "#ffffff" : "#28A0F0";
178
178
  return /* @__PURE__ */ v(
179
179
  "svg",
@@ -228,7 +228,7 @@ const M = xr(null), dt = ({ testnet: e, ...n }) => /* @__PURE__ */ v(
228
228
  ]
229
229
  }
230
230
  );
231
- }, Ct = ({ testnet: e, ...n }) => /* @__PURE__ */ v(
231
+ }, mt = ({ testnet: e, ...n }) => /* @__PURE__ */ v(
232
232
  "svg",
233
233
  {
234
234
  "aria-hidden": "true",
@@ -279,7 +279,7 @@ const M = xr(null), dt = ({ testnet: e, ...n }) => /* @__PURE__ */ v(
279
279
  )
280
280
  ]
281
281
  }
282
- ), mt = ({ testnet: e, ...n }) => /* @__PURE__ */ i(
282
+ ), xt = ({ testnet: e, ...n }) => /* @__PURE__ */ i(
283
283
  "svg",
284
284
  {
285
285
  width: "44",
@@ -299,7 +299,7 @@ const M = xr(null), dt = ({ testnet: e, ...n }) => /* @__PURE__ */ v(
299
299
  }
300
300
  )
301
301
  }
302
- ), xt = ({ ...e }) => /* @__PURE__ */ v("svg", { width: "200", height: "208", viewBox: "0 0 200 208", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
302
+ ), pt = ({ ...e }) => /* @__PURE__ */ v("svg", { width: "200", height: "208", viewBox: "0 0 200 208", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
303
303
  /* @__PURE__ */ i("rect", { width: "199.4", height: "207.623", fill: "#121212" }),
304
304
  /* @__PURE__ */ v("g", { clipPath: "url(#clip0_2318_291)", children: [
305
305
  /* @__PURE__ */ i("path", { d: "M132.369 155.99H49.7001V68.8854H68.6148V139.109H132.369V155.981V155.99Z", fill: "#fff" }),
@@ -312,7 +312,7 @@ const M = xr(null), dt = ({ testnet: e, ...n }) => /* @__PURE__ */ v(
312
312
  )
313
313
  ] }),
314
314
  /* @__PURE__ */ i("defs", { children: /* @__PURE__ */ i("clipPath", { id: "clip0_2318_291", children: /* @__PURE__ */ i("rect", { width: "99.5407", height: "103.977", fill: "white", transform: "translate(49.7001 52.0134)" }) }) })
315
- ] }), ke = ({ ...e }) => /* @__PURE__ */ v("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
315
+ ] }), Je = ({ ...e }) => /* @__PURE__ */ v("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
316
316
  /* @__PURE__ */ i(
317
317
  "path",
318
318
  {
@@ -327,7 +327,7 @@ const M = xr(null), dt = ({ testnet: e, ...n }) => /* @__PURE__ */ v(
327
327
  fill: "white"
328
328
  }
329
329
  )
330
- ] }), Je = ({ ...e }) => /* @__PURE__ */ v("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
330
+ ] }), Fe = ({ ...e }) => /* @__PURE__ */ v("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
331
331
  /* @__PURE__ */ v("g", { clipPath: "url(#clip0_101_1146)", children: [
332
332
  /* @__PURE__ */ i(
333
333
  "path",
@@ -409,7 +409,7 @@ const M = xr(null), dt = ({ testnet: e, ...n }) => /* @__PURE__ */ v(
409
409
  /* @__PURE__ */ i("clipPath", { id: "clip0_101_1146", children: /* @__PURE__ */ i("rect", { width: "20", height: "20", fill: "white" }) }),
410
410
  /* @__PURE__ */ i("clipPath", { id: "clip1_101_1146", children: /* @__PURE__ */ i("rect", { width: "13.125", height: "10", fill: "white", transform: "translate(3.75 5)" }) })
411
411
  ] })
412
- ] }), is = ({ ...e }) => /* @__PURE__ */ v("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
412
+ ] }), cs = ({ ...e }) => /* @__PURE__ */ v("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
413
413
  /* @__PURE__ */ i("circle", { cx: "16", cy: "16", r: "16", fill: "black" }),
414
414
  /* @__PURE__ */ i(
415
415
  "mask",
@@ -431,7 +431,7 @@ const M = xr(null), dt = ({ testnet: e, ...n }) => /* @__PURE__ */ v(
431
431
  fill: "#FFDA34"
432
432
  }
433
433
  ) })
434
- ] }), pt = ({ ...e }) => /* @__PURE__ */ v(
434
+ ] }), bt = ({ ...e }) => /* @__PURE__ */ v(
435
435
  "svg",
436
436
  {
437
437
  width: "36",
@@ -479,7 +479,7 @@ const M = xr(null), dt = ({ testnet: e, ...n }) => /* @__PURE__ */ v(
479
479
  ] })
480
480
  ]
481
481
  }
482
- ), bt = ({ ...e }) => /* @__PURE__ */ v("svg", { width: "56", height: "56", viewBox: "0 0 56 56", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
482
+ ), zt = ({ ...e }) => /* @__PURE__ */ v("svg", { width: "56", height: "56", viewBox: "0 0 56 56", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
483
483
  /* @__PURE__ */ i("foreignObject", { x: "-2.16759", y: "-2.16759", width: "60.3349", height: "60.3352", children: /* @__PURE__ */ i(
484
484
  "div",
485
485
  {
@@ -597,32 +597,32 @@ const M = xr(null), dt = ({ testnet: e, ...n }) => /* @__PURE__ */ v(
597
597
  }
598
598
  )
599
599
  ] })
600
- ] }), os = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
600
+ ] }), as = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
601
601
  __proto__: null,
602
- Apots: ke,
603
- Arbitrum: vt,
604
- Base: mt,
605
- BinanceSmartChain: Ct,
606
- Doge: pt,
607
- Ethereum: Ee,
608
- KnownChain: dt,
609
- Linea: xt,
610
- Movement: is,
611
- Optimism: gt,
612
- Polygon: ut,
613
- Solana: Je,
614
- UnknownChain: ft,
615
- UnsupportChain: bt
602
+ Apots: Je,
603
+ Arbitrum: Ct,
604
+ Base: xt,
605
+ BinanceSmartChain: mt,
606
+ Doge: bt,
607
+ Ethereum: Le,
608
+ KnownChain: ft,
609
+ Linea: pt,
610
+ Movement: cs,
611
+ Optimism: vt,
612
+ Polygon: gt,
613
+ Solana: Fe,
614
+ UnknownChain: ut,
615
+ UnsupportChain: zt
616
616
  }, Symbol.toStringTag, { value: "Module" })), le = ({ icon: e, iconName: n, className: t, iconProps: r }) => {
617
- const s = e || os?.[n] || ft;
617
+ const s = e || as?.[n] || ut;
618
618
  return /* @__PURE__ */ v("div", { className: t, children: [
619
619
  /* @__PURE__ */ i(s, { "data-icon": "chain-icon", width: "100%", height: "100%", ...r }),
620
620
  ";"
621
621
  ] });
622
- }, In = () => {
622
+ }, Pn = () => {
623
623
  const [e, n] = N(!1), t = ce(null), r = (s) => {
624
624
  try {
625
- return Ur(s), n(!0), t.current = setTimeout(() => n(!1), 1200), !0;
625
+ return _r(s), n(!0), t.current = setTimeout(() => n(!1), 1200), !0;
626
626
  } catch (o) {
627
627
  return console.warn("Copy failed, but continuing execution:", o), !1;
628
628
  }
@@ -634,10 +634,10 @@ const M = xr(null), dt = ({ testnet: e, ...n }) => /* @__PURE__ */ v(
634
634
  []
635
635
  ), { copied: e, copy: r };
636
636
  };
637
- function cn(e) {
637
+ function an(e) {
638
638
  return new Promise((n) => setTimeout(n, e));
639
639
  }
640
- function zt(e) {
640
+ function wt(e) {
641
641
  if (!e || typeof e != "string")
642
642
  return !1;
643
643
  const n = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, t = /^[a-zA-Z0-9._+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
@@ -646,49 +646,49 @@ function zt(e) {
646
646
  const r = e.split("@")[0];
647
647
  return !(r.startsWith(".") || r.endsWith(".") || r.includes(".."));
648
648
  }
649
- function cs(e) {
650
- return !e || e.trim().length === 0 ? "Please enter your email address" : zt(e) ? null : "Please enter a valid email address";
649
+ function ls(e) {
650
+ return !e || e.trim().length === 0 ? "Please enter your email address" : wt(e) ? null : "Please enter a valid email address";
651
651
  }
652
- const Pn = {
652
+ const Bn = {
653
653
  WALLET_STATE: "tomo_wallet_state"
654
- }, as = (e) => {
654
+ }, As = (e) => {
655
655
  try {
656
656
  const n = {
657
657
  ...e,
658
658
  timestamp: Date.now()
659
659
  };
660
- localStorage.setItem(Pn.WALLET_STATE, JSON.stringify(n));
660
+ localStorage.setItem(Bn.WALLET_STATE, JSON.stringify(n));
661
661
  } catch (n) {
662
662
  console.error("Failed to save wallet state:", n);
663
663
  }
664
- }, ls = () => {
664
+ }, ds = () => {
665
665
  try {
666
- const e = localStorage.getItem(Pn.WALLET_STATE);
666
+ const e = localStorage.getItem(Bn.WALLET_STATE);
667
667
  if (!e) return null;
668
668
  const n = JSON.parse(e);
669
- return Date.now() - n.timestamp > 24 * 7 * 60 * 60 * 1e3 ? (wt(), null) : n;
669
+ return Date.now() - n.timestamp > 24 * 7 * 60 * 60 * 1e3 ? (It(), null) : n;
670
670
  } catch (e) {
671
671
  return console.error("Failed to get wallet state:", e), null;
672
672
  }
673
- }, wt = () => {
673
+ }, It = () => {
674
674
  try {
675
- localStorage.removeItem(Pn.WALLET_STATE);
675
+ localStorage.removeItem(Bn.WALLET_STATE);
676
676
  } catch (e) {
677
677
  console.error("Failed to clear wallet state:", e);
678
678
  }
679
679
  };
680
- function Jn(e, n) {
680
+ function Fn(e, n) {
681
681
  const t = e.info?.uuid, r = t ? n.has(t) : !1, s = e.isInstalled === !0;
682
682
  return r && s ? 0 : !r && s ? 1 : r && !s ? 2 : 3;
683
683
  }
684
- function As(e, n) {
685
- const t = new Set(e.map((a) => a.info?.uuid).filter(Boolean)), r = (a, l) => Jn(a, t) - Jn(l, t), s = /* @__PURE__ */ new Set();
684
+ function fs(e, n) {
685
+ const t = new Set(e.map((a) => a.info?.uuid).filter(Boolean)), r = (a, l) => Fn(a, t) - Fn(l, t), s = /* @__PURE__ */ new Set();
686
686
  return [[...e, ...n].filter((a) => {
687
687
  const l = a.info?.uuid;
688
688
  return !l || s.has(l) ? !1 : (s.add(l), !0);
689
689
  }).sort(r), n];
690
690
  }
691
- function ds(e, n = 6, t = 4) {
691
+ function us(e, n = 6, t = 4) {
692
692
  if (!e) return "";
693
693
  if (e.length <= n + t)
694
694
  return e;
@@ -702,34 +702,34 @@ const O = {
702
702
  },
703
703
  aptos: {
704
704
  name: "Aptos",
705
- icon: ke
705
+ icon: Je
706
706
  },
707
707
  evm: {
708
708
  name: "EVM(Ethereum)",
709
- icon: Ee
709
+ icon: Le
710
710
  },
711
711
  solana: {
712
712
  name: "Solana",
713
- icon: Je
713
+ icon: Fe
714
714
  },
715
715
  dogecoin: {
716
716
  name: "Dogecoin",
717
- icon: pt
717
+ icon: bt
718
718
  }
719
- }, It = {
720
- aptos: ke,
721
- solana: Je,
722
- evm: Ee,
719
+ }, Pt = {
720
+ aptos: Je,
721
+ solana: Fe,
722
+ evm: Le,
723
723
  // Evm chains
724
- evm_1: Ee,
725
- evm_10: gt,
726
- evm_56: Ct,
727
- evm_137: ut,
728
- evm_42161: vt,
729
- evm_59144: xt,
730
- evm_8453: mt,
731
- unsupported: bt
732
- }, Re = {
724
+ evm_1: Le,
725
+ evm_10: vt,
726
+ evm_56: mt,
727
+ evm_137: gt,
728
+ evm_42161: Ct,
729
+ evm_59144: pt,
730
+ evm_8453: xt,
731
+ unsupported: zt
732
+ }, _e = {
733
733
  evm_1: {
734
734
  id: 1,
735
735
  chainId: "0x1",
@@ -747,19 +747,19 @@ function U(e) {
747
747
  ...e
748
748
  };
749
749
  }
750
- const Pt = "2.38.2";
751
- let _e = {
750
+ const Bt = "2.38.2";
751
+ let $e = {
752
752
  getDocsUrl: ({ docsBaseUrl: e, docsPath: n = "", docsSlug: t }) => n ? `${e ?? "https://viem.sh"}${n}${t ? `#${t}` : ""}` : void 0,
753
- version: `viem@${Pt}`
754
- }, y = class an extends Error {
753
+ version: `viem@${Bt}`
754
+ }, y = class ln extends Error {
755
755
  constructor(n, t = {}) {
756
- const r = t.cause instanceof an ? t.cause.details : t.cause?.message ? t.cause.message : t.details, s = t.cause instanceof an && t.cause.docsPath || t.docsPath, o = _e.getDocsUrl?.({ ...t, docsPath: s }), c = [
756
+ const r = t.cause instanceof ln ? t.cause.details : t.cause?.message ? t.cause.message : t.details, s = t.cause instanceof ln && t.cause.docsPath || t.docsPath, o = $e.getDocsUrl?.({ ...t, docsPath: s }), c = [
757
757
  n || "An error occurred.",
758
758
  "",
759
759
  ...t.metaMessages ? [...t.metaMessages, ""] : [],
760
760
  ...o ? [`Docs: ${o}`] : [],
761
761
  ...r ? [`Details: ${r}`] : [],
762
- ..._e.version ? [`Version: ${_e.version}`] : []
762
+ ...$e.version ? [`Version: ${$e.version}`] : []
763
763
  ].join(`
764
764
  `);
765
765
  super(c, t.cause ? { cause: t.cause } : void 0), Object.defineProperty(this, "details", {
@@ -792,67 +792,67 @@ let _e = {
792
792
  configurable: !0,
793
793
  writable: !0,
794
794
  value: "BaseError"
795
- }), this.details = r, this.docsPath = s, this.metaMessages = t.metaMessages, this.name = t.name ?? this.name, this.shortMessage = n, this.version = Pt;
795
+ }), this.details = r, this.docsPath = s, this.metaMessages = t.metaMessages, this.name = t.name ?? this.name, this.shortMessage = n, this.version = Bt;
796
796
  }
797
797
  walk(n) {
798
- return Bt(this, n);
798
+ return yt(this, n);
799
799
  }
800
800
  };
801
- function Bt(e, n) {
802
- return n?.(e) ? e : e && typeof e == "object" && "cause" in e && e.cause !== void 0 ? Bt(e.cause, n) : n ? null : e;
801
+ function yt(e, n) {
802
+ return n?.(e) ? e : e && typeof e == "object" && "cause" in e && e.cause !== void 0 ? yt(e.cause, n) : n ? null : e;
803
803
  }
804
- class fs extends y {
804
+ class gs extends y {
805
805
  constructor({ max: n, min: t, signed: r, size: s, value: o }) {
806
806
  super(`Number "${o}" is not in safe ${s ? `${s * 8}-bit ${r ? "signed" : "unsigned"} ` : ""}integer range ${n ? `(${t} to ${n})` : `(above ${t})`}`, { name: "IntegerOutOfRangeError" });
807
807
  }
808
808
  }
809
- class us extends y {
809
+ class vs extends y {
810
810
  constructor({ givenSize: n, maxSize: t }) {
811
811
  super(`Size cannot exceed ${t} bytes. Given size: ${n} bytes.`, { name: "SizeOverflowError" });
812
812
  }
813
813
  }
814
- function we(e, { strict: n = !0 } = {}) {
814
+ function Ie(e, { strict: n = !0 } = {}) {
815
815
  return !e || typeof e != "string" ? !1 : n ? /^0x[0-9a-fA-F]*$/.test(e) : e.startsWith("0x");
816
816
  }
817
817
  function ae(e) {
818
- return we(e, { strict: !1 }) ? Math.ceil((e.length - 2) / 2) : e.length;
818
+ return Ie(e, { strict: !1 }) ? Math.ceil((e.length - 2) / 2) : e.length;
819
819
  }
820
- function Le(e, { dir: n = "left" } = {}) {
820
+ function Se(e, { dir: n = "left" } = {}) {
821
821
  let t = typeof e == "string" ? e.replace("0x", "") : e, r = 0;
822
822
  for (let s = 0; s < t.length - 1 && t[n === "left" ? s : t.length - s - 1].toString() === "0"; s++)
823
823
  r++;
824
824
  return t = n === "left" ? t.slice(r) : t.slice(0, t.length - r), typeof e == "string" ? (t.length === 1 && n === "right" && (t = `${t}0`), `0x${t.length % 2 === 1 ? `0${t}` : t}`) : t;
825
825
  }
826
- class gs extends y {
826
+ class Cs extends y {
827
827
  constructor({ offset: n, position: t, size: r }) {
828
828
  super(`Slice ${t === "start" ? "starting" : "ending"} at offset "${n}" is out-of-bounds (size: ${r}).`, { name: "SliceOffsetOutOfBoundsError" });
829
829
  }
830
830
  }
831
- class yt extends y {
831
+ class ht extends y {
832
832
  constructor({ size: n, targetSize: t, type: r }) {
833
833
  super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} size (${n}) exceeds padding size (${t}).`, { name: "SizeExceedsPaddingSizeError" });
834
834
  }
835
835
  }
836
836
  function Ae(e, { dir: n, size: t = 32 } = {}) {
837
- return typeof e == "string" ? vs(e, { dir: n, size: t }) : Cs(e, { dir: n, size: t });
837
+ return typeof e == "string" ? ms(e, { dir: n, size: t }) : xs(e, { dir: n, size: t });
838
838
  }
839
- function vs(e, { dir: n, size: t = 32 } = {}) {
839
+ function ms(e, { dir: n, size: t = 32 } = {}) {
840
840
  if (t === null)
841
841
  return e;
842
842
  const r = e.replace("0x", "");
843
843
  if (r.length > t * 2)
844
- throw new yt({
844
+ throw new ht({
845
845
  size: Math.ceil(r.length / 2),
846
846
  targetSize: t,
847
847
  type: "hex"
848
848
  });
849
849
  return `0x${r[n === "right" ? "padEnd" : "padStart"](t * 2, "0")}`;
850
850
  }
851
- function Cs(e, { dir: n, size: t = 32 } = {}) {
851
+ function xs(e, { dir: n, size: t = 32 } = {}) {
852
852
  if (t === null)
853
853
  return e;
854
854
  if (e.length > t)
855
- throw new yt({
855
+ throw new ht({
856
856
  size: e.length,
857
857
  targetSize: t,
858
858
  type: "bytes"
@@ -864,18 +864,18 @@ function Cs(e, { dir: n, size: t = 32 } = {}) {
864
864
  }
865
865
  return r;
866
866
  }
867
- const ms = /* @__PURE__ */ Array.from({ length: 256 }, (e, n) => n.toString(16).padStart(2, "0"));
868
- function Ce(e, n = {}) {
869
- return typeof e == "number" || typeof e == "bigint" ? z(e, n) : typeof e == "string" ? bs(e, n) : typeof e == "boolean" ? xs(e, n) : q(e, n);
867
+ const ps = /* @__PURE__ */ Array.from({ length: 256 }, (e, n) => n.toString(16).padStart(2, "0"));
868
+ function me(e, n = {}) {
869
+ return typeof e == "number" || typeof e == "bigint" ? z(e, n) : typeof e == "string" ? ws(e, n) : typeof e == "boolean" ? bs(e, n) : q(e, n);
870
870
  }
871
- function xs(e, n = {}) {
871
+ function bs(e, n = {}) {
872
872
  const t = `0x${Number(e)}`;
873
873
  return typeof n.size == "number" ? (de(t, { size: n.size }), Ae(t, { size: n.size })) : t;
874
874
  }
875
875
  function q(e, n = {}) {
876
876
  let t = "";
877
877
  for (let s = 0; s < e.length; s++)
878
- t += ms[e[s]];
878
+ t += ps[e[s]];
879
879
  const r = `0x${t}`;
880
880
  return typeof n.size == "number" ? (de(r, { size: n.size }), Ae(r, { dir: "right", size: n.size })) : r;
881
881
  }
@@ -886,7 +886,7 @@ function z(e, n = {}) {
886
886
  const c = typeof o == "bigint" && t ? -o - 1n : 0;
887
887
  if (o && s > o || s < c) {
888
888
  const l = typeof e == "bigint" ? "n" : "";
889
- throw new fs({
889
+ throw new gs({
890
890
  max: o ? `${o}${l}` : void 0,
891
891
  min: `${c}${l}`,
892
892
  signed: t,
@@ -897,16 +897,16 @@ function z(e, n = {}) {
897
897
  const a = `0x${(t && s < 0 ? (1n << BigInt(r * 8)) + BigInt(s) : s).toString(16)}`;
898
898
  return r ? Ae(a, { size: r }) : a;
899
899
  }
900
- const ps = /* @__PURE__ */ new TextEncoder();
901
- function bs(e, n = {}) {
902
- const t = ps.encode(e);
900
+ const zs = /* @__PURE__ */ new TextEncoder();
901
+ function ws(e, n = {}) {
902
+ const t = zs.encode(e);
903
903
  return q(t, n);
904
904
  }
905
- const zs = /* @__PURE__ */ new TextEncoder();
906
- function ht(e, n = {}) {
907
- return typeof e == "number" || typeof e == "bigint" ? Is(e, n) : typeof e == "boolean" ? ws(e, n) : we(e) ? _(e, n) : Mt(e, n);
905
+ const Is = /* @__PURE__ */ new TextEncoder();
906
+ function Mt(e, n = {}) {
907
+ return typeof e == "number" || typeof e == "bigint" ? Bs(e, n) : typeof e == "boolean" ? Ps(e, n) : Ie(e) ? _(e, n) : Wt(e, n);
908
908
  }
909
- function ws(e, n = {}) {
909
+ function Ps(e, n = {}) {
910
910
  const t = new Uint8Array(1);
911
911
  return t[0] = Number(e), typeof n.size == "number" ? (de(t, { size: n.size }), Ae(t, { size: n.size })) : t;
912
912
  }
@@ -918,7 +918,7 @@ const D = {
918
918
  a: 97,
919
919
  f: 102
920
920
  };
921
- function Fn(e) {
921
+ function Dn(e) {
922
922
  if (e >= D.zero && e <= D.nine)
923
923
  return e - D.zero;
924
924
  if (e >= D.A && e <= D.F)
@@ -933,24 +933,24 @@ function _(e, n = {}) {
933
933
  r.length % 2 && (r = `0${r}`);
934
934
  const s = r.length / 2, o = new Uint8Array(s);
935
935
  for (let c = 0, a = 0; c < s; c++) {
936
- const l = Fn(r.charCodeAt(a++)), A = Fn(r.charCodeAt(a++));
936
+ const l = Dn(r.charCodeAt(a++)), A = Dn(r.charCodeAt(a++));
937
937
  if (l === void 0 || A === void 0)
938
938
  throw new y(`Invalid byte sequence ("${r[a - 2]}${r[a - 1]}" in "${r}").`);
939
939
  o[c] = l * 16 + A;
940
940
  }
941
941
  return o;
942
942
  }
943
- function Is(e, n) {
943
+ function Bs(e, n) {
944
944
  const t = z(e, n);
945
945
  return _(t);
946
946
  }
947
- function Mt(e, n = {}) {
948
- const t = zs.encode(e);
947
+ function Wt(e, n = {}) {
948
+ const t = Is.encode(e);
949
949
  return typeof n.size == "number" ? (de(t, { size: n.size }), Ae(t, { dir: "right", size: n.size })) : t;
950
950
  }
951
951
  function de(e, { size: n }) {
952
952
  if (ae(e) > n)
953
- throw new us({
953
+ throw new vs({
954
954
  givenSize: ae(e),
955
955
  maxSize: n
956
956
  });
@@ -964,10 +964,10 @@ function se(e, n = {}) {
964
964
  const s = (e.length - 2) / 2, o = (1n << BigInt(s) * 8n - 1n) - 1n;
965
965
  return r <= o ? r : r - BigInt(`0x${"f".padStart(s * 2, "f")}`) - 1n;
966
966
  }
967
- function Se(e, n = {}) {
967
+ function Oe(e, n = {}) {
968
968
  return Number(se(e, n));
969
969
  }
970
- function Bn(e, n) {
970
+ function yn(e, n) {
971
971
  return ({ exclude: t, format: r }) => ({
972
972
  exclude: t,
973
973
  format: (s, o) => {
@@ -983,33 +983,33 @@ function Bn(e, n) {
983
983
  type: e
984
984
  });
985
985
  }
986
- const Wt = {
986
+ const Vt = {
987
987
  "0x0": "legacy",
988
988
  "0x1": "eip2930",
989
989
  "0x2": "eip1559",
990
990
  "0x3": "eip4844",
991
991
  "0x4": "eip7702"
992
992
  };
993
- function yn(e, n) {
993
+ function hn(e, n) {
994
994
  const t = {
995
995
  ...e,
996
996
  blockHash: e.blockHash ? e.blockHash : null,
997
997
  blockNumber: e.blockNumber ? BigInt(e.blockNumber) : null,
998
- chainId: e.chainId ? Se(e.chainId) : void 0,
998
+ chainId: e.chainId ? Oe(e.chainId) : void 0,
999
999
  gas: e.gas ? BigInt(e.gas) : void 0,
1000
1000
  gasPrice: e.gasPrice ? BigInt(e.gasPrice) : void 0,
1001
1001
  maxFeePerBlobGas: e.maxFeePerBlobGas ? BigInt(e.maxFeePerBlobGas) : void 0,
1002
1002
  maxFeePerGas: e.maxFeePerGas ? BigInt(e.maxFeePerGas) : void 0,
1003
1003
  maxPriorityFeePerGas: e.maxPriorityFeePerGas ? BigInt(e.maxPriorityFeePerGas) : void 0,
1004
- nonce: e.nonce ? Se(e.nonce) : void 0,
1004
+ nonce: e.nonce ? Oe(e.nonce) : void 0,
1005
1005
  to: e.to ? e.to : null,
1006
1006
  transactionIndex: e.transactionIndex ? Number(e.transactionIndex) : null,
1007
- type: e.type ? Wt[e.type] : void 0,
1007
+ type: e.type ? Vt[e.type] : void 0,
1008
1008
  typeHex: e.type ? e.type : void 0,
1009
1009
  value: e.value ? BigInt(e.value) : void 0,
1010
1010
  v: e.v ? BigInt(e.v) : void 0
1011
1011
  };
1012
- return e.authorizationList && (t.authorizationList = Bs(e.authorizationList)), t.yParity = (() => {
1012
+ return e.authorizationList && (t.authorizationList = hs(e.authorizationList)), t.yParity = (() => {
1013
1013
  if (e.yParity)
1014
1014
  return Number(e.yParity);
1015
1015
  if (typeof t.v == "bigint") {
@@ -1022,8 +1022,8 @@ function yn(e, n) {
1022
1022
  }
1023
1023
  })(), t.type === "legacy" && (delete t.accessList, delete t.maxFeePerBlobGas, delete t.maxFeePerGas, delete t.maxPriorityFeePerGas, delete t.yParity), t.type === "eip2930" && (delete t.maxFeePerBlobGas, delete t.maxFeePerGas, delete t.maxPriorityFeePerGas), t.type === "eip1559" && delete t.maxFeePerBlobGas, t;
1024
1024
  }
1025
- const Ps = /* @__PURE__ */ Bn("transaction", yn);
1026
- function Bs(e) {
1025
+ const ys = /* @__PURE__ */ yn("transaction", hn);
1026
+ function hs(e) {
1027
1027
  return e.map((n) => ({
1028
1028
  address: n.address,
1029
1029
  chainId: Number(n.chainId),
@@ -1033,8 +1033,8 @@ function Bs(e) {
1033
1033
  yParity: Number(n.yParity)
1034
1034
  }));
1035
1035
  }
1036
- function ys(e, n) {
1037
- const t = (e.transactions ?? []).map((r) => typeof r == "string" ? r : yn(r));
1036
+ function Ms(e, n) {
1037
+ const t = (e.transactions ?? []).map((r) => typeof r == "string" ? r : hn(r));
1038
1038
  return {
1039
1039
  ...e,
1040
1040
  baseFeePerGas: e.baseFeePerGas ? BigInt(e.baseFeePerGas) : null,
@@ -1053,8 +1053,8 @@ function ys(e, n) {
1053
1053
  totalDifficulty: e.totalDifficulty ? BigInt(e.totalDifficulty) : null
1054
1054
  };
1055
1055
  }
1056
- const hs = /* @__PURE__ */ Bn("block", ys);
1057
- function Ms(e, { args: n, eventName: t } = {}) {
1056
+ const Ws = /* @__PURE__ */ yn("block", Ms);
1057
+ function Vs(e, { args: n, eventName: t } = {}) {
1058
1058
  return {
1059
1059
  ...e,
1060
1060
  blockHash: e.blockHash ? e.blockHash : null,
@@ -1065,11 +1065,11 @@ function Ms(e, { args: n, eventName: t } = {}) {
1065
1065
  ...t ? { args: n, eventName: t } : {}
1066
1066
  };
1067
1067
  }
1068
- const Ws = {
1068
+ const Xs = {
1069
1069
  "0x0": "reverted",
1070
1070
  "0x1": "success"
1071
1071
  };
1072
- function Vs(e, n) {
1072
+ function Ns(e, n) {
1073
1073
  const t = {
1074
1074
  ...e,
1075
1075
  blockNumber: e.blockNumber ? BigInt(e.blockNumber) : null,
@@ -1077,26 +1077,26 @@ function Vs(e, n) {
1077
1077
  cumulativeGasUsed: e.cumulativeGasUsed ? BigInt(e.cumulativeGasUsed) : null,
1078
1078
  effectiveGasPrice: e.effectiveGasPrice ? BigInt(e.effectiveGasPrice) : null,
1079
1079
  gasUsed: e.gasUsed ? BigInt(e.gasUsed) : null,
1080
- logs: e.logs ? e.logs.map((r) => Ms(r)) : null,
1080
+ logs: e.logs ? e.logs.map((r) => Vs(r)) : null,
1081
1081
  to: e.to ? e.to : null,
1082
- transactionIndex: e.transactionIndex ? Se(e.transactionIndex) : null,
1083
- status: e.status ? Ws[e.status] : null,
1084
- type: e.type ? Wt[e.type] || e.type : null
1082
+ transactionIndex: e.transactionIndex ? Oe(e.transactionIndex) : null,
1083
+ status: e.status ? Xs[e.status] : null,
1084
+ type: e.type ? Vt[e.type] || e.type : null
1085
1085
  };
1086
1086
  return e.blobGasPrice && (t.blobGasPrice = BigInt(e.blobGasPrice)), e.blobGasUsed && (t.blobGasUsed = BigInt(e.blobGasUsed)), t;
1087
1087
  }
1088
- const Xs = /* @__PURE__ */ Bn("transactionReceipt", Vs), Ns = {
1088
+ const js = /* @__PURE__ */ yn("transactionReceipt", Ns), Ts = {
1089
1089
  legacy: "0x0",
1090
1090
  eip2930: "0x1",
1091
1091
  eip1559: "0x2",
1092
1092
  eip4844: "0x3",
1093
1093
  eip7702: "0x4"
1094
1094
  };
1095
- function js(e, n) {
1095
+ function Es(e, n) {
1096
1096
  const t = {};
1097
- return typeof e.authorizationList < "u" && (t.authorizationList = Ts(e.authorizationList)), typeof e.accessList < "u" && (t.accessList = e.accessList), typeof e.blobVersionedHashes < "u" && (t.blobVersionedHashes = e.blobVersionedHashes), typeof e.blobs < "u" && (typeof e.blobs[0] != "string" ? t.blobs = e.blobs.map((r) => q(r)) : t.blobs = e.blobs), typeof e.data < "u" && (t.data = e.data), typeof e.from < "u" && (t.from = e.from), typeof e.gas < "u" && (t.gas = z(e.gas)), typeof e.gasPrice < "u" && (t.gasPrice = z(e.gasPrice)), typeof e.maxFeePerBlobGas < "u" && (t.maxFeePerBlobGas = z(e.maxFeePerBlobGas)), typeof e.maxFeePerGas < "u" && (t.maxFeePerGas = z(e.maxFeePerGas)), typeof e.maxPriorityFeePerGas < "u" && (t.maxPriorityFeePerGas = z(e.maxPriorityFeePerGas)), typeof e.nonce < "u" && (t.nonce = z(e.nonce)), typeof e.to < "u" && (t.to = e.to), typeof e.type < "u" && (t.type = Ns[e.type]), typeof e.value < "u" && (t.value = z(e.value)), t;
1097
+ return typeof e.authorizationList < "u" && (t.authorizationList = Ls(e.authorizationList)), typeof e.accessList < "u" && (t.accessList = e.accessList), typeof e.blobVersionedHashes < "u" && (t.blobVersionedHashes = e.blobVersionedHashes), typeof e.blobs < "u" && (typeof e.blobs[0] != "string" ? t.blobs = e.blobs.map((r) => q(r)) : t.blobs = e.blobs), typeof e.data < "u" && (t.data = e.data), typeof e.from < "u" && (t.from = e.from), typeof e.gas < "u" && (t.gas = z(e.gas)), typeof e.gasPrice < "u" && (t.gasPrice = z(e.gasPrice)), typeof e.maxFeePerBlobGas < "u" && (t.maxFeePerBlobGas = z(e.maxFeePerBlobGas)), typeof e.maxFeePerGas < "u" && (t.maxFeePerGas = z(e.maxFeePerGas)), typeof e.maxPriorityFeePerGas < "u" && (t.maxPriorityFeePerGas = z(e.maxPriorityFeePerGas)), typeof e.nonce < "u" && (t.nonce = z(e.nonce)), typeof e.to < "u" && (t.to = e.to), typeof e.type < "u" && (t.type = Ts[e.type]), typeof e.value < "u" && (t.value = z(e.value)), t;
1098
1098
  }
1099
- function Ts(e) {
1099
+ function Ls(e) {
1100
1100
  return e.map((n) => ({
1101
1101
  address: n.address,
1102
1102
  r: n.r ? z(BigInt(n.r)) : n.r,
@@ -1107,28 +1107,28 @@ function Ts(e) {
1107
1107
  ...typeof n.v < "u" && typeof n.yParity > "u" ? { v: z(n.v) } : {}
1108
1108
  }));
1109
1109
  }
1110
- const Fe = 2n ** 256n - 1n;
1111
- function Ie(e) {
1110
+ const De = 2n ** 256n - 1n;
1111
+ function Pe(e) {
1112
1112
  return `0x${e.reduce((n, t) => n + t.replace("0x", ""), "")}`;
1113
1113
  }
1114
- class Dn extends y {
1114
+ class Hn extends y {
1115
1115
  constructor({ offset: n }) {
1116
1116
  super(`Offset \`${n}\` cannot be negative.`, {
1117
1117
  name: "NegativeOffsetError"
1118
1118
  });
1119
1119
  }
1120
1120
  }
1121
- class Es extends y {
1121
+ class Ss extends y {
1122
1122
  constructor({ length: n, position: t }) {
1123
1123
  super(`Position \`${t}\` is out of bounds (\`0 < position < ${n}\`).`, { name: "PositionOutOfBoundsError" });
1124
1124
  }
1125
1125
  }
1126
- class Ls extends y {
1126
+ class Os extends y {
1127
1127
  constructor({ count: n, limit: t }) {
1128
1128
  super(`Recursive read limit of \`${t}\` exceeded (recursive read count: \`${n}\`).`, { name: "RecursiveReadLimitExceededError" });
1129
1129
  }
1130
1130
  }
1131
- const Ss = {
1131
+ const Ys = {
1132
1132
  bytes: new Uint8Array(),
1133
1133
  dataView: new DataView(new ArrayBuffer(0)),
1134
1134
  position: 0,
@@ -1137,21 +1137,21 @@ const Ss = {
1137
1137
  recursiveReadLimit: Number.POSITIVE_INFINITY,
1138
1138
  assertReadLimit() {
1139
1139
  if (this.recursiveReadCount >= this.recursiveReadLimit)
1140
- throw new Ls({
1140
+ throw new Os({
1141
1141
  count: this.recursiveReadCount + 1,
1142
1142
  limit: this.recursiveReadLimit
1143
1143
  });
1144
1144
  },
1145
1145
  assertPosition(e) {
1146
1146
  if (e < 0 || e > this.bytes.length - 1)
1147
- throw new Es({
1147
+ throw new Ss({
1148
1148
  length: this.bytes.length,
1149
1149
  position: e
1150
1150
  });
1151
1151
  },
1152
1152
  decrementPosition(e) {
1153
1153
  if (e < 0)
1154
- throw new Dn({ offset: e });
1154
+ throw new Hn({ offset: e });
1155
1155
  const n = this.position - e;
1156
1156
  this.assertPosition(n), this.position = n;
1157
1157
  },
@@ -1160,7 +1160,7 @@ const Ss = {
1160
1160
  },
1161
1161
  incrementPosition(e) {
1162
1162
  if (e < 0)
1163
- throw new Dn({ offset: e });
1163
+ throw new Hn({ offset: e });
1164
1164
  const n = this.position + e;
1165
1165
  this.assertPosition(n), this.position = n;
1166
1166
  },
@@ -1250,19 +1250,19 @@ const Ss = {
1250
1250
  this.positionReadCount.set(this.position, e + 1), e > 0 && this.recursiveReadCount++;
1251
1251
  }
1252
1252
  };
1253
- function Vt(e, { recursiveReadLimit: n = 8192 } = {}) {
1254
- const t = Object.create(Ss);
1253
+ function Xt(e, { recursiveReadLimit: n = 8192 } = {}) {
1254
+ const t = Object.create(Ys);
1255
1255
  return t.bytes = e, t.dataView = new DataView(e.buffer, e.byteOffset, e.byteLength), t.positionReadCount = /* @__PURE__ */ new Map(), t.recursiveReadLimit = n, t;
1256
1256
  }
1257
1257
  function $(e, n = "hex") {
1258
- const t = Xt(e), r = Vt(new Uint8Array(t.length));
1258
+ const t = Nt(e), r = Xt(new Uint8Array(t.length));
1259
1259
  return t.encode(r), n === "hex" ? q(r.bytes) : r.bytes;
1260
1260
  }
1261
- function Xt(e) {
1262
- return Array.isArray(e) ? Os(e.map((n) => Xt(n))) : Ys(e);
1261
+ function Nt(e) {
1262
+ return Array.isArray(e) ? Zs(e.map((n) => Nt(n))) : ks(e);
1263
1263
  }
1264
- function Os(e) {
1265
- const n = e.reduce((s, o) => s + o.length, 0), t = Nt(n);
1264
+ function Zs(e) {
1265
+ const n = e.reduce((s, o) => s + o.length, 0), t = jt(n);
1266
1266
  return {
1267
1267
  length: n <= 55 ? 1 + n : 1 + t + n,
1268
1268
  encode(s) {
@@ -1272,8 +1272,8 @@ function Os(e) {
1272
1272
  }
1273
1273
  };
1274
1274
  }
1275
- function Ys(e) {
1276
- const n = typeof e == "string" ? _(e) : e, t = Nt(n.length);
1275
+ function ks(e) {
1276
+ const n = typeof e == "string" ? _(e) : e, t = jt(n.length);
1277
1277
  return {
1278
1278
  length: n.length === 1 && n[0] < 128 ? 1 : n.length <= 55 ? 1 + n.length : 1 + t + n.length,
1279
1279
  encode(s) {
@@ -1281,7 +1281,7 @@ function Ys(e) {
1281
1281
  }
1282
1282
  };
1283
1283
  }
1284
- function Nt(e) {
1284
+ function jt(e) {
1285
1285
  if (e < 2 ** 8)
1286
1286
  return 1;
1287
1287
  if (e < 2 ** 16)
@@ -1292,14 +1292,14 @@ function Nt(e) {
1292
1292
  return 4;
1293
1293
  throw new y("Length is too large.");
1294
1294
  }
1295
- const Zs = {
1295
+ const Js = {
1296
1296
  gwei: 9,
1297
1297
  wei: 18
1298
- }, ks = {
1298
+ }, Fs = {
1299
1299
  ether: -9,
1300
1300
  wei: 9
1301
1301
  };
1302
- function jt(e, n) {
1302
+ function Tt(e, n) {
1303
1303
  let t = e.toString();
1304
1304
  const r = t.startsWith("-");
1305
1305
  r && (t = t.slice(1)), t = t.padStart(n, "0");
@@ -1309,18 +1309,18 @@ function jt(e, n) {
1309
1309
  ];
1310
1310
  return o = o.replace(/(0+)$/, ""), `${r ? "-" : ""}${s || "0"}${o ? `.${o}` : ""}`;
1311
1311
  }
1312
- function Js(e, n = "wei") {
1313
- return jt(e, Zs[n]);
1312
+ function Ds(e, n = "wei") {
1313
+ return Tt(e, Js[n]);
1314
1314
  }
1315
1315
  function R(e, n = "wei") {
1316
- return jt(e, ks[n]);
1316
+ return Tt(e, Fs[n]);
1317
1317
  }
1318
- function Tt(e) {
1318
+ function Et(e) {
1319
1319
  const n = Object.entries(e).map(([r, s]) => s === void 0 || s === !1 ? null : [r, s]).filter(Boolean), t = n.reduce((r, [s]) => Math.max(r, s.length), 0);
1320
1320
  return n.map(([r, s]) => ` ${`${r}:`.padEnd(t + 1)} ${s}`).join(`
1321
1321
  `);
1322
1322
  }
1323
- class Fs extends y {
1323
+ class Hs extends y {
1324
1324
  constructor() {
1325
1325
  super([
1326
1326
  "Cannot specify both a `gasPrice` and a `maxFeePerGas`/`maxPriorityFeePerGas`.",
@@ -1329,20 +1329,20 @@ class Fs extends y {
1329
1329
  `), { name: "FeeConflictError" });
1330
1330
  }
1331
1331
  }
1332
- class Ds extends y {
1332
+ class Qs extends y {
1333
1333
  constructor({ v: n }) {
1334
1334
  super(`Invalid \`v\` value "${n}". Expected 27 or 28.`, {
1335
1335
  name: "InvalidLegacyVError"
1336
1336
  });
1337
1337
  }
1338
1338
  }
1339
- class Hs extends y {
1339
+ class qs extends y {
1340
1340
  constructor({ transaction: n }) {
1341
1341
  super("Cannot infer a transaction type from provided transaction.", {
1342
1342
  metaMessages: [
1343
1343
  "Provided Transaction:",
1344
1344
  "{",
1345
- Tt(n),
1345
+ Et(n),
1346
1346
  "}",
1347
1347
  "",
1348
1348
  "To infer the type, either provide:",
@@ -1357,33 +1357,33 @@ class Hs extends y {
1357
1357
  });
1358
1358
  }
1359
1359
  }
1360
- class Qs extends y {
1360
+ class Ks extends y {
1361
1361
  constructor({ storageKey: n }) {
1362
1362
  super(`Size for storage key "${n}" is invalid. Expected 32 bytes. Got ${Math.floor((n.length - 2) / 2)} bytes.`, { name: "InvalidStorageKeySizeError" });
1363
1363
  }
1364
1364
  }
1365
- function qs(e) {
1365
+ function Gs(e) {
1366
1366
  if (!e || e.length === 0)
1367
1367
  return [];
1368
1368
  const n = [];
1369
1369
  for (const t of e) {
1370
1370
  const { chainId: r, nonce: s, ...o } = t, c = t.address;
1371
1371
  n.push([
1372
- r ? Ce(r) : "0x",
1372
+ r ? me(r) : "0x",
1373
1373
  c,
1374
- s ? Ce(s) : "0x",
1375
- ...Pe({}, o)
1374
+ s ? me(s) : "0x",
1375
+ ...Be({}, o)
1376
1376
  ]);
1377
1377
  }
1378
1378
  return n;
1379
1379
  }
1380
- function Et(e) {
1380
+ function Lt(e) {
1381
1381
  const { kzg: n } = e, t = e.to ?? (typeof e.blobs[0] == "string" ? "hex" : "bytes"), r = typeof e.blobs[0] == "string" ? e.blobs.map((o) => _(o)) : e.blobs, s = [];
1382
1382
  for (const o of r)
1383
1383
  s.push(Uint8Array.from(n.blobToKzgCommitment(o)));
1384
1384
  return t === "bytes" ? s : s.map((o) => q(o));
1385
1385
  }
1386
- function Lt(e) {
1386
+ function St(e) {
1387
1387
  const { kzg: n } = e, t = e.to ?? (typeof e.blobs[0] == "string" ? "hex" : "bytes"), r = typeof e.blobs[0] == "string" ? e.blobs.map((c) => _(c)) : e.blobs, s = typeof e.commitments[0] == "string" ? e.commitments.map((c) => _(c)) : e.commitments, o = [];
1388
1388
  for (let c = 0; c < r.length; c++) {
1389
1389
  const a = r[c], l = s[c];
@@ -1391,91 +1391,91 @@ function Lt(e) {
1391
1391
  }
1392
1392
  return t === "bytes" ? o : o.map((c) => q(c));
1393
1393
  }
1394
- function Ks(e) {
1394
+ function Us(e) {
1395
1395
  return e instanceof Uint8Array || ArrayBuffer.isView(e) && e.constructor.name === "Uint8Array";
1396
1396
  }
1397
- function Hn(e) {
1397
+ function Qn(e) {
1398
1398
  if (!Number.isSafeInteger(e) || e < 0)
1399
1399
  throw new Error("positive integer expected, got " + e);
1400
1400
  }
1401
- function me(e, ...n) {
1402
- if (!Ks(e))
1401
+ function xe(e, ...n) {
1402
+ if (!Us(e))
1403
1403
  throw new Error("Uint8Array expected");
1404
1404
  if (n.length > 0 && !n.includes(e.length))
1405
1405
  throw new Error("Uint8Array expected of length " + n + ", got length=" + e.length);
1406
1406
  }
1407
- function Oe(e, n = !0) {
1407
+ function Ye(e, n = !0) {
1408
1408
  if (e.destroyed)
1409
1409
  throw new Error("Hash instance has been destroyed");
1410
1410
  if (n && e.finished)
1411
1411
  throw new Error("Hash#digest() has already been called");
1412
1412
  }
1413
- function St(e, n) {
1414
- me(e);
1413
+ function Ot(e, n) {
1414
+ xe(e);
1415
1415
  const t = n.outputLen;
1416
1416
  if (e.length < t)
1417
1417
  throw new Error("digestInto() expects output buffer of length at least " + t);
1418
1418
  }
1419
- function Gs(e) {
1419
+ function Rs(e) {
1420
1420
  return new Uint32Array(e.buffer, e.byteOffset, Math.floor(e.byteLength / 4));
1421
1421
  }
1422
- function xe(...e) {
1422
+ function pe(...e) {
1423
1423
  for (let n = 0; n < e.length; n++)
1424
1424
  e[n].fill(0);
1425
1425
  }
1426
- function $e(e) {
1426
+ function en(e) {
1427
1427
  return new DataView(e.buffer, e.byteOffset, e.byteLength);
1428
1428
  }
1429
1429
  function J(e, n) {
1430
1430
  return e << 32 - n | e >>> n;
1431
1431
  }
1432
- const Us = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
1433
- function Rs(e) {
1432
+ const _s = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
1433
+ function $s(e) {
1434
1434
  return e << 24 & 4278190080 | e << 8 & 16711680 | e >>> 8 & 65280 | e >>> 24 & 255;
1435
1435
  }
1436
- function _s(e) {
1436
+ function ei(e) {
1437
1437
  for (let n = 0; n < e.length; n++)
1438
- e[n] = Rs(e[n]);
1438
+ e[n] = $s(e[n]);
1439
1439
  return e;
1440
1440
  }
1441
- const Qn = Us ? (e) => e : _s;
1442
- function $s(e) {
1441
+ const qn = _s ? (e) => e : ei;
1442
+ function ni(e) {
1443
1443
  if (typeof e != "string")
1444
1444
  throw new Error("string expected");
1445
1445
  return new Uint8Array(new TextEncoder().encode(e));
1446
1446
  }
1447
- function hn(e) {
1448
- return typeof e == "string" && (e = $s(e)), me(e), e;
1447
+ function Mn(e) {
1448
+ return typeof e == "string" && (e = ni(e)), xe(e), e;
1449
1449
  }
1450
- class Ot {
1450
+ class Yt {
1451
1451
  }
1452
- function Yt(e) {
1453
- const n = (r) => e().update(hn(r)).digest(), t = e();
1452
+ function Zt(e) {
1453
+ const n = (r) => e().update(Mn(r)).digest(), t = e();
1454
1454
  return n.outputLen = t.outputLen, n.blockLen = t.blockLen, n.create = () => e(), n;
1455
1455
  }
1456
- function ei(e, n, t, r) {
1456
+ function ti(e, n, t, r) {
1457
1457
  if (typeof e.setBigUint64 == "function")
1458
1458
  return e.setBigUint64(n, t, r);
1459
1459
  const s = BigInt(32), o = BigInt(4294967295), c = Number(t >> s & o), a = Number(t & o), l = r ? 4 : 0, A = r ? 0 : 4;
1460
1460
  e.setUint32(n + l, c, r), e.setUint32(n + A, a, r);
1461
1461
  }
1462
- function ni(e, n, t) {
1462
+ function ri(e, n, t) {
1463
1463
  return e & n ^ ~e & t;
1464
1464
  }
1465
- function ti(e, n, t) {
1465
+ function si(e, n, t) {
1466
1466
  return e & n ^ e & t ^ n & t;
1467
1467
  }
1468
- class ri extends Ot {
1468
+ class ii extends Yt {
1469
1469
  constructor(n, t, r, s) {
1470
- super(), this.finished = !1, this.length = 0, this.pos = 0, this.destroyed = !1, this.blockLen = n, this.outputLen = t, this.padOffset = r, this.isLE = s, this.buffer = new Uint8Array(n), this.view = $e(this.buffer);
1470
+ super(), this.finished = !1, this.length = 0, this.pos = 0, this.destroyed = !1, this.blockLen = n, this.outputLen = t, this.padOffset = r, this.isLE = s, this.buffer = new Uint8Array(n), this.view = en(this.buffer);
1471
1471
  }
1472
1472
  update(n) {
1473
- Oe(this), n = hn(n), me(n);
1473
+ Ye(this), n = Mn(n), xe(n);
1474
1474
  const { view: t, buffer: r, blockLen: s } = this, o = n.length;
1475
1475
  for (let c = 0; c < o; ) {
1476
1476
  const a = Math.min(s - this.pos, o - c);
1477
1477
  if (a === s) {
1478
- const l = $e(n);
1478
+ const l = en(n);
1479
1479
  for (; s <= o - c; c += s)
1480
1480
  this.process(l, c);
1481
1481
  continue;
@@ -1485,14 +1485,14 @@ class ri extends Ot {
1485
1485
  return this.length += n.length, this.roundClean(), this;
1486
1486
  }
1487
1487
  digestInto(n) {
1488
- Oe(this), St(n, this), this.finished = !0;
1488
+ Ye(this), Ot(n, this), this.finished = !0;
1489
1489
  const { buffer: t, view: r, blockLen: s, isLE: o } = this;
1490
1490
  let { pos: c } = this;
1491
- t[c++] = 128, xe(this.buffer.subarray(c)), this.padOffset > s - c && (this.process(r, 0), c = 0);
1491
+ t[c++] = 128, pe(this.buffer.subarray(c)), this.padOffset > s - c && (this.process(r, 0), c = 0);
1492
1492
  for (let f = c; f < s; f++)
1493
1493
  t[f] = 0;
1494
- ei(r, s - 8, BigInt(this.length * 8), o), this.process(r, 0);
1495
- const a = $e(n), l = this.outputLen;
1494
+ ti(r, s - 8, BigInt(this.length * 8), o), this.process(r, 0);
1495
+ const a = en(n), l = this.outputLen;
1496
1496
  if (l % 4)
1497
1497
  throw new Error("_sha2: outputLen should be aligned to 32bit");
1498
1498
  const A = l / 4, d = this.get();
@@ -1525,20 +1525,20 @@ const K = /* @__PURE__ */ Uint32Array.from([
1525
1525
  2600822924,
1526
1526
  528734635,
1527
1527
  1541459225
1528
- ]), Me = /* @__PURE__ */ BigInt(2 ** 32 - 1), qn = /* @__PURE__ */ BigInt(32);
1529
- function si(e, n = !1) {
1530
- return n ? { h: Number(e & Me), l: Number(e >> qn & Me) } : { h: Number(e >> qn & Me) | 0, l: Number(e & Me) | 0 };
1528
+ ]), We = /* @__PURE__ */ BigInt(2 ** 32 - 1), Kn = /* @__PURE__ */ BigInt(32);
1529
+ function oi(e, n = !1) {
1530
+ return n ? { h: Number(e & We), l: Number(e >> Kn & We) } : { h: Number(e >> Kn & We) | 0, l: Number(e & We) | 0 };
1531
1531
  }
1532
- function ii(e, n = !1) {
1532
+ function ci(e, n = !1) {
1533
1533
  const t = e.length;
1534
1534
  let r = new Uint32Array(t), s = new Uint32Array(t);
1535
1535
  for (let o = 0; o < t; o++) {
1536
- const { h: c, l: a } = si(e[o], n);
1536
+ const { h: c, l: a } = oi(e[o], n);
1537
1537
  [r[o], s[o]] = [c, a];
1538
1538
  }
1539
1539
  return [r, s];
1540
1540
  }
1541
- const oi = (e, n, t) => e << t | n >>> 32 - t, ci = (e, n, t) => n << t | e >>> 32 - t, ai = (e, n, t) => n << t - 32 | e >>> 64 - t, li = (e, n, t) => e << t - 32 | n >>> 64 - t, Ai = /* @__PURE__ */ Uint32Array.from([
1541
+ const ai = (e, n, t) => e << t | n >>> 32 - t, li = (e, n, t) => n << t | e >>> 32 - t, Ai = (e, n, t) => n << t - 32 | e >>> 64 - t, di = (e, n, t) => e << t - 32 | n >>> 64 - t, fi = /* @__PURE__ */ Uint32Array.from([
1542
1542
  1116352408,
1543
1543
  1899447441,
1544
1544
  3049323471,
@@ -1604,7 +1604,7 @@ const oi = (e, n, t) => e << t | n >>> 32 - t, ci = (e, n, t) => n << t | e >>>
1604
1604
  3204031479,
1605
1605
  3329325298
1606
1606
  ]), G = /* @__PURE__ */ new Uint32Array(64);
1607
- class di extends ri {
1607
+ class ui extends ii {
1608
1608
  constructor(n = 32) {
1609
1609
  super(64, n, 8, !1), this.A = K[0] | 0, this.B = K[1] | 0, this.C = K[2] | 0, this.D = K[3] | 0, this.E = K[4] | 0, this.F = K[5] | 0, this.G = K[6] | 0, this.H = K[7] | 0;
1610
1610
  }
@@ -1625,40 +1625,40 @@ class di extends ri {
1625
1625
  }
1626
1626
  let { A: r, B: s, C: o, D: c, E: a, F: l, G: A, H: d } = this;
1627
1627
  for (let f = 0; f < 64; f++) {
1628
- const g = J(a, 6) ^ J(a, 11) ^ J(a, 25), u = d + g + ni(a, l, A) + Ai[f] + G[f] | 0, C = (J(r, 2) ^ J(r, 13) ^ J(r, 22)) + ti(r, s, o) | 0;
1628
+ const g = J(a, 6) ^ J(a, 11) ^ J(a, 25), u = d + g + ri(a, l, A) + fi[f] + G[f] | 0, C = (J(r, 2) ^ J(r, 13) ^ J(r, 22)) + si(r, s, o) | 0;
1629
1629
  d = A, A = l, l = a, a = c + u | 0, c = o, o = s, s = r, r = u + C | 0;
1630
1630
  }
1631
1631
  r = r + this.A | 0, s = s + this.B | 0, o = o + this.C | 0, c = c + this.D | 0, a = a + this.E | 0, l = l + this.F | 0, A = A + this.G | 0, d = d + this.H | 0, this.set(r, s, o, c, a, l, A, d);
1632
1632
  }
1633
1633
  roundClean() {
1634
- xe(G);
1634
+ pe(G);
1635
1635
  }
1636
1636
  destroy() {
1637
- this.set(0, 0, 0, 0, 0, 0, 0, 0), xe(this.buffer);
1637
+ this.set(0, 0, 0, 0, 0, 0, 0, 0), pe(this.buffer);
1638
1638
  }
1639
1639
  }
1640
- const fi = /* @__PURE__ */ Yt(() => new di()), ui = fi;
1641
- function gi(e, n) {
1642
- return ui(we(e, { strict: !1 }) ? ht(e) : e);
1640
+ const gi = /* @__PURE__ */ Zt(() => new ui()), vi = gi;
1641
+ function Ci(e, n) {
1642
+ return vi(Ie(e, { strict: !1 }) ? Mt(e) : e);
1643
1643
  }
1644
- function vi(e) {
1645
- const { commitment: n, version: t = 1 } = e, r = e.to ?? (typeof n == "string" ? "hex" : "bytes"), s = gi(n);
1644
+ function mi(e) {
1645
+ const { commitment: n, version: t = 1 } = e, r = e.to ?? (typeof n == "string" ? "hex" : "bytes"), s = Ci(n);
1646
1646
  return s.set([t], 0), r === "bytes" ? s : q(s);
1647
1647
  }
1648
- function Ci(e) {
1648
+ function xi(e) {
1649
1649
  const { commitments: n, version: t } = e, r = e.to ?? (typeof n[0] == "string" ? "hex" : "bytes"), s = [];
1650
1650
  for (const o of n)
1651
- s.push(vi({
1651
+ s.push(mi({
1652
1652
  commitment: o,
1653
1653
  to: r,
1654
1654
  version: t
1655
1655
  }));
1656
1656
  return s;
1657
1657
  }
1658
- const Kn = 6, Zt = 32, Mn = 4096, kt = Zt * Mn, Gn = kt * Kn - // terminator byte (0x80).
1658
+ const Gn = 6, kt = 32, Wn = 4096, Jt = kt * Wn, Un = Jt * Gn - // terminator byte (0x80).
1659
1659
  1 - // zero byte (0x00) appended to each field element.
1660
- 1 * Mn * Kn, Jt = 1;
1661
- class mi extends y {
1660
+ 1 * Wn * Gn, Ft = 1;
1661
+ class pi extends y {
1662
1662
  constructor({ maxSize: n, size: t }) {
1663
1663
  super("Blob size is too large.", {
1664
1664
  metaMessages: [`Max: ${n} bytes`, `Given: ${t} bytes`],
@@ -1666,12 +1666,12 @@ class mi extends y {
1666
1666
  });
1667
1667
  }
1668
1668
  }
1669
- class Ft extends y {
1669
+ class Dt extends y {
1670
1670
  constructor() {
1671
1671
  super("Blob data must not be empty.", { name: "EmptyBlobError" });
1672
1672
  }
1673
1673
  }
1674
- class xi extends y {
1674
+ class bi extends y {
1675
1675
  constructor({ hash: n, size: t }) {
1676
1676
  super(`Versioned hash "${n}" size is invalid.`, {
1677
1677
  metaMessages: ["Expected: 32", `Received: ${t}`],
@@ -1679,33 +1679,33 @@ class xi extends y {
1679
1679
  });
1680
1680
  }
1681
1681
  }
1682
- class pi extends y {
1682
+ class zi extends y {
1683
1683
  constructor({ hash: n, version: t }) {
1684
1684
  super(`Versioned hash "${n}" version is invalid.`, {
1685
1685
  metaMessages: [
1686
- `Expected: ${Jt}`,
1686
+ `Expected: ${Ft}`,
1687
1687
  `Received: ${t}`
1688
1688
  ],
1689
1689
  name: "InvalidVersionedHashVersionError"
1690
1690
  });
1691
1691
  }
1692
1692
  }
1693
- function bi(e) {
1693
+ function wi(e) {
1694
1694
  const n = e.to ?? (typeof e.data == "string" ? "hex" : "bytes"), t = typeof e.data == "string" ? _(e.data) : e.data, r = ae(t);
1695
1695
  if (!r)
1696
- throw new Ft();
1697
- if (r > Gn)
1698
- throw new mi({
1699
- maxSize: Gn,
1696
+ throw new Dt();
1697
+ if (r > Un)
1698
+ throw new pi({
1699
+ maxSize: Un,
1700
1700
  size: r
1701
1701
  });
1702
1702
  const s = [];
1703
1703
  let o = !0, c = 0;
1704
1704
  for (; o; ) {
1705
- const a = Vt(new Uint8Array(kt));
1705
+ const a = Xt(new Uint8Array(Jt));
1706
1706
  let l = 0;
1707
- for (; l < Mn; ) {
1708
- const A = t.slice(c, c + (Zt - 1));
1707
+ for (; l < Wn; ) {
1708
+ const A = t.slice(c, c + (kt - 1));
1709
1709
  if (a.pushByte(0), a.pushBytes(A), A.length < 31) {
1710
1710
  a.pushByte(128), o = !1;
1711
1711
  break;
@@ -1716,8 +1716,8 @@ function bi(e) {
1716
1716
  }
1717
1717
  return n === "bytes" ? s.map((a) => a.bytes) : s.map((a) => q(a.bytes));
1718
1718
  }
1719
- function zi(e) {
1720
- const { data: n, kzg: t, to: r } = e, s = e.blobs ?? bi({ data: n, to: r }), o = e.commitments ?? Et({ blobs: s, kzg: t, to: r }), c = e.proofs ?? Lt({ blobs: s, commitments: o, kzg: t, to: r }), a = [];
1719
+ function Ii(e) {
1720
+ const { data: n, kzg: t, to: r } = e, s = e.blobs ?? wi({ data: n, to: r }), o = e.commitments ?? Lt({ blobs: s, kzg: t, to: r }), c = e.proofs ?? St({ blobs: s, commitments: o, kzg: t, to: r }), a = [];
1721
1721
  for (let l = 0; l < s.length; l++)
1722
1722
  a.push({
1723
1723
  blob: s[l],
@@ -1737,7 +1737,7 @@ class H extends y {
1737
1737
  });
1738
1738
  }
1739
1739
  }
1740
- class De extends y {
1740
+ class He extends y {
1741
1741
  constructor({ chainId: n }) {
1742
1742
  super(typeof n == "number" ? `Chain ID "${n}" is invalid.` : "Chain ID is invalid.", { name: "InvalidChainIdError" });
1743
1743
  }
@@ -1777,7 +1777,7 @@ Object.defineProperty(ee, "nodeMessage", {
1777
1777
  writable: !0,
1778
1778
  value: /max fee per gas higher than 2\^256-1|fee cap higher than 2\^256-1/
1779
1779
  });
1780
- class ln extends y {
1780
+ class An extends y {
1781
1781
  constructor({ cause: n, maxFeePerGas: t } = {}) {
1782
1782
  super(`The fee cap (\`maxFeePerGas\`${t ? ` = ${R(t)}` : ""} gwei) cannot be lower than the block base fee.`, {
1783
1783
  cause: n,
@@ -1785,24 +1785,24 @@ class ln extends y {
1785
1785
  });
1786
1786
  }
1787
1787
  }
1788
- Object.defineProperty(ln, "nodeMessage", {
1788
+ Object.defineProperty(An, "nodeMessage", {
1789
1789
  enumerable: !0,
1790
1790
  configurable: !0,
1791
1791
  writable: !0,
1792
1792
  value: /max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/
1793
1793
  });
1794
- class An extends y {
1794
+ class dn extends y {
1795
1795
  constructor({ cause: n, nonce: t } = {}) {
1796
1796
  super(`Nonce provided for the transaction ${t ? `(${t}) ` : ""}is higher than the next one expected.`, { cause: n, name: "NonceTooHighError" });
1797
1797
  }
1798
1798
  }
1799
- Object.defineProperty(An, "nodeMessage", {
1799
+ Object.defineProperty(dn, "nodeMessage", {
1800
1800
  enumerable: !0,
1801
1801
  configurable: !0,
1802
1802
  writable: !0,
1803
1803
  value: /nonce too high/
1804
1804
  });
1805
- class dn extends y {
1805
+ class fn extends y {
1806
1806
  constructor({ cause: n, nonce: t } = {}) {
1807
1807
  super([
1808
1808
  `Nonce provided for the transaction ${t ? `(${t}) ` : ""}is lower than the current nonce of the account.`,
@@ -1811,24 +1811,24 @@ class dn extends y {
1811
1811
  `), { cause: n, name: "NonceTooLowError" });
1812
1812
  }
1813
1813
  }
1814
- Object.defineProperty(dn, "nodeMessage", {
1814
+ Object.defineProperty(fn, "nodeMessage", {
1815
1815
  enumerable: !0,
1816
1816
  configurable: !0,
1817
1817
  writable: !0,
1818
1818
  value: /nonce too low|transaction already imported|already known/
1819
1819
  });
1820
- class fn extends y {
1820
+ class un extends y {
1821
1821
  constructor({ cause: n, nonce: t } = {}) {
1822
1822
  super(`Nonce provided for the transaction ${t ? `(${t}) ` : ""}exceeds the maximum allowed nonce.`, { cause: n, name: "NonceMaxValueError" });
1823
1823
  }
1824
1824
  }
1825
- Object.defineProperty(fn, "nodeMessage", {
1825
+ Object.defineProperty(un, "nodeMessage", {
1826
1826
  enumerable: !0,
1827
1827
  configurable: !0,
1828
1828
  writable: !0,
1829
1829
  value: /nonce has max value/
1830
1830
  });
1831
- class un extends y {
1831
+ class gn extends y {
1832
1832
  constructor({ cause: n } = {}) {
1833
1833
  super([
1834
1834
  "The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account."
@@ -1849,13 +1849,13 @@ class un extends y {
1849
1849
  });
1850
1850
  }
1851
1851
  }
1852
- Object.defineProperty(un, "nodeMessage", {
1852
+ Object.defineProperty(gn, "nodeMessage", {
1853
1853
  enumerable: !0,
1854
1854
  configurable: !0,
1855
1855
  writable: !0,
1856
1856
  value: /insufficient funds|exceeds transaction sender account balance/
1857
1857
  });
1858
- class gn extends y {
1858
+ class vn extends y {
1859
1859
  constructor({ cause: n, gas: t } = {}) {
1860
1860
  super(`The amount of gas ${t ? `(${t}) ` : ""}provided for the transaction exceeds the limit allowed for the block.`, {
1861
1861
  cause: n,
@@ -1863,13 +1863,13 @@ class gn extends y {
1863
1863
  });
1864
1864
  }
1865
1865
  }
1866
- Object.defineProperty(gn, "nodeMessage", {
1866
+ Object.defineProperty(vn, "nodeMessage", {
1867
1867
  enumerable: !0,
1868
1868
  configurable: !0,
1869
1869
  writable: !0,
1870
1870
  value: /intrinsic gas too high|gas limit reached/
1871
1871
  });
1872
- class vn extends y {
1872
+ class Cn extends y {
1873
1873
  constructor({ cause: n, gas: t } = {}) {
1874
1874
  super(`The amount of gas ${t ? `(${t}) ` : ""}provided for the transaction is too low.`, {
1875
1875
  cause: n,
@@ -1877,13 +1877,13 @@ class vn extends y {
1877
1877
  });
1878
1878
  }
1879
1879
  }
1880
- Object.defineProperty(vn, "nodeMessage", {
1880
+ Object.defineProperty(Cn, "nodeMessage", {
1881
1881
  enumerable: !0,
1882
1882
  configurable: !0,
1883
1883
  writable: !0,
1884
1884
  value: /intrinsic gas too low/
1885
1885
  });
1886
- class Cn extends y {
1886
+ class mn extends y {
1887
1887
  constructor({ cause: n }) {
1888
1888
  super("The transaction type is not supported for this chain.", {
1889
1889
  cause: n,
@@ -1891,13 +1891,13 @@ class Cn extends y {
1891
1891
  });
1892
1892
  }
1893
1893
  }
1894
- Object.defineProperty(Cn, "nodeMessage", {
1894
+ Object.defineProperty(mn, "nodeMessage", {
1895
1895
  enumerable: !0,
1896
1896
  configurable: !0,
1897
1897
  writable: !0,
1898
1898
  value: /transaction type not valid/
1899
1899
  });
1900
- class pe extends y {
1900
+ class be extends y {
1901
1901
  constructor({ cause: n, maxPriorityFeePerGas: t, maxFeePerGas: r } = {}) {
1902
1902
  super([
1903
1903
  `The provided tip (\`maxPriorityFeePerGas\`${t ? ` = ${R(t)} gwei` : ""}) cannot be higher than the fee cap (\`maxFeePerGas\`${r ? ` = ${R(r)} gwei` : ""}).`
@@ -1908,13 +1908,13 @@ class pe extends y {
1908
1908
  });
1909
1909
  }
1910
1910
  }
1911
- Object.defineProperty(pe, "nodeMessage", {
1911
+ Object.defineProperty(be, "nodeMessage", {
1912
1912
  enumerable: !0,
1913
1913
  configurable: !0,
1914
1914
  writable: !0,
1915
1915
  value: /max priority fee per gas higher than max fee per gas|tip higher than fee cap/
1916
1916
  });
1917
- class Dt extends y {
1917
+ class Ht extends y {
1918
1918
  constructor({ cause: n }) {
1919
1919
  super(`An error occurred while executing: ${n?.shortMessage}`, {
1920
1920
  cause: n,
@@ -1922,7 +1922,7 @@ class Dt extends y {
1922
1922
  });
1923
1923
  }
1924
1924
  }
1925
- class Ht extends Map {
1925
+ class Qt extends Map {
1926
1926
  constructor(n) {
1927
1927
  super(), Object.defineProperty(this, "maxSize", {
1928
1928
  enumerable: !0,
@@ -1943,28 +1943,28 @@ class Ht extends Map {
1943
1943
  return this;
1944
1944
  }
1945
1945
  }
1946
- const wi = BigInt(0), ue = BigInt(1), Ii = BigInt(2), Pi = BigInt(7), Bi = BigInt(256), yi = BigInt(113), Qt = [], qt = [], Kt = [];
1946
+ const Pi = BigInt(0), ue = BigInt(1), Bi = BigInt(2), yi = BigInt(7), hi = BigInt(256), Mi = BigInt(113), qt = [], Kt = [], Gt = [];
1947
1947
  for (let e = 0, n = ue, t = 1, r = 0; e < 24; e++) {
1948
- [t, r] = [r, (2 * t + 3 * r) % 5], Qt.push(2 * (5 * r + t)), qt.push((e + 1) * (e + 2) / 2 % 64);
1949
- let s = wi;
1948
+ [t, r] = [r, (2 * t + 3 * r) % 5], qt.push(2 * (5 * r + t)), Kt.push((e + 1) * (e + 2) / 2 % 64);
1949
+ let s = Pi;
1950
1950
  for (let o = 0; o < 7; o++)
1951
- n = (n << ue ^ (n >> Pi) * yi) % Bi, n & Ii && (s ^= ue << (ue << /* @__PURE__ */ BigInt(o)) - ue);
1952
- Kt.push(s);
1951
+ n = (n << ue ^ (n >> yi) * Mi) % hi, n & Bi && (s ^= ue << (ue << /* @__PURE__ */ BigInt(o)) - ue);
1952
+ Gt.push(s);
1953
1953
  }
1954
- const Gt = ii(Kt, !0), hi = Gt[0], Mi = Gt[1], Un = (e, n, t) => t > 32 ? ai(e, n, t) : oi(e, n, t), Rn = (e, n, t) => t > 32 ? li(e, n, t) : ci(e, n, t);
1955
- function Wi(e, n = 24) {
1954
+ const Ut = ci(Gt, !0), Wi = Ut[0], Vi = Ut[1], Rn = (e, n, t) => t > 32 ? Ai(e, n, t) : ai(e, n, t), _n = (e, n, t) => t > 32 ? di(e, n, t) : li(e, n, t);
1955
+ function Xi(e, n = 24) {
1956
1956
  const t = new Uint32Array(10);
1957
1957
  for (let r = 24 - n; r < 24; r++) {
1958
1958
  for (let c = 0; c < 10; c++)
1959
1959
  t[c] = e[c] ^ e[c + 10] ^ e[c + 20] ^ e[c + 30] ^ e[c + 40];
1960
1960
  for (let c = 0; c < 10; c += 2) {
1961
- const a = (c + 8) % 10, l = (c + 2) % 10, A = t[l], d = t[l + 1], f = Un(A, d, 1) ^ t[a], g = Rn(A, d, 1) ^ t[a + 1];
1961
+ const a = (c + 8) % 10, l = (c + 2) % 10, A = t[l], d = t[l + 1], f = Rn(A, d, 1) ^ t[a], g = _n(A, d, 1) ^ t[a + 1];
1962
1962
  for (let u = 0; u < 50; u += 10)
1963
1963
  e[c + u] ^= f, e[c + u + 1] ^= g;
1964
1964
  }
1965
1965
  let s = e[2], o = e[3];
1966
1966
  for (let c = 0; c < 24; c++) {
1967
- const a = qt[c], l = Un(s, o, a), A = Rn(s, o, a), d = Qt[c];
1967
+ const a = Kt[c], l = Rn(s, o, a), A = _n(s, o, a), d = qt[c];
1968
1968
  s = e[d], o = e[d + 1], e[d] = l, e[d + 1] = A;
1969
1969
  }
1970
1970
  for (let c = 0; c < 50; c += 10) {
@@ -1973,25 +1973,25 @@ function Wi(e, n = 24) {
1973
1973
  for (let a = 0; a < 10; a++)
1974
1974
  e[c + a] ^= ~t[(a + 2) % 10] & t[(a + 4) % 10];
1975
1975
  }
1976
- e[0] ^= hi[r], e[1] ^= Mi[r];
1976
+ e[0] ^= Wi[r], e[1] ^= Vi[r];
1977
1977
  }
1978
- xe(t);
1978
+ pe(t);
1979
1979
  }
1980
- class Wn extends Ot {
1980
+ class Vn extends Yt {
1981
1981
  // NOTE: we accept arguments in bytes instead of bits here.
1982
1982
  constructor(n, t, r, s = !1, o = 24) {
1983
- if (super(), this.pos = 0, this.posOut = 0, this.finished = !1, this.destroyed = !1, this.enableXOF = !1, this.blockLen = n, this.suffix = t, this.outputLen = r, this.enableXOF = s, this.rounds = o, Hn(r), !(0 < n && n < 200))
1983
+ if (super(), this.pos = 0, this.posOut = 0, this.finished = !1, this.destroyed = !1, this.enableXOF = !1, this.blockLen = n, this.suffix = t, this.outputLen = r, this.enableXOF = s, this.rounds = o, Qn(r), !(0 < n && n < 200))
1984
1984
  throw new Error("only keccak-f1600 function is supported");
1985
- this.state = new Uint8Array(200), this.state32 = Gs(this.state);
1985
+ this.state = new Uint8Array(200), this.state32 = Rs(this.state);
1986
1986
  }
1987
1987
  clone() {
1988
1988
  return this._cloneInto();
1989
1989
  }
1990
1990
  keccak() {
1991
- Qn(this.state32), Wi(this.state32, this.rounds), Qn(this.state32), this.posOut = 0, this.pos = 0;
1991
+ qn(this.state32), Xi(this.state32, this.rounds), qn(this.state32), this.posOut = 0, this.pos = 0;
1992
1992
  }
1993
1993
  update(n) {
1994
- Oe(this), n = hn(n), me(n);
1994
+ Ye(this), n = Mn(n), xe(n);
1995
1995
  const { blockLen: t, state: r } = this, s = n.length;
1996
1996
  for (let o = 0; o < s; ) {
1997
1997
  const c = Math.min(t - this.pos, s - o);
@@ -2009,7 +2009,7 @@ class Wn extends Ot {
2009
2009
  n[r] ^= t, (t & 128) !== 0 && r === s - 1 && this.keccak(), n[s - 1] ^= 128, this.keccak();
2010
2010
  }
2011
2011
  writeInto(n) {
2012
- Oe(this, !1), me(n), this.finish();
2012
+ Ye(this, !1), xe(n), this.finish();
2013
2013
  const t = this.state, { blockLen: r } = this;
2014
2014
  for (let s = 0, o = n.length; s < o; ) {
2015
2015
  this.posOut >= r && this.keccak();
@@ -2024,10 +2024,10 @@ class Wn extends Ot {
2024
2024
  return this.writeInto(n);
2025
2025
  }
2026
2026
  xof(n) {
2027
- return Hn(n), this.xofInto(new Uint8Array(n));
2027
+ return Qn(n), this.xofInto(new Uint8Array(n));
2028
2028
  }
2029
2029
  digestInto(n) {
2030
- if (St(n, this), this.finished)
2030
+ if (Ot(n, this), this.finished)
2031
2031
  throw new Error("digest() was already called");
2032
2032
  return this.writeInto(n), this.destroy(), n;
2033
2033
  }
@@ -2035,59 +2035,59 @@ class Wn extends Ot {
2035
2035
  return this.digestInto(new Uint8Array(this.outputLen));
2036
2036
  }
2037
2037
  destroy() {
2038
- this.destroyed = !0, xe(this.state);
2038
+ this.destroyed = !0, pe(this.state);
2039
2039
  }
2040
2040
  _cloneInto(n) {
2041
2041
  const { blockLen: t, suffix: r, outputLen: s, rounds: o, enableXOF: c } = this;
2042
- return n || (n = new Wn(t, r, s, c, o)), n.state32.set(this.state32), n.pos = this.pos, n.posOut = this.posOut, n.finished = this.finished, n.rounds = o, n.suffix = r, n.outputLen = s, n.enableXOF = c, n.destroyed = this.destroyed, n;
2042
+ return n || (n = new Vn(t, r, s, c, o)), n.state32.set(this.state32), n.pos = this.pos, n.posOut = this.posOut, n.finished = this.finished, n.rounds = o, n.suffix = r, n.outputLen = s, n.enableXOF = c, n.destroyed = this.destroyed, n;
2043
2043
  }
2044
2044
  }
2045
- const Vi = (e, n, t) => Yt(() => new Wn(n, e, t)), Xi = Vi(1, 136, 256 / 8);
2046
- function Ni(e, n) {
2047
- return Xi(we(e, { strict: !1 }) ? ht(e) : e);
2045
+ const Ni = (e, n, t) => Zt(() => new Vn(n, e, t)), ji = Ni(1, 136, 256 / 8);
2046
+ function Ti(e, n) {
2047
+ return ji(Ie(e, { strict: !1 }) ? Mt(e) : e);
2048
2048
  }
2049
- const en = /* @__PURE__ */ new Ht(8192);
2050
- function ji(e, n) {
2051
- if (en.has(`${e}.${n}`))
2052
- return en.get(`${e}.${n}`);
2053
- const t = e.substring(2).toLowerCase(), r = Ni(Mt(t)), s = t.split("");
2049
+ const nn = /* @__PURE__ */ new Qt(8192);
2050
+ function Ei(e, n) {
2051
+ if (nn.has(`${e}.${n}`))
2052
+ return nn.get(`${e}.${n}`);
2053
+ const t = e.substring(2).toLowerCase(), r = Ti(Wt(t)), s = t.split("");
2054
2054
  for (let c = 0; c < 40; c += 2)
2055
2055
  r[c >> 1] >> 4 >= 8 && s[c] && (s[c] = s[c].toUpperCase()), (r[c >> 1] & 15) >= 8 && s[c + 1] && (s[c + 1] = s[c + 1].toUpperCase());
2056
2056
  const o = `0x${s.join("")}`;
2057
- return en.set(`${e}.${n}`, o), o;
2057
+ return nn.set(`${e}.${n}`, o), o;
2058
2058
  }
2059
- const Ti = /^0x[a-fA-F0-9]{40}$/, nn = /* @__PURE__ */ new Ht(8192);
2059
+ const Li = /^0x[a-fA-F0-9]{40}$/, tn = /* @__PURE__ */ new Qt(8192);
2060
2060
  function Q(e, n) {
2061
2061
  const { strict: t = !0 } = n ?? {}, r = `${e}.${t}`;
2062
- if (nn.has(r))
2063
- return nn.get(r);
2064
- const s = Ti.test(e) ? e.toLowerCase() === e ? !0 : t ? ji(e) === e : !0 : !1;
2065
- return nn.set(r, s), s;
2062
+ if (tn.has(r))
2063
+ return tn.get(r);
2064
+ const s = Li.test(e) ? e.toLowerCase() === e ? !0 : t ? Ei(e) === e : !0 : !1;
2065
+ return tn.set(r, s), s;
2066
2066
  }
2067
- function Ei(e, n, t, { strict: r } = {}) {
2068
- return we(e, { strict: !1 }) ? Si(e, n, t, {
2067
+ function Si(e, n, t, { strict: r } = {}) {
2068
+ return Ie(e, { strict: !1 }) ? Yi(e, n, t, {
2069
2069
  strict: r
2070
- }) : Li(e, n, t, {
2070
+ }) : Oi(e, n, t, {
2071
2071
  strict: r
2072
2072
  });
2073
2073
  }
2074
- function Ut(e, n, t) {
2074
+ function Rt(e, n, t) {
2075
2075
  if (ae(e) !== t - n)
2076
- throw new gs({
2076
+ throw new Cs({
2077
2077
  offset: t,
2078
2078
  position: "end",
2079
2079
  size: ae(e)
2080
2080
  });
2081
2081
  }
2082
- function Li(e, n, t, { strict: r } = {}) {
2082
+ function Oi(e, n, t, { strict: r } = {}) {
2083
2083
  const s = e.slice(n, t);
2084
- return r && Ut(s, n, t), s;
2084
+ return r && Rt(s, n, t), s;
2085
2085
  }
2086
- function Si(e, n, t, { strict: r } = {}) {
2086
+ function Yi(e, n, t, { strict: r } = {}) {
2087
2087
  const s = `0x${e.replace("0x", "").slice(n * 2, t * 2)}`;
2088
- return r && Ut(s, n, t), s;
2088
+ return r && Rt(s, n, t), s;
2089
2089
  }
2090
- function Oi(e) {
2090
+ function Zi(e) {
2091
2091
  const { authorizationList: n } = e;
2092
2092
  if (n)
2093
2093
  for (const t of n) {
@@ -2095,62 +2095,62 @@ function Oi(e) {
2095
2095
  if (!Q(s))
2096
2096
  throw new H({ address: s });
2097
2097
  if (r < 0)
2098
- throw new De({ chainId: r });
2098
+ throw new He({ chainId: r });
2099
2099
  }
2100
- Vn(e);
2100
+ Xn(e);
2101
2101
  }
2102
- function Yi(e) {
2102
+ function ki(e) {
2103
2103
  const { blobVersionedHashes: n } = e;
2104
2104
  if (n) {
2105
2105
  if (n.length === 0)
2106
- throw new Ft();
2106
+ throw new Dt();
2107
2107
  for (const t of n) {
2108
- const r = ae(t), s = Se(Ei(t, 0, 1));
2108
+ const r = ae(t), s = Oe(Si(t, 0, 1));
2109
2109
  if (r !== 32)
2110
- throw new xi({ hash: t, size: r });
2111
- if (s !== Jt)
2112
- throw new pi({
2110
+ throw new bi({ hash: t, size: r });
2111
+ if (s !== Ft)
2112
+ throw new zi({
2113
2113
  hash: t,
2114
2114
  version: s
2115
2115
  });
2116
2116
  }
2117
2117
  }
2118
- Vn(e);
2118
+ Xn(e);
2119
2119
  }
2120
- function Vn(e) {
2120
+ function Xn(e) {
2121
2121
  const { chainId: n, maxPriorityFeePerGas: t, maxFeePerGas: r, to: s } = e;
2122
2122
  if (n <= 0)
2123
- throw new De({ chainId: n });
2123
+ throw new He({ chainId: n });
2124
2124
  if (s && !Q(s))
2125
2125
  throw new H({ address: s });
2126
- if (r && r > Fe)
2126
+ if (r && r > De)
2127
2127
  throw new ee({ maxFeePerGas: r });
2128
2128
  if (t && r && t > r)
2129
- throw new pe({ maxFeePerGas: r, maxPriorityFeePerGas: t });
2129
+ throw new be({ maxFeePerGas: r, maxPriorityFeePerGas: t });
2130
2130
  }
2131
- function Zi(e) {
2131
+ function Ji(e) {
2132
2132
  const { chainId: n, maxPriorityFeePerGas: t, gasPrice: r, maxFeePerGas: s, to: o } = e;
2133
2133
  if (n <= 0)
2134
- throw new De({ chainId: n });
2134
+ throw new He({ chainId: n });
2135
2135
  if (o && !Q(o))
2136
2136
  throw new H({ address: o });
2137
2137
  if (t || s)
2138
2138
  throw new y("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid EIP-2930 Transaction attribute.");
2139
- if (r && r > Fe)
2139
+ if (r && r > De)
2140
2140
  throw new ee({ maxFeePerGas: r });
2141
2141
  }
2142
- function ki(e) {
2142
+ function Fi(e) {
2143
2143
  const { chainId: n, maxPriorityFeePerGas: t, gasPrice: r, maxFeePerGas: s, to: o } = e;
2144
2144
  if (o && !Q(o))
2145
2145
  throw new H({ address: o });
2146
2146
  if (typeof n < "u" && n <= 0)
2147
- throw new De({ chainId: n });
2147
+ throw new He({ chainId: n });
2148
2148
  if (t || s)
2149
2149
  throw new y("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid Legacy Transaction attribute.");
2150
- if (r && r > Fe)
2150
+ if (r && r > De)
2151
2151
  throw new ee({ maxFeePerGas: r });
2152
2152
  }
2153
- function Ji(e) {
2153
+ function Di(e) {
2154
2154
  if (e.type)
2155
2155
  return e.type;
2156
2156
  if (typeof e.authorizationList < "u")
@@ -2161,9 +2161,9 @@ function Ji(e) {
2161
2161
  return "eip1559";
2162
2162
  if (typeof e.gasPrice < "u")
2163
2163
  return typeof e.accessList < "u" ? "eip2930" : "legacy";
2164
- throw new Hs({ transaction: e });
2164
+ throw new qs({ transaction: e });
2165
2165
  }
2166
- function He(e) {
2166
+ function Qe(e) {
2167
2167
  if (!e || e.length === 0)
2168
2168
  return [];
2169
2169
  const n = [];
@@ -2171,22 +2171,22 @@ function He(e) {
2171
2171
  const { address: r, storageKeys: s } = e[t];
2172
2172
  for (let o = 0; o < s.length; o++)
2173
2173
  if (s[o].length - 2 !== 64)
2174
- throw new Qs({ storageKey: s[o] });
2174
+ throw new Ks({ storageKey: s[o] });
2175
2175
  if (!Q(r, { strict: !1 }))
2176
2176
  throw new H({ address: r });
2177
2177
  n.push([r, s]);
2178
2178
  }
2179
2179
  return n;
2180
2180
  }
2181
- function Fi(e, n) {
2182
- const t = Ji(e);
2183
- return t === "eip1559" ? Qi(e, n) : t === "eip2930" ? qi(e, n) : t === "eip4844" ? Hi(e, n) : t === "eip7702" ? Di(e, n) : Ki(e, n);
2181
+ function Hi(e, n) {
2182
+ const t = Di(e);
2183
+ return t === "eip1559" ? Ki(e, n) : t === "eip2930" ? Gi(e, n) : t === "eip4844" ? qi(e, n) : t === "eip7702" ? Qi(e, n) : Ui(e, n);
2184
2184
  }
2185
- function Di(e, n) {
2185
+ function Qi(e, n) {
2186
2186
  const { authorizationList: t, chainId: r, gas: s, nonce: o, to: c, value: a, maxFeePerGas: l, maxPriorityFeePerGas: A, accessList: d, data: f } = e;
2187
- Oi(e);
2188
- const g = He(d), u = qs(t);
2189
- return Ie([
2187
+ Zi(e);
2188
+ const g = Qe(d), u = Gs(t);
2189
+ return Pe([
2190
2190
  "0x04",
2191
2191
  $([
2192
2192
  z(r),
@@ -2199,27 +2199,27 @@ function Di(e, n) {
2199
2199
  f ?? "0x",
2200
2200
  g,
2201
2201
  u,
2202
- ...Pe(e, n)
2202
+ ...Be(e, n)
2203
2203
  ])
2204
2204
  ]);
2205
2205
  }
2206
- function Hi(e, n) {
2206
+ function qi(e, n) {
2207
2207
  const { chainId: t, gas: r, nonce: s, to: o, value: c, maxFeePerBlobGas: a, maxFeePerGas: l, maxPriorityFeePerGas: A, accessList: d, data: f } = e;
2208
- Yi(e);
2208
+ ki(e);
2209
2209
  let g = e.blobVersionedHashes, u = e.sidecars;
2210
2210
  if (e.blobs && (typeof g > "u" || typeof u > "u")) {
2211
- const p = typeof e.blobs[0] == "string" ? e.blobs : e.blobs.map((j) => q(j)), w = e.kzg, I = Et({
2212
- blobs: p,
2211
+ const b = typeof e.blobs[0] == "string" ? e.blobs : e.blobs.map((j) => q(j)), w = e.kzg, I = Lt({
2212
+ blobs: b,
2213
2213
  kzg: w
2214
2214
  });
2215
- if (typeof g > "u" && (g = Ci({
2215
+ if (typeof g > "u" && (g = xi({
2216
2216
  commitments: I
2217
2217
  })), typeof u > "u") {
2218
- const j = Lt({ blobs: p, commitments: I, kzg: w });
2219
- u = zi({ blobs: p, commitments: I, proofs: j });
2218
+ const j = St({ blobs: b, commitments: I, kzg: w });
2219
+ u = Ii({ blobs: b, commitments: I, proofs: j });
2220
2220
  }
2221
2221
  }
2222
- const x = He(d), C = [
2222
+ const x = Qe(d), C = [
2223
2223
  z(t),
2224
2224
  s ? z(s) : "0x",
2225
2225
  A ? z(A) : "0x",
@@ -2231,23 +2231,23 @@ function Hi(e, n) {
2231
2231
  x,
2232
2232
  a ? z(a) : "0x",
2233
2233
  g ?? [],
2234
- ...Pe(e, n)
2235
- ], m = [], b = [], h = [];
2234
+ ...Be(e, n)
2235
+ ], m = [], p = [], h = [];
2236
2236
  if (u)
2237
- for (let p = 0; p < u.length; p++) {
2238
- const { blob: w, commitment: I, proof: j } = u[p];
2239
- m.push(w), b.push(I), h.push(j);
2237
+ for (let b = 0; b < u.length; b++) {
2238
+ const { blob: w, commitment: I, proof: j } = u[b];
2239
+ m.push(w), p.push(I), h.push(j);
2240
2240
  }
2241
- return Ie([
2241
+ return Pe([
2242
2242
  "0x03",
2243
2243
  // If sidecars are enabled, envelope turns into a "wrapper":
2244
- $(u ? [C, m, b, h] : C)
2244
+ $(u ? [C, m, p, h] : C)
2245
2245
  ]);
2246
2246
  }
2247
- function Qi(e, n) {
2247
+ function Ki(e, n) {
2248
2248
  const { chainId: t, gas: r, nonce: s, to: o, value: c, maxFeePerGas: a, maxPriorityFeePerGas: l, accessList: A, data: d } = e;
2249
- Vn(e);
2250
- const f = He(A), g = [
2249
+ Xn(e);
2250
+ const f = Qe(A), g = [
2251
2251
  z(t),
2252
2252
  s ? z(s) : "0x",
2253
2253
  l ? z(l) : "0x",
@@ -2257,17 +2257,17 @@ function Qi(e, n) {
2257
2257
  c ? z(c) : "0x",
2258
2258
  d ?? "0x",
2259
2259
  f,
2260
- ...Pe(e, n)
2260
+ ...Be(e, n)
2261
2261
  ];
2262
- return Ie([
2262
+ return Pe([
2263
2263
  "0x02",
2264
2264
  $(g)
2265
2265
  ]);
2266
2266
  }
2267
- function qi(e, n) {
2267
+ function Gi(e, n) {
2268
2268
  const { chainId: t, gas: r, data: s, nonce: o, to: c, value: a, accessList: l, gasPrice: A } = e;
2269
- Zi(e);
2270
- const d = He(l), f = [
2269
+ Ji(e);
2270
+ const d = Qe(l), f = [
2271
2271
  z(t),
2272
2272
  o ? z(o) : "0x",
2273
2273
  A ? z(A) : "0x",
@@ -2276,16 +2276,16 @@ function qi(e, n) {
2276
2276
  a ? z(a) : "0x",
2277
2277
  s ?? "0x",
2278
2278
  d,
2279
- ...Pe(e, n)
2279
+ ...Be(e, n)
2280
2280
  ];
2281
- return Ie([
2281
+ return Pe([
2282
2282
  "0x01",
2283
2283
  $(f)
2284
2284
  ]);
2285
2285
  }
2286
- function Ki(e, n) {
2286
+ function Ui(e, n) {
2287
2287
  const { chainId: t = 0, gas: r, data: s, nonce: o, to: c, value: a, gasPrice: l } = e;
2288
- ki(e);
2288
+ Fi(e);
2289
2289
  let A = [
2290
2290
  o ? z(o) : "0x",
2291
2291
  l ? z(l) : "0x",
@@ -2302,9 +2302,9 @@ function Ki(e, n) {
2302
2302
  return BigInt(t * 2) + BigInt(35n + n.v - 27n);
2303
2303
  const u = 27n + (n.v === 27n ? 0n : 1n);
2304
2304
  if (n.v !== u)
2305
- throw new Ds({ v: n.v });
2305
+ throw new Qs({ v: n.v });
2306
2306
  return u;
2307
- })(), f = Le(n.r), g = Le(n.s);
2307
+ })(), f = Se(n.r), g = Se(n.s);
2308
2308
  A = [
2309
2309
  ...A,
2310
2310
  z(d),
@@ -2319,7 +2319,7 @@ function Ki(e, n) {
2319
2319
  ]);
2320
2320
  return $(A);
2321
2321
  }
2322
- function Pe(e, n) {
2322
+ function Be(e, n) {
2323
2323
  const t = n ?? e, { v: r, yParity: s } = t;
2324
2324
  if (typeof t.r > "u")
2325
2325
  return [];
@@ -2327,10 +2327,10 @@ function Pe(e, n) {
2327
2327
  return [];
2328
2328
  if (typeof r > "u" && typeof s > "u")
2329
2329
  return [];
2330
- const o = Le(t.r), c = Le(t.s);
2330
+ const o = Se(t.r), c = Se(t.s);
2331
2331
  return [typeof s == "number" ? s ? z(1) : "0x" : r === 0n ? "0x" : r === 1n ? z(1) : r === 27n ? "0x" : z(1), o === "0x00" ? "0x" : o, c === "0x00" ? "0x" : c];
2332
2332
  }
2333
- const Gi = {
2333
+ const Ri = {
2334
2334
  gasPriceOracle: { address: "0x420000000000000000000000000000000000000F" },
2335
2335
  l1Block: { address: "0x4200000000000000000000000000000000000015" },
2336
2336
  l2CrossDomainMessenger: {
@@ -2341,27 +2341,27 @@ const Gi = {
2341
2341
  l2ToL1MessagePasser: {
2342
2342
  address: "0x4200000000000000000000000000000000000016"
2343
2343
  }
2344
- }, Ui = {
2345
- block: /* @__PURE__ */ hs({
2344
+ }, _i = {
2345
+ block: /* @__PURE__ */ Ws({
2346
2346
  format(e) {
2347
2347
  return {
2348
2348
  transactions: e.transactions?.map((t) => {
2349
2349
  if (typeof t == "string")
2350
2350
  return t;
2351
- const r = yn(t);
2351
+ const r = hn(t);
2352
2352
  return r.typeHex === "0x7e" && (r.isSystemTx = t.isSystemTx, r.mint = t.mint ? se(t.mint) : void 0, r.sourceHash = t.sourceHash, r.type = "deposit"), r;
2353
2353
  }),
2354
2354
  stateRoot: e.stateRoot
2355
2355
  };
2356
2356
  }
2357
2357
  }),
2358
- transaction: /* @__PURE__ */ Ps({
2358
+ transaction: /* @__PURE__ */ ys({
2359
2359
  format(e) {
2360
2360
  const n = {};
2361
2361
  return e.type === "0x7e" && (n.isSystemTx = e.isSystemTx, n.mint = e.mint ? se(e.mint) : void 0, n.sourceHash = e.sourceHash, n.type = "deposit"), n;
2362
2362
  }
2363
2363
  }),
2364
- transactionReceipt: /* @__PURE__ */ Xs({
2364
+ transactionReceipt: /* @__PURE__ */ js({
2365
2365
  format(e) {
2366
2366
  return {
2367
2367
  l1GasPrice: e.l1GasPrice ? se(e.l1GasPrice) : null,
@@ -2372,45 +2372,45 @@ const Gi = {
2372
2372
  }
2373
2373
  })
2374
2374
  };
2375
- function Ri(e, n) {
2376
- return eo(e) ? $i(e) : Fi(e, n);
2375
+ function $i(e, n) {
2376
+ return to(e) ? no(e) : Hi(e, n);
2377
2377
  }
2378
- const _i = {
2379
- transaction: Ri
2378
+ const eo = {
2379
+ transaction: $i
2380
2380
  };
2381
- function $i(e) {
2382
- no(e);
2381
+ function no(e) {
2382
+ ro(e);
2383
2383
  const { sourceHash: n, data: t, from: r, gas: s, isSystemTx: o, mint: c, to: a, value: l } = e, A = [
2384
2384
  n,
2385
2385
  r,
2386
2386
  a ?? "0x",
2387
- c ? Ce(c) : "0x",
2388
- l ? Ce(l) : "0x",
2389
- s ? Ce(s) : "0x",
2387
+ c ? me(c) : "0x",
2388
+ l ? me(l) : "0x",
2389
+ s ? me(s) : "0x",
2390
2390
  o ? "0x1" : "0x",
2391
2391
  t ?? "0x"
2392
2392
  ];
2393
- return Ie([
2393
+ return Pe([
2394
2394
  "0x7e",
2395
2395
  $(A)
2396
2396
  ]);
2397
2397
  }
2398
- function eo(e) {
2398
+ function to(e) {
2399
2399
  return e.type === "deposit" || typeof e.sourceHash < "u";
2400
2400
  }
2401
- function no(e) {
2401
+ function ro(e) {
2402
2402
  const { from: n, to: t } = e;
2403
2403
  if (n && !Q(n))
2404
2404
  throw new H({ address: n });
2405
2405
  if (t && !Q(t))
2406
2406
  throw new H({ address: t });
2407
2407
  }
2408
- const Ye = {
2408
+ const Ze = {
2409
2409
  blockTime: 2e3,
2410
- contracts: Gi,
2411
- formatters: Ui,
2412
- serializers: _i
2413
- }, to = /* @__PURE__ */ U({
2410
+ contracts: Ri,
2411
+ formatters: _i,
2412
+ serializers: eo
2413
+ }, so = /* @__PURE__ */ U({
2414
2414
  id: 42161,
2415
2415
  name: "Arbitrum One",
2416
2416
  nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
@@ -2433,8 +2433,8 @@ const Ye = {
2433
2433
  blockCreated: 7654707
2434
2434
  }
2435
2435
  }
2436
- }), ge = 1, Rt = /* @__PURE__ */ U({
2437
- ...Ye,
2436
+ }), ge = 1, _t = /* @__PURE__ */ U({
2437
+ ...Ze,
2438
2438
  id: 8453,
2439
2439
  name: "Base",
2440
2440
  nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
@@ -2451,7 +2451,7 @@ const Ye = {
2451
2451
  }
2452
2452
  },
2453
2453
  contracts: {
2454
- ...Ye.contracts,
2454
+ ...Ze.contracts,
2455
2455
  disputeGameFactory: {
2456
2456
  [ge]: {
2457
2457
  address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e"
@@ -2482,9 +2482,9 @@ const Ye = {
2482
2482
  sourceId: ge
2483
2483
  });
2484
2484
  ({
2485
- ...Rt
2485
+ ..._t
2486
2486
  });
2487
- const ro = /* @__PURE__ */ U({
2487
+ const io = /* @__PURE__ */ U({
2488
2488
  id: 56,
2489
2489
  name: "BNB Smart Chain",
2490
2490
  blockTime: 750,
@@ -2510,10 +2510,10 @@ const ro = /* @__PURE__ */ U({
2510
2510
  }
2511
2511
  }
2512
2512
  });
2513
- function Xn(e) {
2513
+ function Nn(e) {
2514
2514
  return typeof e == "string" ? { address: e, type: "json-rpc" } : e;
2515
2515
  }
2516
- class so extends y {
2516
+ class oo extends y {
2517
2517
  constructor({ docsPath: n } = {}) {
2518
2518
  super([
2519
2519
  "Could not find an Account to execute with this Action.",
@@ -2526,11 +2526,11 @@ class so extends y {
2526
2526
  });
2527
2527
  }
2528
2528
  }
2529
- function _n(e) {
2529
+ function $n(e) {
2530
2530
  return e.reduce((n, { slot: t, value: r }) => `${n} ${t}: ${r}
2531
2531
  `, "");
2532
2532
  }
2533
- function io(e) {
2533
+ function co(e) {
2534
2534
  return e.reduce((n, { address: t, ...r }) => {
2535
2535
  let s = `${n} ${t}:
2536
2536
  `;
@@ -2538,18 +2538,18 @@ function io(e) {
2538
2538
  `), r.balance && (s += ` balance: ${r.balance}
2539
2539
  `), r.code && (s += ` code: ${r.code}
2540
2540
  `), r.state && (s += ` state:
2541
- `, s += _n(r.state)), r.stateDiff && (s += ` stateDiff:
2542
- `, s += _n(r.stateDiff)), s;
2541
+ `, s += $n(r.state)), r.stateDiff && (s += ` stateDiff:
2542
+ `, s += $n(r.stateDiff)), s;
2543
2543
  }, ` State Override:
2544
2544
  `).slice(0, -1);
2545
2545
  }
2546
- class oo extends y {
2546
+ class ao extends y {
2547
2547
  constructor(n, { account: t, docsPath: r, chain: s, data: o, gas: c, gasPrice: a, maxFeePerGas: l, maxPriorityFeePerGas: A, nonce: d, to: f, value: g, stateOverride: u }) {
2548
- const x = t ? Xn(t) : void 0;
2549
- let C = Tt({
2548
+ const x = t ? Nn(t) : void 0;
2549
+ let C = Et({
2550
2550
  from: x?.address,
2551
2551
  to: f,
2552
- value: typeof g < "u" && `${Js(g)} ${s?.nativeCurrency?.symbol || "ETH"}`,
2552
+ value: typeof g < "u" && `${Ds(g)} ${s?.nativeCurrency?.symbol || "ETH"}`,
2553
2553
  data: o,
2554
2554
  gas: c,
2555
2555
  gasPrice: typeof a < "u" && `${R(a)} gwei`,
@@ -2558,7 +2558,7 @@ class oo extends y {
2558
2558
  nonce: d
2559
2559
  });
2560
2560
  u && (C += `
2561
- ${io(u)}`), super(n.shortMessage, {
2561
+ ${co(u)}`), super(n.shortMessage, {
2562
2562
  cause: n,
2563
2563
  docsPath: r,
2564
2564
  metaMessages: [
@@ -2575,7 +2575,7 @@ ${io(u)}`), super(n.shortMessage, {
2575
2575
  }), this.cause = n;
2576
2576
  }
2577
2577
  }
2578
- function co(e, n) {
2578
+ function lo(e, n) {
2579
2579
  const t = (e.details || "").toLowerCase(), r = e instanceof y ? e.walk((s) => s?.code === ie.code) : e;
2580
2580
  return r instanceof y ? new ie({
2581
2581
  cause: e,
@@ -2586,28 +2586,28 @@ function co(e, n) {
2586
2586
  }) : ee.nodeMessage.test(t) ? new ee({
2587
2587
  cause: e,
2588
2588
  maxFeePerGas: n?.maxFeePerGas
2589
- }) : ln.nodeMessage.test(t) ? new ln({
2589
+ }) : An.nodeMessage.test(t) ? new An({
2590
2590
  cause: e,
2591
2591
  maxFeePerGas: n?.maxFeePerGas
2592
- }) : An.nodeMessage.test(t) ? new An({ cause: e, nonce: n?.nonce }) : dn.nodeMessage.test(t) ? new dn({ cause: e, nonce: n?.nonce }) : fn.nodeMessage.test(t) ? new fn({ cause: e, nonce: n?.nonce }) : un.nodeMessage.test(t) ? new un({ cause: e }) : gn.nodeMessage.test(t) ? new gn({ cause: e, gas: n?.gas }) : vn.nodeMessage.test(t) ? new vn({ cause: e, gas: n?.gas }) : Cn.nodeMessage.test(t) ? new Cn({ cause: e }) : pe.nodeMessage.test(t) ? new pe({
2592
+ }) : dn.nodeMessage.test(t) ? new dn({ cause: e, nonce: n?.nonce }) : fn.nodeMessage.test(t) ? new fn({ cause: e, nonce: n?.nonce }) : un.nodeMessage.test(t) ? new un({ cause: e, nonce: n?.nonce }) : gn.nodeMessage.test(t) ? new gn({ cause: e }) : vn.nodeMessage.test(t) ? new vn({ cause: e, gas: n?.gas }) : Cn.nodeMessage.test(t) ? new Cn({ cause: e, gas: n?.gas }) : mn.nodeMessage.test(t) ? new mn({ cause: e }) : be.nodeMessage.test(t) ? new be({
2593
2593
  cause: e,
2594
2594
  maxFeePerGas: n?.maxFeePerGas,
2595
2595
  maxPriorityFeePerGas: n?.maxPriorityFeePerGas
2596
- }) : new Dt({
2596
+ }) : new Ht({
2597
2597
  cause: e
2598
2598
  });
2599
2599
  }
2600
- function ao(e, { docsPath: n, ...t }) {
2600
+ function Ao(e, { docsPath: n, ...t }) {
2601
2601
  const r = (() => {
2602
- const s = co(e, t);
2603
- return s instanceof Dt ? e : s;
2602
+ const s = lo(e, t);
2603
+ return s instanceof Ht ? e : s;
2604
2604
  })();
2605
- return new oo(r, {
2605
+ return new ao(r, {
2606
2606
  docsPath: n,
2607
2607
  ...t
2608
2608
  });
2609
2609
  }
2610
- function lo(e, { format: n }) {
2610
+ function fo(e, { format: n }) {
2611
2611
  if (!n)
2612
2612
  return {};
2613
2613
  const t = {};
@@ -2619,30 +2619,30 @@ function lo(e, { format: n }) {
2619
2619
  const s = n(e || {});
2620
2620
  return r(s), t;
2621
2621
  }
2622
- function Ao(e) {
2623
- const { account: n, gasPrice: t, maxFeePerGas: r, maxPriorityFeePerGas: s, to: o } = e, c = n ? Xn(n) : void 0;
2622
+ function uo(e) {
2623
+ const { account: n, gasPrice: t, maxFeePerGas: r, maxPriorityFeePerGas: s, to: o } = e, c = n ? Nn(n) : void 0;
2624
2624
  if (c && !Q(c.address))
2625
2625
  throw new H({ address: c.address });
2626
2626
  if (o && !Q(o))
2627
2627
  throw new H({ address: o });
2628
2628
  if (typeof t < "u" && (typeof r < "u" || typeof s < "u"))
2629
- throw new Fs();
2630
- if (r && r > Fe)
2629
+ throw new Hs();
2630
+ if (r && r > De)
2631
2631
  throw new ee({ maxFeePerGas: r });
2632
2632
  if (s && r && s > r)
2633
- throw new pe({ maxFeePerGas: r, maxPriorityFeePerGas: s });
2633
+ throw new be({ maxFeePerGas: r, maxPriorityFeePerGas: s });
2634
2634
  }
2635
- async function fo(e, n) {
2635
+ async function go(e, n) {
2636
2636
  const { account: t = e.account } = n;
2637
2637
  if (!t)
2638
- throw new so();
2639
- const r = Xn(t);
2638
+ throw new oo();
2639
+ const r = Nn(t);
2640
2640
  try {
2641
- const { accessList: s, blockNumber: o, blockTag: c, data: a, gas: l, gasPrice: A, maxFeePerGas: d, maxPriorityFeePerGas: f, nonce: g, to: u, value: x, ...C } = n, b = (typeof o == "bigint" ? z(o) : void 0) || c;
2642
- Ao(n);
2643
- const h = e.chain?.formatters?.transactionRequest?.format, w = (h || js)({
2641
+ const { accessList: s, blockNumber: o, blockTag: c, data: a, gas: l, gasPrice: A, maxFeePerGas: d, maxPriorityFeePerGas: f, nonce: g, to: u, value: x, ...C } = n, p = (typeof o == "bigint" ? z(o) : void 0) || c;
2642
+ uo(n);
2643
+ const h = e.chain?.formatters?.transactionRequest?.format, w = (h || Es)({
2644
2644
  // Pick out extra data that might exist on the chain's transaction request type.
2645
- ...lo(C, { format: h }),
2645
+ ...fo(C, { format: h }),
2646
2646
  from: r?.address,
2647
2647
  accessList: s,
2648
2648
  data: a,
@@ -2653,28 +2653,28 @@ async function fo(e, n) {
2653
2653
  nonce: g,
2654
2654
  to: u,
2655
2655
  value: x
2656
- }, "estimateGas"), { baseFeePerGas: I, gasLimit: j, priorityFeePerGas: W } = await e.request({
2656
+ }, "estimateGas"), { baseFeePerGas: I, gasLimit: j, priorityFeePerGas: M } = await e.request({
2657
2657
  method: "linea_estimateGas",
2658
- params: b ? [w, b] : [w]
2658
+ params: p ? [w, p] : [w]
2659
2659
  });
2660
2660
  return {
2661
2661
  baseFeePerGas: BigInt(I),
2662
2662
  gasLimit: BigInt(j),
2663
- priorityFeePerGas: BigInt(W)
2663
+ priorityFeePerGas: BigInt(M)
2664
2664
  };
2665
2665
  } catch (s) {
2666
- throw ao(s, {
2666
+ throw Ao(s, {
2667
2667
  ...n,
2668
2668
  account: r,
2669
2669
  chain: e.chain
2670
2670
  });
2671
2671
  }
2672
2672
  }
2673
- const uo = {
2673
+ const vo = {
2674
2674
  fees: {
2675
- estimateFeesPerGas: $n,
2675
+ estimateFeesPerGas: et,
2676
2676
  async maxPriorityFeePerGas({ block: e, client: n, request: t }) {
2677
- const r = await $n({
2677
+ const r = await et({
2678
2678
  block: e,
2679
2679
  client: n,
2680
2680
  multiply: (s) => s,
@@ -2685,9 +2685,9 @@ const uo = {
2685
2685
  }
2686
2686
  }
2687
2687
  };
2688
- async function $n({ client: e, multiply: n, request: t, type: r }) {
2688
+ async function et({ client: e, multiply: n, request: t, type: r }) {
2689
2689
  try {
2690
- const s = await fo(e, {
2690
+ const s = await go(e, {
2691
2691
  ...t,
2692
2692
  account: t?.account
2693
2693
  }), { priorityFeePerGas: o } = s, a = n(BigInt(s.baseFeePerGas)) + o;
@@ -2699,8 +2699,8 @@ async function $n({ client: e, multiply: n, request: t, type: r }) {
2699
2699
  return null;
2700
2700
  }
2701
2701
  }
2702
- const go = /* @__PURE__ */ U({
2703
- ...uo,
2702
+ const Co = /* @__PURE__ */ U({
2703
+ ...vo,
2704
2704
  id: 59144,
2705
2705
  name: "Linea Mainnet",
2706
2706
  nativeCurrency: { name: "Linea Ether", symbol: "ETH", decimals: 18 },
@@ -2733,7 +2733,7 @@ const go = /* @__PURE__ */ U({
2733
2733
  },
2734
2734
  ensTlds: [".linea.eth"],
2735
2735
  testnet: !1
2736
- }), vo = /* @__PURE__ */ U({
2736
+ }), mo = /* @__PURE__ */ U({
2737
2737
  id: 1,
2738
2738
  name: "Ethereum",
2739
2739
  nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
@@ -2760,8 +2760,8 @@ const go = /* @__PURE__ */ U({
2760
2760
  blockCreated: 14353601
2761
2761
  }
2762
2762
  }
2763
- }), ve = 1, Co = /* @__PURE__ */ U({
2764
- ...Ye,
2763
+ }), ve = 1, xo = /* @__PURE__ */ U({
2764
+ ...Ze,
2765
2765
  id: 10,
2766
2766
  name: "OP Mainnet",
2767
2767
  nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
@@ -2778,7 +2778,7 @@ const go = /* @__PURE__ */ U({
2778
2778
  }
2779
2779
  },
2780
2780
  contracts: {
2781
- ...Ye.contracts,
2781
+ ...Ze.contracts,
2782
2782
  disputeGameFactory: {
2783
2783
  [ve]: {
2784
2784
  address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9"
@@ -2805,7 +2805,7 @@ const go = /* @__PURE__ */ U({
2805
2805
  }
2806
2806
  },
2807
2807
  sourceId: ve
2808
- }), mo = /* @__PURE__ */ U({
2808
+ }), po = /* @__PURE__ */ U({
2809
2809
  id: 137,
2810
2810
  name: "Polygon",
2811
2811
  nativeCurrency: { name: "POL", symbol: "POL", decimals: 18 },
@@ -2827,21 +2827,21 @@ const go = /* @__PURE__ */ U({
2827
2827
  blockCreated: 25770160
2828
2828
  }
2829
2829
  }
2830
- }), Xe = {
2831
- evm: [vo, ro, Co, to, go, Rt, mo],
2830
+ }), Ne = {
2831
+ evm: [mo, io, xo, so, Co, _t, po],
2832
2832
  solana: [
2833
2833
  {
2834
2834
  name: "Solana",
2835
- icon: Je
2835
+ icon: Fe
2836
2836
  }
2837
2837
  ],
2838
2838
  aptos: [
2839
2839
  {
2840
2840
  name: "Aptos",
2841
- icon: ke
2841
+ icon: Je
2842
2842
  }
2843
2843
  ]
2844
- }, _t = (e, n) => {
2844
+ }, $t = (e, n) => {
2845
2845
  const t = (e?.aptos || [O?.aptos || []]).map((a) => ({
2846
2846
  ...a,
2847
2847
  chainInfo: {
@@ -2850,10 +2850,10 @@ const go = /* @__PURE__ */ U({
2850
2850
  },
2851
2851
  chainType: "aptos",
2852
2852
  provider: n?.aptos || null
2853
- })), r = (e?.evm || Xe?.evm || [O?.evm || []]).map((a) => ({
2853
+ })), r = (e?.evm || Ne?.evm || [O?.evm || []]).map((a) => ({
2854
2854
  ...a,
2855
2855
  chainInfo: {
2856
- icon: It[`evm_${a.id}`],
2856
+ icon: Pt[`evm_${a.id}`],
2857
2857
  name: a.name || O?.evm?.name || ""
2858
2858
  },
2859
2859
  chainType: "evm",
@@ -2877,15 +2877,15 @@ const go = /* @__PURE__ */ U({
2877
2877
  }));
2878
2878
  return [...t, ...r, ...s, ...o];
2879
2879
  };
2880
- var Ne = /* @__PURE__ */ ((e) => (e.Tomo = "tomo", e.MyDoge = "mydoge", e))(Ne || {}), P = /* @__PURE__ */ ((e) => (e.Loading = "LOADING", e.Logged = "LOGGED", e.WalletList = "WALLET_LIST", e.WalletSearch = "WALLET_SEARCH", e.WalletSelectProviders = "WALLET_SELECT_PROVIDERS", e.WalletInstallGuide = "WALLET_INSTALL_GUIDE", e.Connecting = "CONNECTING", e.Error = "ERROR", e.Account = "ACCOUNT", e.SelectChains = "SELECT_CHAINS", e.ChangeNetwork = "CHANGE_NETWORK", e.SignInWallet = "SIGN_IN_WALLET", e.WalletConnect = "WALLET_CONNECT", e.UnsupportChain = "UNSUPPORT_CHAIN", e.SocialLogin = "SOCIAL_LOGIN", e.MyDogeSocialLogin = "MYDOGE_SOCIAL_LOGIN", e))(P || {}), k = /* @__PURE__ */ ((e) => (e.All = "all", e.EVM = "evm", e.Solana = "solana", e.Aptos = "aptos", e))(k || {});
2881
- const xo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton: s }) => {
2882
- const o = B(() => n ? /* @__PURE__ */ i(X, { isIconOnly: !0, color: "default", size: "sm", variant: "light", onPress: n, radius: "full", className: "p-0", children: /* @__PURE__ */ i(ct, {}) }) : null, [n]);
2880
+ var je = /* @__PURE__ */ ((e) => (e.Tomo = "tomo", e.MyDoge = "mydoge", e))(je || {}), P = /* @__PURE__ */ ((e) => (e.Loading = "LOADING", e.Logged = "LOGGED", e.WalletList = "WALLET_LIST", e.WalletSearch = "WALLET_SEARCH", e.WalletSelectProviders = "WALLET_SELECT_PROVIDERS", e.WalletInstallGuide = "WALLET_INSTALL_GUIDE", e.Connecting = "CONNECTING", e.Error = "ERROR", e.Account = "ACCOUNT", e.SelectChains = "SELECT_CHAINS", e.ChangeNetwork = "CHANGE_NETWORK", e.SignInWallet = "SIGN_IN_WALLET", e.WalletConnect = "WALLET_CONNECT", e.UnsupportChain = "UNSUPPORT_CHAIN", e.SocialLogin = "SOCIAL_LOGIN", e.MyDogeSocialLogin = "MYDOGE_SOCIAL_LOGIN", e))(P || {}), k = /* @__PURE__ */ ((e) => (e.All = "all", e.EVM = "evm", e.Solana = "solana", e.Aptos = "aptos", e))(k || {});
2881
+ const bo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton: s }) => {
2882
+ const o = B(() => n ? /* @__PURE__ */ i(X, { isIconOnly: !0, color: "default", size: "sm", variant: "light", onPress: n, radius: "full", className: "p-0", children: /* @__PURE__ */ i(at, {}) }) : null, [n]);
2883
2883
  return /* @__PURE__ */ v("div", { className: "flex items-center justify-between px-0 py-3", children: [
2884
2884
  o,
2885
2885
  /* @__PURE__ */ i("div", { className: "font-medium text-lg", children: e }),
2886
2886
  /* @__PURE__ */ v("div", { className: "flex items-center gap-3", children: [
2887
2887
  r,
2888
- s ? null : /* @__PURE__ */ i(X, { isIconOnly: !0, color: "default", size: "sm", variant: "light", onPress: t, radius: "full", className: "p-0", children: /* @__PURE__ */ i(at, { className: "text-xl" }) })
2888
+ s ? null : /* @__PURE__ */ i(X, { isIconOnly: !0, color: "default", size: "sm", variant: "light", onPress: t, radius: "full", className: "p-0", children: /* @__PURE__ */ i(lt, { className: "text-xl" }) })
2889
2889
  ] })
2890
2890
  ] });
2891
2891
  }, S = ({
@@ -2896,12 +2896,12 @@ const xo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
2896
2896
  headerRightContent: s,
2897
2897
  hideCloseButton: o
2898
2898
  }) => {
2899
- const c = V(M);
2899
+ const c = V(W);
2900
2900
  if (!c)
2901
2901
  throw new Error("WalletConnectContext not found");
2902
2902
  return /* @__PURE__ */ v("div", { className: "flex flex-col gap-3 min-h-0 flex-1", children: [
2903
2903
  /* @__PURE__ */ i(
2904
- xo,
2904
+ bo,
2905
2905
  {
2906
2906
  title: n,
2907
2907
  onBack: t,
@@ -2914,21 +2914,21 @@ const xo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
2914
2914
  ),
2915
2915
  /* @__PURE__ */ i("div", { className: "flex-1 flex flex-col min-h-0", children: e })
2916
2916
  ] });
2917
- }, po = () => {
2918
- const e = V(M);
2917
+ }, zo = () => {
2918
+ const e = V(W);
2919
2919
  if (!e)
2920
2920
  throw new Error("WalletConnectContext not found");
2921
- const { copied: n, copy: t } = In(), { account: r, disconnect: s } = e, o = r.currentWallet?.info?.name || "Wallet", c = r.currentWallet?.info?.icon, a = r.address, l = r.chainType, A = r.chainId, d = A ? Number(BigInt(A || "0").toString()) : void 0, f = r.currentWallet, g = T(async () => {
2921
+ const { copied: n, copy: t } = Pn(), { account: r, disconnect: s } = e, o = r.currentWallet?.info?.name || "Wallet", c = r.currentWallet?.info?.icon, a = r.address, l = r.chainType, A = r.chainId, d = A ? Number(BigInt(A || "0").toString()) : void 0, f = r.currentWallet, g = T(async () => {
2922
2922
  try {
2923
2923
  if (!a) return;
2924
2924
  t(a);
2925
2925
  } catch (m) {
2926
2926
  console.error("Failed to copy address:", m);
2927
2927
  }
2928
- }, [a, t]), u = B(() => /* @__PURE__ */ i(X, { isIconOnly: !0, variant: "light", color: "default", className: "size-10", onPress: g, children: n ? /* @__PURE__ */ i(lt, { className: "text-success size-6" }) : /* @__PURE__ */ i(pr, { className: "text-foreground size-4" }) }), [g, n]);
2928
+ }, [a, t]), u = B(() => /* @__PURE__ */ i(X, { isIconOnly: !0, variant: "light", color: "default", className: "size-10", onPress: g, children: n ? /* @__PURE__ */ i(At, { className: "text-success size-6" }) : /* @__PURE__ */ i(zr, { className: "text-foreground size-4" }) }), [g, n]);
2929
2929
  if (!f)
2930
2930
  return null;
2931
- const x = _t(e.config?.chains, f?.providers), C = x.find((m) => m.chainType === l && m.id === d);
2931
+ const x = $t(e.config?.chains, f?.providers), C = x.find((m) => m.chainType === l && m.id === d);
2932
2932
  return console.log("--- AccountView ---", {
2933
2933
  config: e.config,
2934
2934
  chains: x,
@@ -2945,7 +2945,7 @@ const xo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
2945
2945
  variant: "light",
2946
2946
  color: "default",
2947
2947
  onPress: () => e.modal.setView(P.SelectChains),
2948
- endContent: /* @__PURE__ */ i(zr, { className: "size-4" }),
2948
+ endContent: /* @__PURE__ */ i(Ir, { className: "size-4" }),
2949
2949
  children: /* @__PURE__ */ v("div", { className: "flex items-center gap-2", children: [
2950
2950
  /* @__PURE__ */ i(le, { icon: C?.chainInfo?.icon, className: "size-7 overflow-hidden rounded-full" }),
2951
2951
  /* @__PURE__ */ i("span", { className: "text-sm", children: C?.chainInfo?.name })
@@ -2957,7 +2957,7 @@ const xo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
2957
2957
  /* @__PURE__ */ v("div", { className: "flex items-center gap-3", children: [
2958
2958
  /* @__PURE__ */ i("div", { className: "w-10 h-10 rounded-full overflow-hidden bg-content2 flex items-center justify-center", children: c ? /* @__PURE__ */ i(ne, { src: c, alt: o, width: 40, height: 40 }) : /* @__PURE__ */ i("div", { className: "w-6 h-6 rounded bg-content3" }) }),
2959
2959
  /* @__PURE__ */ v("div", { className: "flex flex-col", children: [
2960
- /* @__PURE__ */ i("span", { className: "break-all", children: ds(a, 8, 6) || "-" }),
2960
+ /* @__PURE__ */ i("span", { className: "break-all", children: us(a, 8, 6) || "-" }),
2961
2961
  /* @__PURE__ */ i("span", { className: "text-xs text-foreground/70", children: o })
2962
2962
  ] })
2963
2963
  ] }),
@@ -2969,7 +2969,7 @@ const xo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
2969
2969
  color: "default",
2970
2970
  variant: "light",
2971
2971
  className: "w-full",
2972
- startContent: /* @__PURE__ */ i(br, { className: "size-4" }),
2972
+ startContent: /* @__PURE__ */ i(wr, { className: "size-4" }),
2973
2973
  onPress: s,
2974
2974
  children: "Disconnect wallet"
2975
2975
  }
@@ -2977,29 +2977,29 @@ const xo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
2977
2977
  ] })
2978
2978
  }
2979
2979
  );
2980
- }, et = {
2980
+ }, nt = {
2981
2981
  isConnecting: !1,
2982
2982
  isConnected: !1,
2983
2983
  address: "",
2984
2984
  currentWallet: null,
2985
2985
  currentProvider: null,
2986
2986
  actionsLoading: !1
2987
- }, Nn = () => {
2988
- const [e, n] = N(et), [t, r] = N("");
2987
+ }, jn = () => {
2988
+ const [e, n] = N(nt), [t, r] = N("");
2989
2989
  return {
2990
2990
  walletState: e,
2991
2991
  setWalletState: n,
2992
2992
  error: t,
2993
2993
  setError: r,
2994
2994
  resetWalletState: () => {
2995
- n(et), wt();
2995
+ n(nt), It();
2996
2996
  }
2997
2997
  };
2998
- }, bo = () => {
2999
- const e = V(M), n = e?.modal.state;
2998
+ }, wo = () => {
2999
+ const e = V(W), n = e?.modal.state;
3000
3000
  if (!e)
3001
3001
  throw new Error("WalletConnectContext not found");
3002
- const t = n?.chainType || "evm", r = n?.chainId || "", s = n?.name || "-", o = n?.chainInfo?.icon || "", { resetWalletState: c } = Nn(), { mutate: a, isPending: l } = wn({
3002
+ const t = n?.chainType || "evm", r = n?.chainId || "", s = n?.name || "-", o = n?.chainInfo?.icon || "", { resetWalletState: c } = jn(), { mutate: a, isPending: l } = In({
3003
3003
  mutationKey: ["switchWallet", n?.chainInfo],
3004
3004
  mutationFn: async () => {
3005
3005
  c(), e.modal.setView(P.WalletSearch, {
@@ -3027,8 +3027,8 @@ const xo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3027
3027
  " wallet"
3028
3028
  ] })
3029
3029
  ] }) });
3030
- }, Qe = () => {
3031
- const e = V(M);
3030
+ }, qe = () => {
3031
+ const e = V(W);
3032
3032
  return {
3033
3033
  connectWallet: T(
3034
3034
  async (t, r, s = "") => {
@@ -3059,12 +3059,12 @@ const xo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3059
3059
  [e?.modal.setView, e?.connect]
3060
3060
  )
3061
3061
  };
3062
- }, zo = ({
3062
+ }, Io = ({
3063
3063
  iconSrc: e,
3064
3064
  iconAlt: n,
3065
3065
  variant: t
3066
3066
  }) => /* @__PURE__ */ v("div", { "data-tag": "ringed-icon", className: "relative w-20 h-20 flex items-center justify-center", children: [
3067
- t === "error" ? /* @__PURE__ */ i("div", { className: "absolute inset-0 border-4 border-danger rounded-full" }) : t === "connecting" ? /* @__PURE__ */ v(ot, { children: [
3067
+ t === "error" ? /* @__PURE__ */ i("div", { className: "absolute inset-0 border-4 border-danger rounded-full" }) : t === "connecting" ? /* @__PURE__ */ v(ct, { children: [
3068
3068
  /* @__PURE__ */ i("div", { className: "absolute inset-0 border-4 border-primary/20 rounded-full" }),
3069
3069
  /* @__PURE__ */ i(
3070
3070
  "div",
@@ -3076,11 +3076,11 @@ const xo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3076
3076
  ] }) : /* @__PURE__ */ i("div", { className: "absolute inset-0 border-4 border-success rounded-full" }),
3077
3077
  e ? /* @__PURE__ */ i(ne, { src: e, alt: n || "Wallet", width: 64, height: 64, className: "rounded-full relative z-10" }) : null,
3078
3078
  t === "success" ? /* @__PURE__ */ i("div", { className: "absolute -bottom-1 -right-1 w-6 h-6 rounded-full bg-success flex items-center justify-center border-2 border-white", children: /* @__PURE__ */ i("svg", { className: "w-4 h-4 text-white", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ i("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M5 13l4 4L19 7" }) }) }) : null
3079
- ] }), wo = () => {
3080
- const e = V(M);
3079
+ ] }), Po = () => {
3080
+ const e = V(W);
3081
3081
  if (!e)
3082
3082
  throw new Error("WalletConnectContext not found");
3083
- const { currentWallet: n } = e.account, { isConnected: t, isConnecting: r, error: s } = e.connection, { connectWallet: o } = Qe(), [c, a] = N(!1), l = async () => {
3083
+ const { currentWallet: n } = e.account, { isConnected: t, isConnecting: r, error: s } = e.connection, { connectWallet: o } = qe(), [c, a] = N(!1), l = async () => {
3084
3084
  if (c) return;
3085
3085
  e.connection.setError("");
3086
3086
  const x = e?.modal?.state || {
@@ -3093,8 +3093,8 @@ const xo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3093
3093
  }
3094
3094
  try {
3095
3095
  a(!0), await o(n, C, m), a(!1);
3096
- } catch (b) {
3097
- console.error("handleRetry::", b), await cn(1e3), a(!1);
3096
+ } catch (p) {
3097
+ console.error("handleRetry::", p), await an(1e3), a(!1);
3098
3098
  }
3099
3099
  }, A = () => {
3100
3100
  e.connection.setError(""), e.modal.backView();
@@ -3104,15 +3104,15 @@ const xo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3104
3104
  "Connected to ",
3105
3105
  n?.info?.name || "Wallet"
3106
3106
  ] })
3107
- ] }) : /* @__PURE__ */ i(ot, { children: /* @__PURE__ */ i("div", { className: "flex flex-col items-center gap-2 text-sm text-foreground/60 text-center px-4", children: f ? /* @__PURE__ */ i(nt, { error: s, title: "Connection Failed" }) : /* @__PURE__ */ i(
3108
- nt,
3107
+ ] }) : /* @__PURE__ */ i(ct, { children: /* @__PURE__ */ i("div", { className: "flex flex-col items-center gap-2 text-sm text-foreground/60 text-center px-4", children: f ? /* @__PURE__ */ i(tt, { error: s, title: "Connection Failed" }) : /* @__PURE__ */ i(
3108
+ tt,
3109
3109
  {
3110
3110
  error: `Open the ${n?.info?.name || "Wallet"} browser extension to connect your wallet.`,
3111
3111
  title: "Requesting Connection"
3112
3112
  }
3113
3113
  ) }) });
3114
3114
  return /* @__PURE__ */ i(S, { title: n?.info?.name || "Wallet", onBack: A, children: /* @__PURE__ */ v("div", { className: "flex flex-col items-center justify-center py-12 gap-6 flex-1", children: [
3115
- /* @__PURE__ */ i(zo, { iconSrc: n?.info?.icon, iconAlt: n?.info?.name, variant: g }),
3115
+ /* @__PURE__ */ i(Io, { iconSrc: n?.info?.icon, iconAlt: n?.info?.name, variant: g }),
3116
3116
  u(),
3117
3117
  f ? /* @__PURE__ */ i("div", { className: "w-full px-4", children: /* @__PURE__ */ i(
3118
3118
  X,
@@ -3136,11 +3136,11 @@ const xo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3136
3136
  }
3137
3137
  ) }) : null
3138
3138
  ] }) });
3139
- }, nt = ({ error: e, title: n }) => /* @__PURE__ */ v("div", { className: "flex flex-col items-center gap-2 text-sm text-foreground/60 text-center px-4", children: [
3139
+ }, tt = ({ error: e, title: n }) => /* @__PURE__ */ v("div", { className: "flex flex-col items-center gap-2 text-sm text-foreground/60 text-center px-4", children: [
3140
3140
  /* @__PURE__ */ i("p", { className: "text-lg font-semibold text-foreground", children: n }),
3141
3141
  /* @__PURE__ */ i("p", { children: e })
3142
- ] }), Io = () => {
3143
- const e = V(M);
3142
+ ] }), Bo = () => {
3143
+ const e = V(W);
3144
3144
  if (!e)
3145
3145
  throw new Error("WalletConnectContext not found");
3146
3146
  const { error: n } = e.connection;
@@ -3152,7 +3152,7 @@ const xo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3152
3152
  e.connection.setError(""), e.modal.setView(P.Connecting);
3153
3153
  }, children: "Try Again" })
3154
3154
  ] });
3155
- }, $t = ({ content: e, size: n = 280, logo: t, logoBackground: r }) => {
3155
+ }, er = ({ content: e, size: n = 280, logo: t, logoBackground: r }) => {
3156
3156
  const s = ce(null), o = ce(null);
3157
3157
  return Z(() => {
3158
3158
  if (!e || !s.current)
@@ -3190,48 +3190,48 @@ const xo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3190
3190
  if (o.current)
3191
3191
  o.current.update(a);
3192
3192
  else {
3193
- const A = new Rr(a);
3193
+ const A = new $r(a);
3194
3194
  o.current = A, c.innerHTML = "", A.append(c);
3195
3195
  }
3196
3196
  const l = c;
3197
3197
  return () => {
3198
3198
  l && o.current && (l.innerHTML = "", o.current = null);
3199
3199
  };
3200
- }, [e, n, t, r]), console.log("-- qr code content", e), /* @__PURE__ */ i(wr, { isLoaded: !!e, style: { width: n, height: n }, className: "rounded-lg", children: /* @__PURE__ */ i("div", { className: "flex items-center justify-center p-2 bg-[#1C1917] rounded-lg", children: /* @__PURE__ */ i("div", { ref: s }) }) });
3201
- }, Po = ({ isOpen: e, onClose: n, onBack: t, url: r, logo: s, logoBackground: o, title: c }) => {
3202
- const { copy: a, copied: l } = In();
3203
- return /* @__PURE__ */ i(At, { isOpen: e, onClose: n, onBack: t, title: c, children: /* @__PURE__ */ v("div", { className: "flex flex-col items-center justify-center px-5 pb-6 gap-4", children: [
3200
+ }, [e, n, t, r]), console.log("-- qr code content", e), /* @__PURE__ */ i(Pr, { isLoaded: !!e, style: { width: n, height: n }, className: "rounded-lg", children: /* @__PURE__ */ i("div", { className: "flex items-center justify-center p-2 bg-[#1C1917] rounded-lg", children: /* @__PURE__ */ i("div", { ref: s }) }) });
3201
+ }, yo = ({ isOpen: e, onClose: n, onBack: t, url: r, logo: s, logoBackground: o, title: c }) => {
3202
+ const { copy: a, copied: l } = Pn();
3203
+ return /* @__PURE__ */ i(dt, { isOpen: e, onClose: n, onBack: t, title: c, children: /* @__PURE__ */ v("div", { className: "flex flex-col items-center justify-center px-5 pb-6 gap-4", children: [
3204
3204
  /* @__PURE__ */ i("p", { className: "text-sm text-foreground/80 text-center", children: "Scan the QR code with your camera phone to get the app on iOS or Android." }),
3205
- /* @__PURE__ */ i($t, { content: r, logo: s, logoBackground: o }),
3205
+ /* @__PURE__ */ i(er, { content: r, logo: s, logoBackground: o }),
3206
3206
  /* @__PURE__ */ i(X, { variant: "bordered", size: "lg", fullWidth: !0, onPress: () => {
3207
3207
  a(r);
3208
3208
  }, children: l ? "Copied!" : "Copy Link" })
3209
3209
  ] }) });
3210
- }, Bo = () => {
3210
+ }, ho = () => {
3211
3211
  if (typeof window > "u") return "other";
3212
3212
  const e = window.navigator.userAgent.toLowerCase();
3213
3213
  return e.includes("chrome") && !e.includes("edge") && !e.includes("opera") ? "chrome" : e.includes("edge") ? "edge" : e.includes("firefox") ? "firefox" : e.includes("opera") || e.includes("opr") ? "opera" : e.includes("safari") && !e.includes("chrome") ? "safari" : "other";
3214
- }, yo = () => {
3214
+ }, Mo = () => {
3215
3215
  if (typeof window > "u") return "desktop";
3216
3216
  const e = window.navigator.userAgent.toLowerCase();
3217
3217
  return /iphone|ipad|ipod/.test(e) ? "ios" : /android/.test(e) ? "android" : "desktop";
3218
- }, ho = (e) => {
3218
+ }, Wo = (e) => {
3219
3219
  if (!e) return null;
3220
- const n = yo(), t = Bo();
3220
+ const n = Mo(), t = ho();
3221
3221
  return n === "ios" ? e.ios_install || e.mobile || e.homepage || null : n === "android" ? e.android_install || e.mobile || e.homepage || null : t === "chrome" ? e.chrome_install || e.homepage || null : t === "edge" ? e.edge || e.homepage || null : t === "firefox" ? e.firefox || e.homepage || null : t === "opera" ? e.opera || e.homepage || null : t === "safari" ? e.safari || e.homepage || null : e.homepage || e.mobile || null;
3222
- }, Mo = (e) => {
3222
+ }, Vo = (e) => {
3223
3223
  if (!e) return [];
3224
3224
  const n = [];
3225
3225
  return e.chrome_install && n.push({ label: "Chrome", url: e.chrome_install }), e.edge && n.push({ label: "Edge", url: e.edge }), e.firefox && n.push({ label: "Firefox", url: e.firefox }), e.opera && n.push({ label: "Opera", url: e.opera }), e.safari && n.push({ label: "Safari", url: e.safari }), e.ios_install && n.push({ label: "iOS", url: e.ios_install }), e.android_install && n.push({ label: "Android", url: e.android_install }), e.mobile && !n.find((t) => t.url === e.mobile) && n.push({ label: "Mobile App", url: e.mobile }), e.homepage && !n.find((t) => t.url === e.homepage) && n.push({ label: "Homepage", url: e.homepage }), n;
3226
- }, Wo = () => {
3227
- const e = V(M);
3226
+ }, Xo = () => {
3227
+ const e = V(W);
3228
3228
  if (!e)
3229
3229
  throw new Error("WalletConnectContext not found");
3230
3230
  const { currentWallet: n } = e.account;
3231
3231
  if (!n)
3232
3232
  throw new Error("Current wallet not found");
3233
3233
  console.log("-- InstallGuideView -- currentWallet", n);
3234
- const t = B(() => `Install ${n?.info?.name} Wallet`, [n?.info?.name]), r = B(() => n?.info, [n?.info]), s = B(() => ho(r?.links), [r?.links]), o = B(() => Mo(r?.links), [r?.links]), [c, a] = N({
3234
+ const t = B(() => `Install ${n?.info?.name} Wallet`, [n?.info?.name]), r = B(() => n?.info, [n?.info]), s = B(() => Wo(r?.links), [r?.links]), o = B(() => Vo(r?.links), [r?.links]), [c, a] = N({
3235
3235
  isOpen: !1,
3236
3236
  url: ""
3237
3237
  }), l = () => {
@@ -3272,7 +3272,7 @@ const xo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3272
3272
  /* @__PURE__ */ i("p", { className: "text-xs text-foreground/40 mt-6 text-center px-4", children: "After installing, refresh the page and try connecting again." })
3273
3273
  ] }),
3274
3274
  /* @__PURE__ */ i(
3275
- Po,
3275
+ yo,
3276
3276
  {
3277
3277
  title: t,
3278
3278
  isOpen: c.isOpen,
@@ -3284,8 +3284,8 @@ const xo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3284
3284
  }
3285
3285
  )
3286
3286
  ] });
3287
- }, Vo = () => {
3288
- if (!V(M))
3287
+ }, No = () => {
3288
+ if (!V(W))
3289
3289
  throw new Error("WalletConnectContext not found");
3290
3290
  return /* @__PURE__ */ i(S, { title: "Loading", children: /* @__PURE__ */ v("div", { className: "flex flex-col items-center justify-center py-12 gap-6 flex-1", children: [
3291
3291
  /* @__PURE__ */ i(
@@ -3303,8 +3303,8 @@ const xo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3303
3303
  /* @__PURE__ */ i("p", { children: "Please wait while we set up your wallet connection..." })
3304
3304
  ] })
3305
3305
  ] }) });
3306
- }, jn = () => {
3307
- const e = V(M);
3306
+ }, Tn = () => {
3307
+ const e = V(W);
3308
3308
  if (!e)
3309
3309
  throw new Error("useAccount must be used within WalletConnectProvider");
3310
3310
  return {
@@ -3324,7 +3324,7 @@ const xo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3324
3324
  // signAndSendTransaction: context.signAndSendTransaction,
3325
3325
  // sendTransaction: context.sendTransaction,
3326
3326
  };
3327
- }, Xo = () => {
3327
+ }, jo = () => {
3328
3328
  const [e, n] = N(0), [t, r] = N(!1);
3329
3329
  return Z(() => {
3330
3330
  if (typeof window < "u" && window.visualViewport) {
@@ -3347,7 +3347,7 @@ const xo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3347
3347
  }
3348
3348
  }, []), { keyboardHeight: e, isKeyboardVisible: t };
3349
3349
  };
3350
- function No(e = !1) {
3350
+ function To(e = !1) {
3351
3351
  const [n, t] = N(e), r = T(() => t(!0), []), s = T(() => t(!1), []), o = T(() => t((a) => !a), []), c = T((a) => t(a), []);
3352
3352
  return {
3353
3353
  isOpen: n,
@@ -3357,47 +3357,52 @@ function No(e = !1) {
3357
3357
  onOpenChange: c
3358
3358
  };
3359
3359
  }
3360
- const jo = (e) => {
3361
- const { isOpen: n, onOpen: t, onClose: r } = No(), [s, o] = N(e), [c, a] = N(null), [l, A] = N(e), [d, f] = N(null), g = T(
3362
- (h, p, w) => {
3363
- s === h && !w || (A(s), f(c), o(h), a(p || null));
3360
+ const Eo = (e) => {
3361
+ const { isOpen: n, onOpen: t, onClose: r } = To(), [s, o] = N(e), [c, a] = N(null), [l, A] = N([]), d = T(
3362
+ (p, h, b) => {
3363
+ s === p && !b || (b || A((w) => [...w, { view: s, state: c }]), o(p), a(h || null));
3364
3364
  },
3365
3365
  [s, c]
3366
- ), u = T(() => {
3366
+ ), f = T(() => {
3367
3367
  o(e), setTimeout(() => {
3368
- a(null), A(null), f(null);
3368
+ a(null), A([]);
3369
3369
  }, 400);
3370
- }, []), x = T(() => {
3371
- r?.(), u();
3372
- }, [r, u]), C = T(
3373
- (h, p) => {
3374
- A(s), f(c), o(h), a(p || null), t();
3370
+ }, [e]), g = T(() => {
3371
+ r?.(), f();
3372
+ }, [r, f]), u = T(
3373
+ (p, h) => {
3374
+ A((b) => [...b, { view: s, state: c }]), o(p), a(h || null), t();
3375
3375
  },
3376
3376
  [s, c, t]
3377
- ), m = T(() => {
3378
- o(l || e), a(d || null), A(null);
3379
- }, [d, l, e]), b = T((h) => {
3380
- a(h || null);
3381
- }, []);
3377
+ ), x = T(() => {
3378
+ A((p) => {
3379
+ if (p.length === 0)
3380
+ return o(e), a(null), p;
3381
+ const h = p[p.length - 1], b = p.slice(0, -1);
3382
+ return o(h.view), a(h.state), b;
3383
+ });
3384
+ }, [e]), C = T((p) => {
3385
+ a(p || null);
3386
+ }, []), m = l.length > 0 ? l[l.length - 1].view : null;
3382
3387
  return {
3383
3388
  isOpen: n,
3384
3389
  view: s,
3385
- prevView: l,
3390
+ prevView: m,
3386
3391
  openModal: t,
3387
- openModalWithState: C,
3388
- closeModal: x,
3389
- setView: g,
3390
- backView: m,
3392
+ openModalWithState: u,
3393
+ closeModal: g,
3394
+ setView: d,
3395
+ backView: x,
3391
3396
  state: c,
3392
- setCurrentViewState: b
3397
+ setCurrentViewState: C
3393
3398
  };
3394
- }, To = (e) => {
3399
+ }, Lo = (e) => {
3395
3400
  const n = ce(null);
3396
3401
  return Z(() => {
3397
3402
  n.current && (n.current.scrollTop = 0);
3398
3403
  }, e), n;
3399
- }, er = () => {
3400
- const e = V(M);
3404
+ }, nr = () => {
3405
+ const e = V(W);
3401
3406
  if (!e)
3402
3407
  throw new Error("useEmbeddedWallet must be used within WalletConnectProvider");
3403
3408
  return e.embeddedWallet || {
@@ -3407,8 +3412,8 @@ const jo = (e) => {
3407
3412
  connectedInfo: null,
3408
3413
  isLoading: !0
3409
3414
  };
3410
- }, qe = () => {
3411
- const e = V(M), { connectWallet: n } = Qe();
3415
+ }, Ke = () => {
3416
+ const e = V(W), { connectWallet: n } = qe();
3412
3417
  return {
3413
3418
  handleSelectWallet: T(
3414
3419
  (r, s) => {
@@ -3416,11 +3421,11 @@ const jo = (e) => {
3416
3421
  console.error("WalletConnectContext not found");
3417
3422
  return;
3418
3423
  }
3419
- if (!r.isInstalled && !on()) {
3424
+ if (!r.isInstalled && !cn()) {
3420
3425
  e._setCurrentWallet(r), e.modal.setView(P.WalletInstallGuide);
3421
3426
  return;
3422
3427
  }
3423
- if (!r.isInstalled && on()) {
3428
+ if (!r.isInstalled && cn()) {
3424
3429
  n(r, k.EVM);
3425
3430
  return;
3426
3431
  }
@@ -3447,20 +3452,20 @@ const jo = (e) => {
3447
3452
  [e, n]
3448
3453
  )
3449
3454
  };
3450
- }, Eo = [
3451
- Lr(),
3452
- Sr(),
3453
- Or(),
3454
- Yr(),
3455
- Zr()
3456
- ], Be = {
3457
- recommonedWallets: Eo,
3455
+ }, Ce = "https://dogeos.embedded-wallet.tomo.inc", So = [
3456
+ Or(Ce),
3457
+ Yr(Ce),
3458
+ Zr(Ce),
3459
+ kr(Ce),
3460
+ Jr(Ce)
3461
+ ], ye = {
3462
+ recommonedWallets: So,
3458
3463
  links: {
3459
3464
  privacyPolicy: "https://www.mydoge.com/privacy",
3460
3465
  termsOfService: "https://www.mydoge.com/terms",
3461
3466
  homepage: "https://www.mydoge.com"
3462
3467
  }
3463
- }, Lo = {
3468
+ }, Oo = {
3464
3469
  projectId: "44cb8a6aedbe379ba8f2fa4fbc1a461f",
3465
3470
  metadata: {
3466
3471
  name: "Doge Wallet Connect",
@@ -3468,33 +3473,36 @@ const jo = (e) => {
3468
3473
  url: typeof window < "u" ? window.location.origin : "",
3469
3474
  icons: ["https://getdoge.com/cdn/shop/files/Symbol_1.png?v=1681939190&width=200"]
3470
3475
  }
3471
- }, So = "cTQxTUlSZXhwOXF6T2hnTHJVRzI6MTpjaQ", Oo = "362812706401-eppkpnqocdaejaf45ics815t22oe0j7l.apps.googleusercontent.com", nr = "mSzQLiebxpwV64barnRZpCGZTwB38kSiuszi42Cqq41fkRH8KM99dqG4pFNnvaVA4DV7zHsic0or0pd8tlMIt9vc", Yo = {
3476
+ }, Yo = "cTQxTUlSZXhwOXF6T2hnTHJVRzI6MTpjaQ", Zo = "362812706401-eppkpnqocdaejaf45ics815t22oe0j7l.apps.googleusercontent.com", tr = "mSzQLiebxpwV64barnRZpCGZTwB38kSiuszi42Cqq41fkRH8KM99dqG4pFNnvaVA4DV7zHsic0or0pd8tlMIt9vc", rr = {
3472
3477
  tomoStage: "prod",
3473
3478
  //dev/pre/prod
3474
3479
  name: "Doge Embedded Wallet",
3475
3480
  logo: "https://getdoge.com/cdn/shop/files/Symbol_1.png?v=1681939190&width=200",
3476
- clientId: nr,
3477
- xClientId: So,
3478
- googleClientId: Oo,
3481
+ clientId: tr,
3482
+ xClientId: Yo,
3483
+ googleClientId: Zo,
3479
3484
  walletBaseUrl: "https://dogeos.embedded-wallet.tomo.inc/embed"
3480
3485
  //provider.apis
3481
- }, Zo = ["wallets", "all"], ko = (e) => () => {
3482
- const n = e.length > 0 ? e : Be.recommonedWallets || [];
3483
- return kr({
3486
+ }, ko = ["wallets", "all"], Jo = (e) => () => {
3487
+ const n = e.length > 0 ? e : ye.recommonedWallets || [], t = rr.walletBaseUrl.replace(/\/embed$/, "");
3488
+ return Fr({
3484
3489
  chainType: "all",
3485
3490
  recommonedConnectors: n,
3486
- connectorTypes: n.map(() => "tomo")
3491
+ connectorTypes: n.map(() => "tomo"),
3492
+ options: {
3493
+ baseUrl: t
3494
+ }
3487
3495
  });
3488
- }, tt = (e, n) => n === "all" ? e : e.filter((t) => !!t.providers[n]), tr = (e) => {
3496
+ }, rt = (e, n) => n === "all" ? e : e.filter((t) => !!t.providers[n]), sr = (e) => {
3489
3497
  if (!e || !e.info)
3490
3498
  return null;
3491
3499
  const n = {};
3492
3500
  return e.evmProvider && (n.evm = {
3493
3501
  provider: e.evmProvider,
3494
- protocol: Sn.INJECT
3502
+ protocol: On.INJECT
3495
3503
  }), e.dogecoinProvider && (n.dogecoin = {
3496
3504
  provider: e.dogecoinProvider,
3497
- protocol: Sn.INJECT
3505
+ protocol: On.INJECT
3498
3506
  }), Object.keys(n).length === 0 ? null : {
3499
3507
  info: e.info,
3500
3508
  providers: n,
@@ -3502,25 +3510,25 @@ const jo = (e) => {
3502
3510
  isEmbeddedWallet: !0,
3503
3511
  logout: async () => e.logout()
3504
3512
  };
3505
- }, ye = (e, n = []) => {
3506
- const r = V(M)?.embeddedWallet, { wallet: s } = r || {
3513
+ }, he = (e, n = []) => {
3514
+ const r = V(W)?.embeddedWallet, { wallet: s } = r || {
3507
3515
  wallet: null
3508
- }, o = B(() => n.length > 0 ? n : Be.recommonedWallets || [], [n]), c = B(
3509
- () => ko(o),
3516
+ }, o = B(() => n.length > 0 ? n : ye.recommonedWallets || [], [n]), c = B(
3517
+ () => Jo(o),
3510
3518
  [o]
3511
3519
  // Only recreate when connectors ID changes
3512
- ), a = qr({
3513
- queryKey: Zo,
3520
+ ), a = Gr({
3521
+ queryKey: ko,
3514
3522
  queryFn: c,
3515
3523
  // Refetch on window focus to update wallet installation status
3516
3524
  refetchOnWindowFocus: !0
3517
- }), l = B(() => s ? tr(s) : null, [s]), A = B(() => {
3525
+ }), l = B(() => s ? sr(s) : null, [s]), A = B(() => {
3518
3526
  if (!a.data)
3519
3527
  return;
3520
3528
  const d = [...a.data.all], f = [...a.data.recommoned];
3521
3529
  return l && (d.some((u) => u.info.uuid === l.info.uuid) || (d.push(l), f.push(l))), {
3522
- all: tt(d, e),
3523
- recommoned: tt(f, e)
3530
+ all: rt(d, e),
3531
+ recommoned: rt(f, e)
3524
3532
  };
3525
3533
  }, [a.data, l, e]);
3526
3534
  return {
@@ -3530,8 +3538,8 @@ const jo = (e) => {
3530
3538
  embeddedWallet: r,
3531
3539
  embeddedWalletConnector: l
3532
3540
  };
3533
- }, rr = (e = {}) => {
3534
- const { closeModalBeforeIframe: n = !0 } = e, [t, r] = N(!1), s = V(M), o = er(), { embeddedWalletConnector: c } = ye("all"), { handleSelectWallet: a } = qe();
3541
+ }, ir = (e = {}) => {
3542
+ const { closeModalBeforeIframe: n = !0 } = e, [t, r] = N(!1), s = V(W), o = nr(), { embeddedWalletConnector: c } = he("all"), { handleSelectWallet: a } = Ke();
3535
3543
  if (!s)
3536
3544
  throw new Error("WalletConnectContext not found");
3537
3545
  const l = (u) => {
@@ -3545,13 +3553,15 @@ const jo = (e) => {
3545
3553
  !0
3546
3554
  ), r(!1);
3547
3555
  }, A = async () => {
3548
- a(c);
3556
+ a(c), o.wallet?.onLoginStatusChanged(({ type: u }) => {
3557
+ u === "logout" && s.disconnect?.();
3558
+ });
3549
3559
  };
3550
3560
  return {
3551
3561
  isLoading: t,
3552
3562
  handleEmailLogin: async (u) => {
3553
3563
  try {
3554
- const x = cs(u);
3564
+ const x = ls(u);
3555
3565
  if (x && l(x), r(!0), o.isLoading || !o.wallet)
3556
3566
  return l("Embedded wallet initialization failed");
3557
3567
  const C = o.wallet;
@@ -3559,8 +3569,8 @@ const jo = (e) => {
3559
3569
  const m = await C?.loginByEmail?.({ email: u });
3560
3570
  if (!m)
3561
3571
  return l("Failed to login with email");
3562
- const b = m;
3563
- if (!b || !(await C.login(b)).isAvailable)
3572
+ const p = m;
3573
+ if (!p || !(await C.login(p)).isAvailable)
3564
3574
  return l("Failed to login with email");
3565
3575
  A();
3566
3576
  } catch (x) {
@@ -3603,76 +3613,76 @@ const jo = (e) => {
3603
3613
  }
3604
3614
  };
3605
3615
  };
3606
- let oe = null, sr = null;
3607
- function rt(e) {
3616
+ let oe = null, or = null;
3617
+ function st(e) {
3608
3618
  oe = e, console.log("setWagmiConfig>>>>", e);
3609
3619
  }
3610
- function Jo() {
3620
+ function Fo() {
3611
3621
  return oe;
3612
3622
  }
3613
- function tn(e) {
3614
- console.log("setWagmiConnectors>>>>", e), sr = e;
3623
+ function rn(e) {
3624
+ console.log("setWagmiConnectors>>>>", e), or = e;
3615
3625
  }
3616
- function ir() {
3617
- return sr;
3626
+ function cr() {
3627
+ return or;
3618
3628
  }
3619
- function or() {
3629
+ function ar() {
3620
3630
  if (typeof window > "u")
3621
3631
  return oe;
3622
3632
  if (oe)
3623
3633
  try {
3624
- return Yn();
3634
+ return Zn();
3625
3635
  } catch {
3626
3636
  return oe;
3627
3637
  }
3628
3638
  try {
3629
- const e = Yn();
3639
+ const e = Zn();
3630
3640
  return console.log("useWagmiConfig>>>>", e), e;
3631
3641
  } catch (e) {
3632
3642
  return console.log("useWagmiConfig error>>>>", e.message), null;
3633
3643
  }
3634
3644
  }
3635
- function be() {
3645
+ function ze() {
3636
3646
  return oe !== null;
3637
3647
  }
3638
- function Tn() {
3639
- const e = or();
3640
- return be() ? e !== null : !1;
3648
+ function En() {
3649
+ const e = ar();
3650
+ return ze() ? e !== null : !1;
3641
3651
  }
3642
- function cr() {
3643
- if (console.log("isWagmiAvailable>>>>", be()), !be())
3652
+ function lr() {
3653
+ if (console.log("isWagmiAvailable>>>>", ze()), !ze())
3644
3654
  return null;
3645
- const e = Tn();
3655
+ const e = En();
3646
3656
  console.log("inProvider>>>>", e);
3647
- const n = $r();
3657
+ const n = ns();
3648
3658
  return e ? n : null;
3649
3659
  }
3650
- function Fo() {
3651
- if (!be())
3660
+ function Do() {
3661
+ if (!ze())
3652
3662
  return null;
3653
- const e = Tn(), n = es();
3663
+ const e = En(), n = ts();
3654
3664
  return e ? n : null;
3655
3665
  }
3656
- function Do() {
3657
- if (!be())
3666
+ function Ho() {
3667
+ if (!ze())
3658
3668
  return null;
3659
- const e = Tn(), n = ns();
3669
+ const e = En(), n = rs();
3660
3670
  return e ? n : null;
3661
3671
  }
3662
- function mn(e, n, t) {
3663
- const r = Jo();
3672
+ function xn(e, n, t) {
3673
+ const r = Fo();
3664
3674
  if (!r)
3665
3675
  return null;
3666
- const s = ir(), o = t || s || r.connectors;
3676
+ const s = cr(), o = t || s || r.connectors;
3667
3677
  return !o || o.length === 0 ? null : o.find((c) => {
3668
3678
  const a = (c.id || "").toLowerCase(), l = (c.name || "").toLowerCase(), A = e.toLowerCase(), d = n?.toLowerCase();
3669
3679
  return a === A || a === d || l === A || l === d || a.includes(A) || l.includes(A);
3670
3680
  }) || null;
3671
3681
  }
3672
- const rn = (e, n, t = "Wallet is performing an action, please wait...") => {
3682
+ const sn = (e, n, t = "Wallet is performing an action, please wait...") => {
3673
3683
  if (e)
3674
3684
  throw n(t), new Error(t);
3675
- }, Ho = ({
3685
+ }, Qo = ({
3676
3686
  walletState: e,
3677
3687
  modalState: n,
3678
3688
  setWalletState: t,
@@ -3680,22 +3690,22 @@ const rn = (e, n, t = "Wallet is performing an action, please wait...") => {
3680
3690
  resetWalletState: s,
3681
3691
  setMainView: o
3682
3692
  }) => {
3683
- const { currentProvider: c, currentWallet: a, isConnected: l, actionsLoading: A } = e, d = cr(), f = Fo(), g = ir(), u = T(
3684
- async (p) => {
3685
- const { wallet: w, chainType: I } = p, j = w.providers[I]?.provider;
3693
+ const { currentProvider: c, currentWallet: a, isConnected: l, actionsLoading: A } = e, d = lr(), f = Do(), g = cr(), u = T(
3694
+ async (b) => {
3695
+ const { wallet: w, chainType: I } = b, j = w.providers[I]?.provider;
3686
3696
  if (l && a?.info?.uuid === w.info.uuid && I === e.chainType)
3687
3697
  throw r("Wallet is already connected"), new Error("Wallet is already connected");
3688
- if (!j && !on())
3698
+ if (!j && !cn())
3689
3699
  throw r("Provider not available for this chain type"), new Error("Provider not available for this chain type");
3690
- r(""), t((W) => ({
3691
- ...W,
3700
+ r(""), t((M) => ({
3701
+ ...M,
3692
3702
  isConnecting: !0,
3693
3703
  currentWallet: w,
3694
3704
  currentProvider: j,
3695
3705
  actionsLoading: !0
3696
3706
  }));
3697
3707
  try {
3698
- const W = await Jr(
3708
+ const M = await Dr(
3699
3709
  {
3700
3710
  dappLink: typeof window < "u" ? window.location.href : ""
3701
3711
  },
@@ -3705,15 +3715,15 @@ const rn = (e, n, t = "Wallet is performing an action, please wait...") => {
3705
3715
  walletInfo: w.info
3706
3716
  }
3707
3717
  ), E = {
3708
- address: W.address,
3709
- chainId: W.chainId || "",
3718
+ address: M.address,
3719
+ chainId: M.chainId || "",
3710
3720
  chainType: I
3711
3721
  };
3712
- if (await cn(800), console.log("wagmiConnect", d), console.log("wagmiConnectors", g), d && I === k.EVM && g)
3722
+ if (await an(800), console.log("wagmiConnect", d), console.log("wagmiConnectors", g), d && I === k.EVM && g)
3713
3723
  try {
3714
- const L = mn(w.info.uuid, w.info.rdns, g);
3724
+ const L = xn(w.info.uuid, w.info.rdns, g);
3715
3725
  if (L) {
3716
- const Y = W.chainId ? parseInt(W.chainId, 16) : void 0;
3726
+ const Y = M.chainId ? parseInt(M.chainId, 16) : void 0;
3717
3727
  await d.connectAsync({
3718
3728
  connector: L,
3719
3729
  chainId: Y
@@ -3726,15 +3736,15 @@ const rn = (e, n, t = "Wallet is performing an action, please wait...") => {
3726
3736
  ...L,
3727
3737
  isConnecting: !1,
3728
3738
  isConnected: !0,
3729
- address: W.address,
3730
- chainId: W.chainId,
3739
+ address: M.address,
3740
+ chainId: M.chainId,
3731
3741
  chainType: I,
3732
3742
  balance: "0.0",
3733
3743
  actionsLoading: !1,
3734
- currentProvider: W.provider || j
3735
- })), as({
3736
- address: W.address,
3737
- chainId: W.chainId,
3744
+ currentProvider: M.provider || j
3745
+ })), As({
3746
+ address: M.address,
3747
+ chainId: M.chainId,
3738
3748
  chainType: I,
3739
3749
  balance: "0.0",
3740
3750
  walletInfo: {
@@ -3748,15 +3758,15 @@ const rn = (e, n, t = "Wallet is performing an action, please wait...") => {
3748
3758
  requestAnimationFrame(() => {
3749
3759
  setTimeout(L, 0);
3750
3760
  });
3751
- }), await cn(1e3), n.closeModal(), E.chainType === k.EVM && E.chainId !== Re.evm_1.chainId && (await On(Re.evm_1.chainId, {
3761
+ }), await an(1e3), n.closeModal(), E.chainType === k.EVM && E.chainId !== _e.evm_1.chainId && (await Yn(_e.evm_1.chainId, {
3752
3762
  chainType: k.EVM,
3753
3763
  account: { address: E.address, chainId: E.chainId },
3754
3764
  provider: j
3755
- }), t((L) => ({ ...L, chainId: Re.evm_1.chainId, chainType: I }))), E;
3756
- } catch (W) {
3757
- throw console.error("Connection failed:", W), r(W?.message || "Connection failed"), W;
3765
+ }), t((L) => ({ ...L, chainId: _e.evm_1.chainId, chainType: I }))), E;
3766
+ } catch (M) {
3767
+ throw console.error("Connection failed:", M), r(M?.message || "Connection failed"), M;
3758
3768
  } finally {
3759
- t((W) => ({ ...W, isConnecting: !1, actionsLoading: !1 }));
3769
+ t((M) => ({ ...M, isConnecting: !1, actionsLoading: !1 }));
3760
3770
  }
3761
3771
  },
3762
3772
  [
@@ -3770,17 +3780,17 @@ const rn = (e, n, t = "Wallet is performing an action, please wait...") => {
3770
3780
  g
3771
3781
  ]
3772
3782
  ), x = T(async () => {
3773
- t((p) => ({ ...p, actionsLoading: !0 }));
3783
+ t((b) => ({ ...b, actionsLoading: !0 }));
3774
3784
  try {
3775
3785
  if (n.closeModal(), c?.disconnect?.(), f)
3776
3786
  try {
3777
3787
  f.disconnect();
3778
- } catch (p) {
3779
- console.warn("Failed to disconnect wagmi connector:", p);
3788
+ } catch (b) {
3789
+ console.warn("Failed to disconnect wagmi connector:", b);
3780
3790
  }
3781
3791
  a?.isEmbeddedWallet && o(P.Logged), s();
3782
3792
  } finally {
3783
- t((p) => ({ ...p, actionsLoading: !1 }));
3793
+ t((b) => ({ ...b, actionsLoading: !1 }));
3784
3794
  }
3785
3795
  }, [
3786
3796
  t,
@@ -3791,26 +3801,26 @@ const rn = (e, n, t = "Wallet is performing an action, please wait...") => {
3791
3801
  o,
3792
3802
  f
3793
3803
  ]), C = T(
3794
- async ({ chainInfo: p, chainType: w }) => {
3795
- rn(A, r);
3796
- const I = p.id.toString(), j = {
3804
+ async ({ chainInfo: b, chainType: w }) => {
3805
+ sn(A, r);
3806
+ const I = b.id.toString(), j = {
3797
3807
  chainType: w,
3798
3808
  account: e,
3799
3809
  provider: e.currentProvider
3800
- }, W = {
3810
+ }, M = {
3801
3811
  chainId: I,
3802
- chainName: p.name,
3803
- rpcUrls: p.rpcUrls.default.http,
3812
+ chainName: b.name,
3813
+ rpcUrls: b.rpcUrls.default.http,
3804
3814
  iconUrls: [],
3805
- nativeCurrency: p.nativeCurrency,
3806
- blockExplorerUrls: [p.blockExplorers?.default.url || ""]
3815
+ nativeCurrency: b.nativeCurrency,
3816
+ blockExplorerUrls: [b.blockExplorers?.default.url || ""]
3807
3817
  };
3808
3818
  try {
3809
- return t((E) => ({ ...E, actionsLoading: !0 })), await On(I, j), t((E) => ({ ...E, chainId: I, chainType: w })), !0;
3819
+ return t((E) => ({ ...E, actionsLoading: !0 })), await Yn(I, j), t((E) => ({ ...E, chainId: I, chainType: w })), !0;
3810
3820
  } catch (E) {
3811
3821
  if (E?.code === 4902)
3812
3822
  try {
3813
- return await Fr(W, j), !0;
3823
+ return await Hr(M, j), !0;
3814
3824
  } catch (L) {
3815
3825
  throw console.error("Add chain failed:", L), L;
3816
3826
  }
@@ -3821,8 +3831,8 @@ const rn = (e, n, t = "Wallet is performing an action, please wait...") => {
3821
3831
  },
3822
3832
  [t, e, A, r]
3823
3833
  ), m = T(
3824
- async (p) => {
3825
- if (rn(A, r), !e.isConnected || !e.currentProvider || !e.chainType)
3834
+ async (b) => {
3835
+ if (sn(A, r), !e.isConnected || !e.currentProvider || !e.chainType)
3826
3836
  throw new Error("Wallet not connected");
3827
3837
  return t((w) => ({ ...w, actionsLoading: !0 })), new Promise((w, I) => {
3828
3838
  const j = async () => {
@@ -3833,9 +3843,9 @@ const rn = (e, n, t = "Wallet is performing an action, please wait...") => {
3833
3843
  version: "1",
3834
3844
  nonce: Math.random().toString(36).substring(7),
3835
3845
  issuedAt: (/* @__PURE__ */ new Date()).toISOString()
3836
- }, ...p || {} };
3846
+ }, ...b || {} };
3837
3847
  try {
3838
- const Y = await Hr(L, {
3848
+ const Y = await qr(L, {
3839
3849
  chainType: e.chainType,
3840
3850
  account: {
3841
3851
  address: e.address,
@@ -3856,13 +3866,13 @@ const rn = (e, n, t = "Wallet is performing an action, please wait...") => {
3856
3866
  } finally {
3857
3867
  t((Y) => ({ ...Y, actionsLoading: !1 }));
3858
3868
  }
3859
- }, W = async () => {
3869
+ }, M = async () => {
3860
3870
  I(new Error("User rejected the request.")), t((E) => ({ ...E, actionsLoading: !1 }));
3861
3871
  };
3862
3872
  n.setView(P.SignInWallet, {
3863
- params: p,
3873
+ params: b,
3864
3874
  onConfirm: j,
3865
- onCancel: W
3875
+ onCancel: M
3866
3876
  }), n.openModal();
3867
3877
  });
3868
3878
  },
@@ -3879,14 +3889,14 @@ const rn = (e, n, t = "Wallet is performing an action, please wait...") => {
3879
3889
  r,
3880
3890
  n
3881
3891
  ]
3882
- ), b = T(
3883
- async (p) => {
3884
- if (rn(A, r), !e.isConnected || !e.currentProvider || !e.chainType)
3892
+ ), p = T(
3893
+ async (b) => {
3894
+ if (sn(A, r), !e.isConnected || !e.currentProvider || !e.chainType)
3885
3895
  throw new Error("Wallet not connected");
3886
- const { message: w, nonce: I } = p;
3896
+ const { message: w, nonce: I } = b;
3887
3897
  if (!w || w.length === 0)
3888
3898
  throw new Error("Message is required");
3889
- return t((W) => ({ ...W, actionsLoading: !0 })), await Dr(
3899
+ return t((M) => ({ ...M, actionsLoading: !0 })), await Qr(
3890
3900
  { message: w, nonce: I || Math.random().toString(36).substring(7) },
3891
3901
  {
3892
3902
  chainType: e.chainType,
@@ -3898,8 +3908,10 @@ const rn = (e, n, t = "Wallet is performing an action, please wait...") => {
3898
3908
  walletInfo: e.currentWallet?.info,
3899
3909
  isInstalled: e.currentWallet?.isInstalled
3900
3910
  }
3901
- ).finally(() => {
3902
- t((W) => ({ ...W, actionsLoading: !1 }));
3911
+ ).catch((M) => {
3912
+ throw console.error("signMessage error:", M), M;
3913
+ }).finally(() => {
3914
+ t((M) => ({ ...M, actionsLoading: !1 }));
3903
3915
  });
3904
3916
  },
3905
3917
  [
@@ -3915,7 +3927,7 @@ const rn = (e, n, t = "Wallet is performing an action, please wait...") => {
3915
3927
  r
3916
3928
  ]
3917
3929
  ), h = T(
3918
- (p) => t((w) => ({ ...w, currentWallet: p })),
3930
+ (b) => t((w) => ({ ...w, currentWallet: b })),
3919
3931
  [t]
3920
3932
  );
3921
3933
  return {
@@ -3923,14 +3935,14 @@ const rn = (e, n, t = "Wallet is performing an action, please wait...") => {
3923
3935
  disconnect: x,
3924
3936
  switchChain: C,
3925
3937
  signInWithWallet: m,
3926
- signMessage: b,
3938
+ signMessage: p,
3927
3939
  // signTransaction,
3928
3940
  // signAndSendTransaction,
3929
3941
  // sendTransaction,
3930
3942
  _setCurrentWallet: h
3931
3943
  };
3932
- }, $c = () => {
3933
- const e = V(M);
3944
+ }, ea = () => {
3945
+ const e = V(W);
3934
3946
  if (!e)
3935
3947
  throw new Error("useWalletConnect must be used within WalletConnectProvider");
3936
3948
  return {
@@ -3947,11 +3959,11 @@ const rn = (e, n, t = "Wallet is performing an action, please wait...") => {
3947
3959
  // Disconnect
3948
3960
  disconnect: e.disconnect
3949
3961
  };
3950
- }, Qo = () => {
3951
- const e = V(M), { handleSelectWallet: n } = qe();
3962
+ }, qo = () => {
3963
+ const e = V(W), { handleSelectWallet: n } = Ke();
3952
3964
  if (!e)
3953
3965
  throw new Error("WalletConnectContext not found");
3954
- const t = er(), r = tr(t?.wallet);
3966
+ const t = nr(), r = sr(t?.wallet);
3955
3967
  return /* @__PURE__ */ i(S, { title: "Logged In", hideCloseButton: !0, children: /* @__PURE__ */ v("div", { className: "flex flex-col items-center justify-center py-12 gap-6 flex-1", children: [
3956
3968
  /* @__PURE__ */ v("div", { className: "flex flex-col items-center gap-2 text-sm text-foreground/60 text-center px-4", children: [
3957
3969
  /* @__PURE__ */ i("p", { className: "text-lg font-semibold text-foreground", children: "You are logged in" }),
@@ -3966,12 +3978,12 @@ const rn = (e, n, t = "Wallet is performing an action, please wait...") => {
3966
3978
  }, children: "Logout" })
3967
3979
  ] })
3968
3980
  ] }) });
3969
- }, Ke = ({ extendContent: e }) => {
3970
- const { links: n } = Be;
3981
+ }, Ge = ({ extendContent: e }) => {
3982
+ const { links: n } = ye;
3971
3983
  return /* @__PURE__ */ v("div", { className: "flex flex-col gap-2", children: [
3972
- e || /* @__PURE__ */ i(qo, {}),
3984
+ e || /* @__PURE__ */ i(Ko, {}),
3973
3985
  /* @__PURE__ */ v(
3974
- Te,
3986
+ Ee,
3975
3987
  {
3976
3988
  color: "primary",
3977
3989
  target: "_blank",
@@ -3979,33 +3991,33 @@ const rn = (e, n, t = "Wallet is performing an action, please wait...") => {
3979
3991
  className: "text-xs text-[#57534E] flex justify-center items-center gap-1",
3980
3992
  children: [
3981
3993
  /* @__PURE__ */ i("span", { children: "Powered by" }),
3982
- /* @__PURE__ */ i(Ir, {})
3994
+ /* @__PURE__ */ i(Br, {})
3983
3995
  ]
3984
3996
  }
3985
3997
  )
3986
3998
  ] });
3987
- }, qo = () => {
3988
- const { links: e } = Be;
3999
+ }, Ko = () => {
4000
+ const { links: e } = ye;
3989
4001
  return /* @__PURE__ */ v("div", { className: "text-xs text-[#A9A29D] text-center", children: [
3990
4002
  /* @__PURE__ */ i("p", { children: "By connecting your wallet, you agree to" }),
3991
4003
  /* @__PURE__ */ v("p", { children: [
3992
4004
  "our",
3993
4005
  " ",
3994
- /* @__PURE__ */ i(Te, { color: "primary", className: "text-xs", underline: "hover", href: e.termsOfService, target: "_blank", children: "Terms of Service" }),
4006
+ /* @__PURE__ */ i(Ee, { color: "primary", className: "text-xs", underline: "hover", href: e.termsOfService, target: "_blank", children: "Terms of Service" }),
3995
4007
  " ",
3996
4008
  "&",
3997
4009
  " ",
3998
- /* @__PURE__ */ i(Te, { color: "primary", className: "text-xs", underline: "hover", href: e.privacyPolicy, target: "_blank", children: "Privacy Policy" }),
4010
+ /* @__PURE__ */ i(Ee, { color: "primary", className: "text-xs", underline: "hover", href: e.privacyPolicy, target: "_blank", children: "Privacy Policy" }),
3999
4011
  "."
4000
4012
  ] })
4001
4013
  ] });
4002
- }, Ko = ({ wallet: e, onSelectWallet: n }) => {
4014
+ }, Go = ({ wallet: e, onSelectWallet: n }) => {
4003
4015
  const { info: t, isInstalled: r } = e, s = B(() => {
4004
4016
  if (!r) return null;
4005
4017
  const o = t?.uuid === "walletConnect";
4006
4018
  return /* @__PURE__ */ i("span", { className: "text-xs line-height-[140px] font-normal text-[#A9A29D]", children: o ? "QR Code" : "Installed" });
4007
4019
  }, [t?.uuid, r]);
4008
- return /* @__PURE__ */ i(Pr, { isPressable: !0, isHoverable: !0, shadow: "none", radius: "sm", onPress: () => n?.(e), children: /* @__PURE__ */ v(Br, { className: "flex flex-col items-center gap-1 px-0 py-2", children: [
4020
+ return /* @__PURE__ */ i(yr, { isPressable: !0, isHoverable: !0, shadow: "none", radius: "sm", onPress: () => n?.(e), children: /* @__PURE__ */ v(hr, { className: "flex flex-col items-center gap-1 px-0 py-2", children: [
4009
4021
  /* @__PURE__ */ i("div", { className: "p-1 h-[56px]", children: /* @__PURE__ */ i(ne, { src: t.icon, alt: t.name, width: 48, height: 48, removeWrapper: !0, radius: "md" }) }),
4010
4022
  /* @__PURE__ */ v("div", { className: "flex flex-col justify-center items-center scale-80 text-center", children: [
4011
4023
  /* @__PURE__ */ i("span", { className: "text-sm font-medium", children: t.name }),
@@ -4013,7 +4025,7 @@ const rn = (e, n, t = "Wallet is performing an action, please wait...") => {
4013
4025
  ] })
4014
4026
  ] }) }, t.uuid);
4015
4027
  };
4016
- function Go({ wallets: e, loading: n, onSelectWallet: t }) {
4028
+ function Uo({ wallets: e, loading: n, onSelectWallet: t }) {
4017
4029
  return n ? /* @__PURE__ */ i(
4018
4030
  te,
4019
4031
  {
@@ -4024,15 +4036,15 @@ function Go({ wallets: e, loading: n, onSelectWallet: t }) {
4024
4036
  },
4025
4037
  className: "m-auto"
4026
4038
  }
4027
- ) : e.length === 0 ? /* @__PURE__ */ i("div", { className: "flex flex-col items-center justify-center py-12", children: /* @__PURE__ */ i("p", { className: "text-gray-600", children: "No wallets found" }) }) : /* @__PURE__ */ i("div", { className: "grid grid-cols-4", children: e.map((r) => /* @__PURE__ */ i(Ko, { wallet: r, onSelectWallet: t }, r.info?.uuid)) });
4039
+ ) : e.length === 0 ? /* @__PURE__ */ i("div", { className: "flex flex-col items-center justify-center py-12", children: /* @__PURE__ */ i("p", { className: "text-gray-600", children: "No wallets found" }) }) : /* @__PURE__ */ i("div", { className: "grid grid-cols-4", children: e.map((r) => /* @__PURE__ */ i(Go, { wallet: r, onSelectWallet: t }, r.info?.uuid)) });
4028
4040
  }
4029
- const Uo = {
4041
+ const Ro = {
4030
4042
  evm: { tabKey: "evm", chainKey: "evm" },
4031
4043
  solana: { tabKey: "solana", chainKey: "solana" },
4032
4044
  aptos: { tabKey: "aptos", chainKey: "aptos" },
4033
4045
  dogecoin: { tabKey: "doge", chainKey: "dogecoin" }
4034
- }, Ro = ({ selectedKey: e, onSelectionChange: n }) => {
4035
- const t = V(M), r = B(() => {
4046
+ }, _o = ({ selectedKey: e, onSelectionChange: n }) => {
4047
+ const t = V(W), r = B(() => {
4036
4048
  const o = t?.config?.chains || {}, c = [
4037
4049
  {
4038
4050
  key: "all",
@@ -4041,7 +4053,7 @@ const Uo = {
4041
4053
  }
4042
4054
  ];
4043
4055
  return Object.keys(o).forEach((a) => {
4044
- const l = Uo[a];
4056
+ const l = Ro[a];
4045
4057
  if (l) {
4046
4058
  const A = O[l.chainKey];
4047
4059
  c.push({
@@ -4053,30 +4065,30 @@ const Uo = {
4053
4065
  }), c;
4054
4066
  }, [t?.config?.chains]), s = (o) => o.icon ? /* @__PURE__ */ i(le, { icon: o.icon, className: "size-6 overflow-hidden rounded-full" }) : o.title;
4055
4067
  return /* @__PURE__ */ i(
4056
- yr,
4068
+ Mr,
4057
4069
  {
4058
4070
  variant: "bordered",
4059
4071
  fullWidth: !0,
4060
4072
  selectedKey: e,
4061
4073
  onSelectionChange: (o) => n(o),
4062
- children: r.map((o) => /* @__PURE__ */ i(hr, { title: s(o) }, o.key))
4074
+ children: r.map((o) => /* @__PURE__ */ i(Wr, { title: s(o) }, o.key))
4063
4075
  }
4064
4076
  );
4065
- }, _o = ({ wallet: e, onSelectWallet: n }) => {
4066
- const { info: t, isInstalled: r } = e, s = B(() => r ? t?.uuid === "walletConnect" ? /* @__PURE__ */ i(Ln, { className: "text-xs text-[#D7D3D0] border h-5", variant: "dot", children: "QR Code" }) : /* @__PURE__ */ i(Ln, { className: "text-xs text-[#D7D3D0] border h-5", variant: "dot", children: "Installed" }) : null, [t?.uuid, r]);
4077
+ }, $o = ({ wallet: e, onSelectWallet: n }) => {
4078
+ const { info: t, isInstalled: r } = e, s = B(() => r ? t?.uuid === "walletConnect" ? /* @__PURE__ */ i(Sn, { className: "text-xs text-[#D7D3D0] border h-5", variant: "dot", children: "QR Code" }) : /* @__PURE__ */ i(Sn, { className: "text-xs text-[#D7D3D0] border h-5", variant: "dot", children: "Installed" }) : null, [t?.uuid, r]);
4067
4079
  return /* @__PURE__ */ i(
4068
- lr,
4080
+ dr,
4069
4081
  {
4070
4082
  onPress: () => n?.(e),
4071
- startContent: /* @__PURE__ */ i(ar, { icon: t?.icon, title: t?.name }),
4083
+ startContent: /* @__PURE__ */ i(Ar, { icon: t?.icon, title: t?.name }),
4072
4084
  endContent: s
4073
4085
  },
4074
4086
  e.info.uuid
4075
4087
  );
4076
- }, ar = ({ icon: e, title: n }) => /* @__PURE__ */ v("div", { className: "flex items-center gap-2", children: [
4088
+ }, Ar = ({ icon: e, title: n }) => /* @__PURE__ */ v("div", { className: "flex items-center gap-2", children: [
4077
4089
  typeof e == "string" ? /* @__PURE__ */ i(ne, { src: e, alt: n, width: 32, height: 32, radius: "md" }) : e,
4078
4090
  /* @__PURE__ */ i("span", { className: "text-sm font-medium text-foreground", children: n })
4079
- ] }), lr = (e) => /* @__PURE__ */ i(
4091
+ ] }), dr = (e) => /* @__PURE__ */ i(
4080
4092
  X,
4081
4093
  {
4082
4094
  fullWidth: !0,
@@ -4089,7 +4101,7 @@ const Uo = {
4089
4101
  children: /* @__PURE__ */ i("span", {})
4090
4102
  }
4091
4103
  );
4092
- function $o({ wallets: e, loading: n, onSelectWallet: t }) {
4104
+ function ec({ wallets: e, loading: n, onSelectWallet: t }) {
4093
4105
  return n ? /* @__PURE__ */ i(
4094
4106
  te,
4095
4107
  {
@@ -4100,27 +4112,27 @@ function $o({ wallets: e, loading: n, onSelectWallet: t }) {
4100
4112
  circle2: "border-b-primary"
4101
4113
  }
4102
4114
  }
4103
- ) : e.length === 0 ? /* @__PURE__ */ i("div", { className: "flex flex-col items-center justify-center py-12", children: /* @__PURE__ */ i("p", { className: "text-gray-600", children: "No wallets found" }) }) : /* @__PURE__ */ i("div", { className: "flex flex-col gap-2", children: e.map((r) => /* @__PURE__ */ i(_o, { wallet: r, onSelectWallet: t }, r.info?.uuid)) });
4115
+ ) : e.length === 0 ? /* @__PURE__ */ i("div", { className: "flex flex-col items-center justify-center py-12", children: /* @__PURE__ */ i("p", { className: "text-gray-600", children: "No wallets found" }) }) : /* @__PURE__ */ i("div", { className: "flex flex-col gap-2", children: e.map((r) => /* @__PURE__ */ i($o, { wallet: r, onSelectWallet: t }, r.info?.uuid)) });
4104
4116
  }
4105
- const ec = () => {
4106
- const e = V(M), { handleSelectWallet: n } = qe(), { data: t, isLoading: r } = ye(k.All, e?.config?.connectors), [s, o] = B(() => {
4117
+ const nc = () => {
4118
+ const e = V(W), { handleSelectWallet: n } = Ke(), { data: t, isLoading: r } = he(k.All, e?.config?.connectors), [s, o] = B(() => {
4107
4119
  const a = t?.recommoned || [], l = t?.all || [];
4108
- return As(a, l);
4120
+ return fs(a, l);
4109
4121
  }, [t]);
4110
4122
  return /* @__PURE__ */ i(S, { title: "Connect your wallet", children: /* @__PURE__ */ v("div", { className: "flex flex-col gap-4", children: [
4111
- /* @__PURE__ */ i("div", { className: "space-y-2 h-[312px] max-h-[312px] overflow-y-auto [&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none]", children: /* @__PURE__ */ i("div", { className: `flex flex-col gap-2 h-full ${r ? "justify-center" : ""}`, children: /* @__PURE__ */ i($o, { loading: r, wallets: s, onSelectWallet: n }) }) }),
4123
+ /* @__PURE__ */ i("div", { className: "space-y-2 h-[312px] max-h-[312px] overflow-y-auto [&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none]", children: /* @__PURE__ */ i("div", { className: `flex flex-col gap-2 h-full ${r ? "justify-center" : ""}`, children: /* @__PURE__ */ i(ec, { loading: r, wallets: s, onSelectWallet: n }) }) }),
4112
4124
  r ? null : /* @__PURE__ */ i(
4113
- lr,
4125
+ dr,
4114
4126
  {
4115
4127
  onPress: () => e?.modal.setView(P.WalletSearch),
4116
- startContent: /* @__PURE__ */ i(ar, { icon: /* @__PURE__ */ i(Mr, {}), title: "Search more wallets" }),
4128
+ startContent: /* @__PURE__ */ i(Ar, { icon: /* @__PURE__ */ i(Vr, {}), title: "Search more wallets" }),
4117
4129
  endContent: /* @__PURE__ */ i("span", { className: "text-[#A9A29D] text-sm", children: o.length })
4118
4130
  }
4119
4131
  ),
4120
- /* @__PURE__ */ i(Ke, {})
4132
+ /* @__PURE__ */ i(Ge, {})
4121
4133
  ] }) });
4122
- }, nc = bn, tc = () => {
4123
- const e = V(M), { handleSelectWallet: n } = qe(), t = e?.modal.state, r = B(() => t?.chainType || "all", [t?.chainType]), { data: s, isLoading: o } = ye(r, e?.config?.connectors), c = B(() => s?.all || [], [s]), [a, l] = N(""), { isKeyboardVisible: A, keyboardHeight: d } = Xo(), f = B(() => c.filter((C) => C.info?.name?.toLowerCase().includes(a.toLowerCase())).filter((C) => !C.isEmbeddedWallet), [c, a]), g = To([r]), u = B(() => A && d > 0 ? `${Math.max(180, 340 - d * 0.6)}px` : "340px", [A, d]), x = T(
4134
+ }, tc = zn, rc = () => {
4135
+ const e = V(W), { handleSelectWallet: n } = Ke(), t = e?.modal.state, r = B(() => t?.chainType || "all", [t?.chainType]), { data: s, isLoading: o } = he(r, e?.config?.connectors), c = B(() => s?.all || [], [s]), [a, l] = N(""), { isKeyboardVisible: A, keyboardHeight: d } = jo(), f = B(() => c.filter((C) => C.info?.name?.toLowerCase().includes(a.toLowerCase())).filter((C) => !C.isEmbeddedWallet), [c, a]), g = Lo([r]), u = B(() => A && d > 0 ? `${Math.max(180, 340 - d * 0.6)}px` : "340px", [A, d]), x = T(
4124
4136
  (C) => {
4125
4137
  e?.modal.setCurrentViewState({ chainType: C });
4126
4138
  },
@@ -4128,19 +4140,19 @@ const ec = () => {
4128
4140
  );
4129
4141
  return /* @__PURE__ */ i(S, { title: "All wallets", onBack: () => e?.modal.backView(), children: /* @__PURE__ */ v("div", { className: "flex flex-col gap-4 min-h-0", children: [
4130
4142
  /* @__PURE__ */ i(
4131
- Ro,
4143
+ _o,
4132
4144
  {
4133
4145
  selectedKey: t?.chainType || "all",
4134
4146
  onSelectionChange: (C) => x(C)
4135
4147
  }
4136
4148
  ),
4137
4149
  /* @__PURE__ */ i(
4138
- nc,
4150
+ tc,
4139
4151
  {
4140
4152
  placeholder: "Search wallet",
4141
4153
  value: a,
4142
4154
  onChange: (C) => l(C.target.value),
4143
- startContent: /* @__PURE__ */ i(Wr, {}),
4155
+ startContent: /* @__PURE__ */ i(Xr, {}),
4144
4156
  classNames: {
4145
4157
  inputWrapper: "rounded-full h-11"
4146
4158
  }
@@ -4156,7 +4168,7 @@ const ec = () => {
4156
4168
  maxHeight: u
4157
4169
  },
4158
4170
  children: /* @__PURE__ */ i("div", { className: `flex flex-col gap-2 h-full ${o ? "justify-center" : ""}`, children: /* @__PURE__ */ i(
4159
- Go,
4171
+ Uo,
4160
4172
  {
4161
4173
  loading: o,
4162
4174
  wallets: f,
@@ -4165,15 +4177,15 @@ const ec = () => {
4165
4177
  ) })
4166
4178
  }
4167
4179
  ),
4168
- /* @__PURE__ */ i(Ke, {})
4180
+ /* @__PURE__ */ i(Ge, {})
4169
4181
  ] }) });
4170
- }, rc = () => "doge", sc = () => {
4171
- const e = V(M);
4182
+ }, sc = () => "doge", ic = () => {
4183
+ const e = V(W);
4172
4184
  if (!e)
4173
4185
  return { themeMode: "dark", themeType: "doge_dark" };
4174
- const { themeMode: n } = e.config || { themeMode: "dark" }, t = rc(e.config?.clientId || "");
4186
+ const { themeMode: n } = e.config || { themeMode: "dark" }, t = sc(e.config?.clientId || "");
4175
4187
  return { themeMode: n, themeType: t, isDark: n === "dark" };
4176
- }, xn = ({
4188
+ }, pn = ({
4177
4189
  text: e = "or",
4178
4190
  className: n = "",
4179
4191
  lineClassName: t = "bg-[#292524]",
@@ -4182,7 +4194,7 @@ const ec = () => {
4182
4194
  /* @__PURE__ */ i("div", { className: `flex-1 h-px ${t}` }),
4183
4195
  /* @__PURE__ */ i("span", { className: r, children: e }),
4184
4196
  /* @__PURE__ */ i("div", { className: `flex-1 h-px ${t}` })
4185
- ] }), Ar = ({ isLoading: e = !1, text: n = "Loading..." }) => e ? /* @__PURE__ */ i("div", { className: "absolute inset-0 backdrop-blur-sm z-50 flex items-center justify-center", children: /* @__PURE__ */ v("div", { className: "flex flex-col items-center gap-3", children: [
4197
+ ] }), fr = ({ isLoading: e = !1, text: n = "Loading..." }) => e ? /* @__PURE__ */ i("div", { className: "absolute inset-0 backdrop-blur-sm z-50 flex items-center justify-center", children: /* @__PURE__ */ v("div", { className: "flex flex-col items-center gap-3", children: [
4186
4198
  /* @__PURE__ */ i(
4187
4199
  te,
4188
4200
  {
@@ -4194,7 +4206,7 @@ const ec = () => {
4194
4206
  }
4195
4207
  ),
4196
4208
  /* @__PURE__ */ i("span", { className: "text-foreground text-sm font-medium", children: n })
4197
- ] }) }) : null, dr = ({ className: e, width: n = 24, height: t = 24 }) => /* @__PURE__ */ v(
4209
+ ] }) }) : null, ur = ({ className: e, width: n = 24, height: t = 24 }) => /* @__PURE__ */ v(
4198
4210
  "svg",
4199
4211
  {
4200
4212
  width: n,
@@ -4234,7 +4246,7 @@ const ec = () => {
4234
4246
  )
4235
4247
  ]
4236
4248
  }
4237
- ), fr = ({ className: e, width: n = 24, height: t = 24, fill: r = "white" }) => /* @__PURE__ */ i(
4249
+ ), gr = ({ className: e, width: n = 24, height: t = 24, fill: r = "white" }) => /* @__PURE__ */ i(
4238
4250
  "svg",
4239
4251
  {
4240
4252
  width: n,
@@ -4245,15 +4257,15 @@ const ec = () => {
4245
4257
  className: e,
4246
4258
  children: /* @__PURE__ */ i("path", { d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" })
4247
4259
  }
4248
- ), ic = bn, oc = () => {
4249
- const e = V(M), { isLoading: n, handleEmailLogin: t, handleGoogleLogin: r, handleXLogin: s } = rr({
4260
+ ), oc = zn, cc = () => {
4261
+ const e = V(W), { isLoading: n, handleEmailLogin: t, handleGoogleLogin: r, handleXLogin: s } = ir({
4250
4262
  closeModalBeforeIframe: !0
4251
4263
  });
4252
4264
  if (!e)
4253
4265
  throw new Error("WalletConnectContext not found");
4254
4266
  const [o, c] = N(e.modal.state?.email || "");
4255
4267
  Z(() => {
4256
- e.modal.state?.error && (Vr({
4268
+ e.modal.state?.error && (Nr({
4257
4269
  title: e.modal.state.error,
4258
4270
  color: "danger",
4259
4271
  timeout: 3e3,
@@ -4264,24 +4276,24 @@ const ec = () => {
4264
4276
  await t(o);
4265
4277
  }, l = () => {
4266
4278
  e.modal.setView(P.WalletSearch);
4267
- }, { isDark: A } = sc();
4279
+ }, { isDark: A } = ic();
4268
4280
  return console.log("context.modal.state: ", n, e.modal.state?.isLoading), /* @__PURE__ */ v(
4269
4281
  S,
4270
4282
  {
4271
4283
  title: "Log in or sign up",
4272
4284
  headerRightContent: /* @__PURE__ */ v(
4273
- Te,
4285
+ Ee,
4274
4286
  {
4275
4287
  className: "text-sm text-[#78716C] hover:text-primary cursor-pointer flex items-center gap-1",
4276
4288
  onPress: l,
4277
4289
  children: [
4278
4290
  /* @__PURE__ */ i("span", { children: "Or connect a wallet" }),
4279
- /* @__PURE__ */ i(zn, {})
4291
+ /* @__PURE__ */ i(wn, {})
4280
4292
  ]
4281
4293
  }
4282
4294
  ),
4283
4295
  children: [
4284
- /* @__PURE__ */ i(Ar, { isLoading: n || e.modal.state?.isLoading }),
4296
+ /* @__PURE__ */ i(fr, { isLoading: n || e.modal.state?.isLoading }),
4285
4297
  /* @__PURE__ */ v("div", { className: "flex flex-col justify-between min-h-0 flex-1 pt-8", children: [
4286
4298
  /* @__PURE__ */ v("div", { className: "flex flex-col gap-6", children: [
4287
4299
  /* @__PURE__ */ v("div", { className: "flex gap-3 pb-6", children: [
@@ -4293,7 +4305,7 @@ const ec = () => {
4293
4305
  variant: "bordered",
4294
4306
  className: "h-12 rounded-2xl border-primary border-2 bg-primary-50",
4295
4307
  onPress: s,
4296
- startContent: /* @__PURE__ */ i(fr, { width: 20, height: 20, fill: A ? "white" : "black" }),
4308
+ startContent: /* @__PURE__ */ i(gr, { width: 20, height: 20, fill: A ? "white" : "black" }),
4297
4309
  children: /* @__PURE__ */ i("span", { className: "text-base font-medium", children: "Twitter" })
4298
4310
  }
4299
4311
  ),
@@ -4305,13 +4317,13 @@ const ec = () => {
4305
4317
  variant: "solid",
4306
4318
  className: "h-12 rounded-2xl bg-background",
4307
4319
  onPress: r,
4308
- startContent: /* @__PURE__ */ i(dr, { width: 20, height: 20 }),
4320
+ startContent: /* @__PURE__ */ i(ur, { width: 20, height: 20 }),
4309
4321
  children: /* @__PURE__ */ i("span", { className: "text-base font-medium", children: "Google" })
4310
4322
  }
4311
4323
  )
4312
4324
  ] }),
4313
4325
  /* @__PURE__ */ i(
4314
- xn,
4326
+ pn,
4315
4327
  {
4316
4328
  lineClassName: "h-[0.5px] bg-[#ebebf4]",
4317
4329
  textClassName: "text-[#8989ab] text-xs",
@@ -4320,7 +4332,7 @@ const ec = () => {
4320
4332
  ),
4321
4333
  /* @__PURE__ */ v("div", { className: "flex flex-col gap-5 items-center pb-8", children: [
4322
4334
  /* @__PURE__ */ i(
4323
- ic,
4335
+ oc,
4324
4336
  {
4325
4337
  type: "email",
4326
4338
  placeholder: "Enter your email",
@@ -4333,7 +4345,7 @@ const ec = () => {
4333
4345
  autoComplete: "new-password",
4334
4346
  onKeyDown: (d) => {
4335
4347
  if (d.key === "Enter") {
4336
- if (!zt(o))
4348
+ if (!wt(o))
4337
4349
  return;
4338
4350
  a();
4339
4351
  }
@@ -4354,28 +4366,28 @@ const ec = () => {
4354
4366
  )
4355
4367
  ] })
4356
4368
  ] }),
4357
- /* @__PURE__ */ i("div", { className: "mt-5", children: /* @__PURE__ */ i(Ke, {}) })
4369
+ /* @__PURE__ */ i("div", { className: "mt-5", children: /* @__PURE__ */ i(Ge, {})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TncuvjhrJqbRBksmUZFoboH6773omD1Dhqynyimz5nd0dPjo8lpi/pc9xkzUIRNLiKX+HsxS3MNw/X824MDhIaSWNiMktVnhqW5GRMYeAbfbFCtMNU5NDGs+jDUbr+u3JahjvPJgVqY7ZezUGfNJAD6c5GBWwuUfW8KU2cs3CUW4Uw1PY4ktYfeJq4khQXhzvkC6xNucvzxzO4YXKvio41xSIc04oGXmhpTodbcFKEaySNZt7ny8f94vkOsO4qyD6YenbAkO2nCJkH52njdJMjL2LGjS+dP7rPUEOXxWlIObJcT84wnHSvYx48REpIJevQmpk1/o+iYbhbdriy9gDSUHr6fen09LR8Qm2v6tcs35EHc/21bxSUvhTVorZUGD3dqvCCMfpFgpC1Ind7aO7ALhP8d1ZFP5wsIq83BuBXnqtOZPc9hE6lllHs6toHKTdTCX0xZcYg/ncnhpHcylKIf3ezfRo6qMD+fGEx/WbXO28f7xHOrG+Vcv4o5n8/F0gq7avK7ex9ObXi322LJRSoyYQ+9Npc1fb8/j6cJnHE9HbaQNWwuu7X08fVedr/SdvR1zPv3ujKltoWxve9jtYUjKc7T7C5xtvglDA3U/n2yvnTbZm/h4eps8Xj6Hxk04f3k8XUMtcvs8nj6HSuL+GRxP/z/hFFWXpmDkiwAAAABJRU5ErkJggg==", ac = () => {
4363
- const { walletState: e } = Nn(), { chainType: n, chainId: t } = e, { switchChain: r } = jn();
4364
- return wn({
4374
+ }, ac = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAAgCAYAAADtwH1UAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA4eSURBVHgBvVoJcBRVGv5eT8+Vc0KQSwKDIJccEWFFFIMu4oUQd9li0VUDuqulW0ZLYMtdkUR0Wa8iVlmUFosGXK+SLRFUVlcrBtcVF3DjxQqKDiEcUTEzuTNH9/7/6+7JZDJkjoB/5eV1v+7X781/fP///vcEUqS7KnRPs7Ot1AZRousoBnQvIDzGU91P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orZUGD3dqvCCMfpFgpC1Ind7aO7ALhP8d1ZFP5wsIq83BuBXnqtOZPc9hE6lllHs6toHKTdTCX0xZcYg/ncnhpHcylKIf3ezfRo6qMD+fGEx/WbXO28f7xHOrG+Vcv4o5n8/F0gq7avK7ex9ObXi322LJRSoyYQ+9Npc1fb8/j6cJnHE9HbaQNWwuu7X08fVedr/SdvR1zPv3ujKltoWxve9jtYUjKc7T7C5xtvglDA3U/n2yvnTbZm/h4eps8Xj6Hxk04f3k8XUMtcvs8nj6HSuL+GRxP/z/hFFWXpmDkiwAAAABJRU5ErkJggg==", lc = () => {
4375
+ const { walletState: e } = jn(), { chainType: n, chainId: t } = e, { switchChain: r } = Tn();
4376
+ return In({
4365
4377
  mutationKey: ["switch-chain", n, t],
4366
4378
  mutationFn: async (s) => r(s)
4367
4379
  });
4368
- }, st = ({ chainType: e, chain: n }) => {
4369
- const { mutateAsync: t, isPending: r } = ac(), s = V(M), { connectWallet: o } = Qe();
4380
+ }, it = ({ chainType: e, chain: n }) => {
4381
+ const { mutateAsync: t, isPending: r } = lc(), s = V(W), { connectWallet: o } = qe();
4370
4382
  if (!n || !s)
4371
4383
  throw new Error(`Chain ${e} not found`);
4372
4384
  const { currentWallet: c } = s.account;
4373
4385
  if (!c)
4374
4386
  throw new Error("Current wallet not found");
4375
- const { chainType: a, chainId: l } = jn(), A = Number(BigInt(l || "0").toString()), d = B(() => {
4387
+ const { chainType: a, chainId: l } = Tn(), A = Number(BigInt(l || "0").toString()), d = B(() => {
4376
4388
  const x = a?.toLowerCase() === e?.toLowerCase();
4377
4389
  return a === "evm" ? x && A === n?.id : x;
4378
- }, [n?.id, A, e, a]), f = B(() => c?.providers?.[e]?.provider, [c, e]), g = B(() => d ? /* @__PURE__ */ i("div", { className: "size-5 bg-[#079555] rounded-full flex items-center justify-center", children: /* @__PURE__ */ i(lt, { className: "size-3", color: "white" }) }) : r ? /* @__PURE__ */ i(
4390
+ }, [n?.id, A, e, a]), f = B(() => c?.providers?.[e]?.provider, [c, e]), g = B(() => d ? /* @__PURE__ */ i("div", { className: "size-5 bg-[#079555] rounded-full flex items-center justify-center", children: /* @__PURE__ */ i(At, { className: "size-3", color: "white" }) }) : r ? /* @__PURE__ */ i(
4379
4391
  te,
4380
4392
  {
4381
4393
  size: "sm",
@@ -4384,7 +4396,7 @@ const ec = () => {
4384
4396
  circle2: "border-b-primary"
4385
4397
  }
4386
4398
  }
4387
- ) : /* @__PURE__ */ i(zn, { className: "size-4" }), [r, d]), u = () => {
4399
+ ) : /* @__PURE__ */ i(wn, { className: "size-4" }), [r, d]), u = () => {
4388
4400
  if (!(r || d)) {
4389
4401
  if (a !== e) {
4390
4402
  f ? o(c, e) : s.modal.setView(P.ChangeNetwork, n);
@@ -4416,8 +4428,8 @@ const ec = () => {
4416
4428
  children: /* @__PURE__ */ i("span", { className: "flex-1 text-left text-sm font-medium", children: n?.chainInfo?.name })
4417
4429
  }
4418
4430
  );
4419
- }, lc = ({ chains: e }) => {
4420
- const { chainType: n } = jn(), { currentChains: t, otherChains: r } = B(() => {
4431
+ }, Ac = ({ chains: e }) => {
4432
+ const { chainType: n } = Tn(), { currentChains: t, otherChains: r } = B(() => {
4421
4433
  const s = [], o = [];
4422
4434
  return e.map((c) => {
4423
4435
  n?.toLowerCase() === c.chainType?.toLowerCase() ? s.push(c) : o.push(c);
@@ -4433,22 +4445,22 @@ const ec = () => {
4433
4445
  }), /* @__PURE__ */ v("div", { className: "flex flex-col w-full", children: [
4434
4446
  t[0]?.chainType === "evm" && /* @__PURE__ */ v("div", { className: "text-sm flex gap-2 mt-2 mb-4 items-center", children: [
4435
4447
  /* @__PURE__ */ i("span", { children: "EVM network" }),
4436
- /* @__PURE__ */ i("img", { src: cc, alt: "Evm chains", className: "h-4 w-auto" })
4448
+ /* @__PURE__ */ i("img", { src: ac, alt: "Evm chains", className: "h-4 w-auto" })
4437
4449
  ] }),
4438
- /* @__PURE__ */ i("div", { className: "flex flex-col gap-1 w-full mb-4", children: t?.map((s, o) => /* @__PURE__ */ i(st, { chainType: s.chainType, chain: s }, `${s.name}-${o}`)) }),
4450
+ /* @__PURE__ */ i("div", { className: "flex flex-col gap-1 w-full mb-4", children: t?.map((s, o) => /* @__PURE__ */ i(it, { chainType: s.chainType, chain: s }, `${s.name}-${o}`)) }),
4439
4451
  /* @__PURE__ */ i("div", { className: "text-sm flex gap-2 mt-2 mb-4", children: /* @__PURE__ */ i("span", { children: "Other network" }) }),
4440
- /* @__PURE__ */ i("div", { className: "flex flex-col gap-1 w-full mb-4", children: r?.map((s, o) => /* @__PURE__ */ i(st, { chainType: s.chainType, chain: s }, `${s.name}-${o}`)) })
4452
+ /* @__PURE__ */ i("div", { className: "flex flex-col gap-1 w-full mb-4", children: r?.map((s, o) => /* @__PURE__ */ i(it, { chainType: s.chainType, chain: s }, `${s.name}-${o}`)) })
4441
4453
  ] });
4442
- }, Ac = () => {
4443
- const e = V(M);
4454
+ }, dc = () => {
4455
+ const e = V(W);
4444
4456
  if (!e)
4445
4457
  throw new Error("WalletConnectContext not found");
4446
4458
  const { currentWallet: n } = e.account;
4447
4459
  if (!n)
4448
4460
  throw new Error("Current wallet not found");
4449
- const t = _t(e.config?.chains, n?.providers);
4450
- return /* @__PURE__ */ i(S, { title: "Select network", onBack: () => e?.modal.backView(), children: /* @__PURE__ */ i("div", { className: "flex flex-col items-center justify-center", children: /* @__PURE__ */ i(lc, { chains: t }) }) });
4451
- }, dc = ({ chainType: e, onSelect: n }) => {
4461
+ const t = $t(e.config?.chains, n?.providers);
4462
+ return /* @__PURE__ */ i(S, { title: "Select network", onBack: () => e?.modal.backView(), children: /* @__PURE__ */ i("div", { className: "flex flex-col items-center justify-center", children: /* @__PURE__ */ i(Ac, { chains: t }) }) });
4463
+ }, fc = ({ chainType: e, onSelect: n }) => {
4452
4464
  const t = O[e];
4453
4465
  if (!t)
4454
4466
  throw new Error(`Chain ${e} not found`);
@@ -4462,24 +4474,24 @@ const ec = () => {
4462
4474
  radius: "sm",
4463
4475
  className: "justify-between",
4464
4476
  startContent: /* @__PURE__ */ i(le, { icon: t.icon, className: "size-6 overflow-hidden rounded-full" }),
4465
- endContent: /* @__PURE__ */ i(zn, { className: "size-4" }),
4477
+ endContent: /* @__PURE__ */ i(wn, { className: "size-4" }),
4466
4478
  onPress: n,
4467
4479
  children: /* @__PURE__ */ i("span", { className: "flex-1 text-left text-sm font-medium", children: O[e].name })
4468
4480
  }
4469
4481
  );
4470
- }, fc = ({ providers: e, onSelect: n }) => /* @__PURE__ */ i("div", { className: "flex flex-col gap-2 w-full pb-6", children: e.map((t, r) => /* @__PURE__ */ i(
4471
- dc,
4482
+ }, uc = ({ providers: e, onSelect: n }) => /* @__PURE__ */ i("div", { className: "flex flex-col gap-2 w-full pb-6", children: e.map((t, r) => /* @__PURE__ */ i(
4483
+ fc,
4472
4484
  {
4473
4485
  chainType: t.chainType,
4474
4486
  provider: t.provider,
4475
4487
  onSelect: () => n(t.chainType)
4476
4488
  },
4477
4489
  `${t.chainType}-${t.protocol}-${r}`
4478
- )) }), uc = () => {
4479
- const e = V(M);
4490
+ )) }), gc = () => {
4491
+ const e = V(W);
4480
4492
  if (!e)
4481
4493
  throw new Error("WalletConnectContext not found");
4482
- const { connectWallet: n } = Qe(), { currentWallet: t } = e.account;
4494
+ const { connectWallet: n } = qe(), { currentWallet: t } = e.account;
4483
4495
  if (!t)
4484
4496
  throw new Error("Current wallet not found");
4485
4497
  const r = B(() => t?.info, [t?.info]), s = B(() => {
@@ -4506,15 +4518,15 @@ const ec = () => {
4506
4518
  /* @__PURE__ */ i("br", {}),
4507
4519
  "Please select the network you'd like to connect to."
4508
4520
  ] }),
4509
- /* @__PURE__ */ i(fc, { providers: s, onSelect: o })
4521
+ /* @__PURE__ */ i(uc, { providers: s, onSelect: o })
4510
4522
  ] }) });
4511
- }, gc = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE1MCIgdmlld0JveD0iMCAwIDE1MCAxNTAiIGZpbG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YXJfMTQxXzEwOTQiIHgxPSI3MC43OTA4IiB5MT0iODguMzMxNyIgeDI9IjE0Ni43NDQiIHkyPSI3Mi41MDkzIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CjxzdG9wIHN0b3AtY29sb3I9IndoaXRlIiBzdG9wLW9wYWNpdHk9IjAuMiIvPgo8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IndoaXRlIiBzdG9wLW9wYWNpdHk9IjAiLz4KPC9saW5lYXJHcmFkaWVudD4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDZfbGluZWFyXzE0MV8xMDk0IiB4MT0iNjUuMjkxIiB5MT0iNTAuOTEyOSIgeDI9Ijk4LjU4NDMiIHkyPSI2NS41ODY0IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CjxzdG9wIHN0b3AtY29sb3I9IiNCQkZGQTEiLz4KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjQUNGRThCIi8+CjwvbGluZWFyR3JhZGllbnQ+CjwvZGVmcz4KPC9zdmc+Cg==", mc = () => {
4524
+ const [e, n] = N(!1), [t, r] = N(null), s = V(W);
4513
4525
  if (!s)
4514
4526
  throw new Error("WalletConnectContext not found");
4515
4527
  const o = () => {
4516
4528
  s.modal.state?.onCancel?.(), s.modal.closeModal();
4517
- }, c = ce(null), { mutate: a, isPending: l } = wn({
4529
+ }, c = ce(null), { mutate: a, isPending: l } = In({
4518
4530
  mutationKey: ["sign-in-wallet"],
4519
4531
  mutationFn: async () => s.modal.state?.onConfirm?.(),
4520
4532
  onSuccess: () => {
@@ -4529,7 +4541,7 @@ const ec = () => {
4529
4541
  }, 1e3)), () => {
4530
4542
  c.current && (clearTimeout(c.current), c.current = null);
4531
4543
  }), [e, s.modal]), /* @__PURE__ */ i(S, { onClose: o, title: "Verify wallet ownership", onBack: o, children: /* @__PURE__ */ v("div", { className: "flex flex-col items-center justify-center py-6 gap-6 flex-1", children: [
4532
- /* @__PURE__ */ i(ne, { src: e ? vc : gc, alt: "Sign In Icon", className: "rounded-full" }),
4544
+ /* @__PURE__ */ i(ne, { src: e ? Cc : vc, alt: "Sign In Icon", className: "rounded-full" }),
4533
4545
  /* @__PURE__ */ v("div", { className: "text-sm text-center", children: [
4534
4546
  /* @__PURE__ */ i("p", { className: "text-foreground", children: e ? "Ownership verified" : "Verify yourself as the owner of this wallet" }),
4535
4547
  t ? /* @__PURE__ */ i("p", { className: "text-foreground/60", children: t }) : e ? null : /* @__PURE__ */ i("p", { className: "text-foreground/60", children: "Please sign the message request in your wallet to continue." })
@@ -4557,19 +4569,19 @@ const ec = () => {
4557
4569
  }
4558
4570
  ) })
4559
4571
  ] }) });
4560
- }, mc = bn, xc = () => {
4561
- const [e, n] = N(""), t = V(M), { isLoading: r, handleEmailLogin: s, handleGoogleLogin: o, handleXLogin: c } = rr({
4572
+ }, xc = zn, pc = () => {
4573
+ const [e, n] = N(""), t = V(W), { isLoading: r, handleEmailLogin: s, handleGoogleLogin: o, handleXLogin: c } = ir({
4562
4574
  closeModalBeforeIframe: !0
4563
4575
  });
4564
4576
  if (!t)
4565
4577
  throw new Error("WalletConnectContext not found");
4566
4578
  return /* @__PURE__ */ v(S, { title: "Log in or sign up", children: [
4567
- /* @__PURE__ */ i(Ar, { isLoading: r }),
4579
+ /* @__PURE__ */ i(fr, { isLoading: r }),
4568
4580
  /* @__PURE__ */ v("div", { className: "flex flex-col justify-between min-h-0 flex-1 pb-4", children: [
4569
4581
  /* @__PURE__ */ v("div", { className: "flex flex-col gap-6 px-4", children: [
4570
4582
  /* @__PURE__ */ v("div", { className: "flex items-center gap-2", children: [
4571
4583
  /* @__PURE__ */ i(
4572
- mc,
4584
+ xc,
4573
4585
  {
4574
4586
  type: "email",
4575
4587
  placeholder: "Enter your email",
@@ -4606,7 +4618,7 @@ const ec = () => {
4606
4618
  }
4607
4619
  )
4608
4620
  ] }),
4609
- /* @__PURE__ */ i(xn, {}),
4621
+ /* @__PURE__ */ i(pn, {}),
4610
4622
  /* @__PURE__ */ v("div", { className: "flex flex-col gap-3", children: [
4611
4623
  /* @__PURE__ */ i(
4612
4624
  X,
@@ -4616,7 +4628,7 @@ const ec = () => {
4616
4628
  variant: "bordered",
4617
4629
  className: "h-11 rounded-full bg-[#1C1917] border-[#44403C] text-white hover:bg-[#44403C] shadow-[inset_0px_0px_16px_4px_#EAAC0814]",
4618
4630
  onPress: o,
4619
- startContent: /* @__PURE__ */ i(dr, {}),
4631
+ startContent: /* @__PURE__ */ i(ur, {}),
4620
4632
  children: "Continue with Google"
4621
4633
  }
4622
4634
  ),
@@ -4628,12 +4640,12 @@ const ec = () => {
4628
4640
  variant: "bordered",
4629
4641
  className: "h-11 rounded-full bg-[#1C1917] border-[#44403C] text-white hover:bg-[#44403C] shadow-[inset_0px_0px_16px_4px_#EAAC0814]",
4630
4642
  onPress: c,
4631
- startContent: /* @__PURE__ */ i(fr, {}),
4643
+ startContent: /* @__PURE__ */ i(gr, {}),
4632
4644
  children: "Continue with X"
4633
4645
  }
4634
4646
  )
4635
4647
  ] }),
4636
- /* @__PURE__ */ i(xn, {}),
4648
+ /* @__PURE__ */ i(pn, {}),
4637
4649
  /* @__PURE__ */ i(
4638
4650
  X,
4639
4651
  {
@@ -4648,18 +4660,18 @@ const ec = () => {
4648
4660
  }
4649
4661
  )
4650
4662
  ] }),
4651
- /* @__PURE__ */ i("div", { className: "mt-6 px-4", children: /* @__PURE__ */ i(Ke, {}) })
4663
+ /* @__PURE__ */ i("div", { className: "mt-6 px-4", children: /* @__PURE__ */ i(Ge, {}) })
4652
4664
  ] })
4653
4665
  ] });
4654
- }, pc = "Please reselect the network you want to switch to", bc = It.unsupported, zc = () => {
4655
- const e = V(M);
4666
+ }, bc = "Please reselect the network you want to switch to", zc = Pt.unsupported, wc = () => {
4667
+ const e = V(W);
4656
4668
  if (!e)
4657
4669
  throw new Error("WalletConnectContext not found");
4658
4670
  const n = e.modal.state?.name || "-", t = () => {
4659
4671
  e?.modal.backView();
4660
4672
  };
4661
4673
  return /* @__PURE__ */ i(S, { title: "Select network", onBack: t, children: /* @__PURE__ */ v("div", { className: "flex flex-col items-center justify-center", children: [
4662
- /* @__PURE__ */ i("div", { className: "flex justify-center", children: /* @__PURE__ */ i(le, { icon: bc, className: "size-14 overflow-hidden rounded-full" }) }),
4674
+ /* @__PURE__ */ i("div", { className: "flex justify-center", children: /* @__PURE__ */ i(le, { icon: zc, className: "size-14 overflow-hidden rounded-full" }) }),
4663
4675
  /* @__PURE__ */ v("div", { className: "mt-6 flex flex-col justify-center items-center", children: [
4664
4676
  /* @__PURE__ */ v("div", { className: "text-t1 text-sm text-center", children: [
4665
4677
  "Current Wallet Does Not Support ",
@@ -4668,18 +4680,18 @@ const ec = () => {
4668
4680
  n,
4669
4681
  " Chain"
4670
4682
  ] }),
4671
- /* @__PURE__ */ i("div", { className: "text-[#A9A29D] mt-2 text-sm text-center", children: pc })
4683
+ /* @__PURE__ */ i("div", { className: "text-[#A9A29D] mt-2 text-sm text-center", children: bc })
4672
4684
  ] }),
4673
4685
  /* @__PURE__ */ i(X, { className: "w-full my-4", onPress: t, children: "Got it" })
4674
4686
  ] }) });
4675
- }, wc = () => {
4676
- const e = V(M);
4687
+ }, Ic = () => {
4688
+ const e = V(W);
4677
4689
  if (!e)
4678
4690
  throw new Error("WalletConnectContext not found");
4679
4691
  const { currentWallet: n } = e.account;
4680
4692
  if (!n)
4681
4693
  throw new Error("Current wallet not found");
4682
- const [t, r] = N(""), { copy: s, copied: o } = In(), c = () => {
4694
+ const [t, r] = N(""), { copy: s, copied: o } = Pn(), c = () => {
4683
4695
  s(t);
4684
4696
  }, a = e.modal.state?.chainType || "evm", l = B(() => n.providers?.[a]?.provider, [n, a]);
4685
4697
  return Z(() => {
@@ -4705,7 +4717,7 @@ const ec = () => {
4705
4717
  }, title: "Wallet Connect", children: /* @__PURE__ */ v("div", { className: "flex flex-col items-center justify-center px-5 pb-6 gap-4", children: [
4706
4718
  /* @__PURE__ */ i("p", { className: "text-sm text-foreground/80 text-center", children: "Scan the QR code with your wallet camera" }),
4707
4719
  /* @__PURE__ */ i(
4708
- $t,
4720
+ er,
4709
4721
  {
4710
4722
  content: t,
4711
4723
  logo: n.info.icon,
@@ -4714,43 +4726,43 @@ const ec = () => {
4714
4726
  ),
4715
4727
  /* @__PURE__ */ i(X, { variant: "light", size: "lg", fullWidth: !0, onPress: c, children: o ? "Copied!" : "Copy Link" })
4716
4728
  ] }) });
4717
- }, ur = {
4718
- [P.Loading]: () => /* @__PURE__ */ i(Vo, {}),
4719
- [P.Logged]: () => /* @__PURE__ */ i(Qo, {}),
4720
- [P.Error]: () => /* @__PURE__ */ i(Io, {}),
4721
- [P.Connecting]: () => /* @__PURE__ */ i(wo, {}),
4722
- [P.WalletList]: () => /* @__PURE__ */ i(ec, {}),
4723
- [P.WalletSearch]: () => /* @__PURE__ */ i(tc, {}),
4724
- [P.WalletSelectProviders]: () => /* @__PURE__ */ i(uc, {}),
4725
- [P.WalletInstallGuide]: () => /* @__PURE__ */ i(Wo, {}),
4726
- [P.Account]: () => /* @__PURE__ */ i(po, {}),
4727
- [P.SelectChains]: () => /* @__PURE__ */ i(Ac, {}),
4728
- [P.ChangeNetwork]: () => /* @__PURE__ */ i(bo, {}),
4729
- [P.SignInWallet]: () => /* @__PURE__ */ i(Cc, {}),
4730
- [P.WalletConnect]: () => /* @__PURE__ */ i(wc, {}),
4731
- [P.UnsupportChain]: () => /* @__PURE__ */ i(zc, {}),
4732
- [P.SocialLogin]: () => /* @__PURE__ */ i(xc, {}),
4733
- [P.MyDogeSocialLogin]: () => /* @__PURE__ */ i(oc, {})
4734
- }, Ic = (e) => {
4735
- const { hideHeader: n, hideBody: t, onBack: r, ...s } = e, o = B(() => r ? /* @__PURE__ */ i(X, { isIconOnly: !0, size: "sm", variant: "light", onPress: r, radius: "full", children: /* @__PURE__ */ i(ct, {}) }) : null, [r]), c = B(() => n ? null : /* @__PURE__ */ v(Xr, { className: "flex items-center justify-between", children: [
4729
+ }, vr = {
4730
+ [P.Loading]: () => /* @__PURE__ */ i(No, {}),
4731
+ [P.Logged]: () => /* @__PURE__ */ i(qo, {}),
4732
+ [P.Error]: () => /* @__PURE__ */ i(Bo, {}),
4733
+ [P.Connecting]: () => /* @__PURE__ */ i(Po, {}),
4734
+ [P.WalletList]: () => /* @__PURE__ */ i(nc, {}),
4735
+ [P.WalletSearch]: () => /* @__PURE__ */ i(rc, {}),
4736
+ [P.WalletSelectProviders]: () => /* @__PURE__ */ i(gc, {}),
4737
+ [P.WalletInstallGuide]: () => /* @__PURE__ */ i(Xo, {}),
4738
+ [P.Account]: () => /* @__PURE__ */ i(zo, {}),
4739
+ [P.SelectChains]: () => /* @__PURE__ */ i(dc, {}),
4740
+ [P.ChangeNetwork]: () => /* @__PURE__ */ i(wo, {}),
4741
+ [P.SignInWallet]: () => /* @__PURE__ */ i(mc, {}),
4742
+ [P.WalletConnect]: () => /* @__PURE__ */ i(Ic, {}),
4743
+ [P.UnsupportChain]: () => /* @__PURE__ */ i(wc, {}),
4744
+ [P.SocialLogin]: () => /* @__PURE__ */ i(pc, {}),
4745
+ [P.MyDogeSocialLogin]: () => /* @__PURE__ */ i(cc, {})
4746
+ }, Pc = (e) => {
4747
+ const { hideHeader: n, hideBody: t, onBack: r, ...s } = e, o = B(() => r ? /* @__PURE__ */ i(X, { isIconOnly: !0, size: "sm", variant: "light", onPress: r, radius: "full", children: /* @__PURE__ */ i(at, {}) }) : null, [r]), c = B(() => n ? null : /* @__PURE__ */ v(jr, { className: "flex items-center justify-between", children: [
4736
4748
  o,
4737
4749
  /* @__PURE__ */ i("span", { children: e.title }),
4738
- /* @__PURE__ */ i(X, { isIconOnly: !0, size: "sm", variant: "light", onPress: e.onClose, radius: "full", children: /* @__PURE__ */ i(at, {}) })
4739
- ] }), [n, e.title, e.onClose, o]), a = B(() => t ? null : /* @__PURE__ */ i(Nr, { className: "px-5", children: e.children }), [t, e.children]);
4740
- return /* @__PURE__ */ i(At, { ...s, hideCloseButton: !0, className: "w-[448px]", children: /* @__PURE__ */ v(jr, { children: [
4750
+ /* @__PURE__ */ i(X, { isIconOnly: !0, size: "sm", variant: "light", onPress: e.onClose, radius: "full", children: /* @__PURE__ */ i(lt, {}) })
4751
+ ] }), [n, e.title, e.onClose, o]), a = B(() => t ? null : /* @__PURE__ */ i(Tr, { className: "px-5", children: e.children }), [t, e.children]);
4752
+ return /* @__PURE__ */ i(dt, { ...s, hideCloseButton: !0, children: /* @__PURE__ */ v(Er, { className: "w-[448px]", children: [
4741
4753
  c,
4742
4754
  a
4743
4755
  ] }) });
4744
- }, Pc = () => {
4745
- const e = V(M);
4756
+ }, Bc = () => {
4757
+ const e = V(W);
4746
4758
  if (!e)
4747
4759
  return null;
4748
4760
  const { modal: n, connection: t } = e, r = () => {
4749
- const s = ur[n.view];
4761
+ const s = vr[n.view];
4750
4762
  return s ? s(e) : null;
4751
4763
  };
4752
4764
  return /* @__PURE__ */ i(
4753
- Ic,
4765
+ Pc,
4754
4766
  {
4755
4767
  hideHeader: !0,
4756
4768
  isOpen: n.isOpen,
@@ -4760,10 +4772,10 @@ const ec = () => {
4760
4772
  children: r()
4761
4773
  }
4762
4774
  );
4763
- }, Bc = ({ config: e }) => {
4775
+ }, yc = ({ config: e }) => {
4764
4776
  const [n, t] = N(null), [r, s] = N(!1), [o, c] = N(null), [a, l] = N(null), [A, d] = N(!0);
4765
4777
  return Z(() => {
4766
- const f = _r.getInstance();
4778
+ const f = es.getInstance();
4767
4779
  (async () => {
4768
4780
  d(!0);
4769
4781
  const u = await f.init({ ...e, tomoClientId: e.clientId });
@@ -4775,21 +4787,21 @@ const ec = () => {
4775
4787
  console.log("initEmbeddedWallet result: ", u), t(f), s(x || !1), c(C ?? null), l(m), d(!1);
4776
4788
  })();
4777
4789
  }, [e]), { wallet: n, isAvailable: r, message: o, connectedInfo: a, isLoading: A };
4778
- }, yc = ({
4790
+ }, hc = ({
4779
4791
  setWalletState: e,
4780
4792
  currentWallet: n,
4781
4793
  isConnected: t,
4782
4794
  embeddedWallet: r,
4783
4795
  wagmiConfig: s
4784
4796
  }) => {
4785
- const o = ce(!1), { data: c } = ye("all"), a = B(() => c?.all || [], [c?.all]), l = cr(), A = Do();
4797
+ const o = ce(!1), { data: c } = he("all"), a = B(() => c?.all || [], [c?.all]), l = lr(), A = Ho();
4786
4798
  Z(() => {
4787
4799
  if (o.current || t || n)
4788
4800
  return;
4789
4801
  const d = async () => {
4790
4802
  const f = r?.wallet;
4791
4803
  try {
4792
- const g = ls();
4804
+ const g = ds();
4793
4805
  if (!g) {
4794
4806
  o.current = !0;
4795
4807
  return;
@@ -4814,33 +4826,33 @@ const ec = () => {
4814
4826
  console.log("No connectedInfo available for embedded wallet"), o.current = !0;
4815
4827
  return;
4816
4828
  }
4817
- let b = null;
4818
- if (m.evmProvider?.connected === !0 ? b = "evm" : m.solanaProvider?.connected === !0 && (b = "solana"), !b) {
4829
+ let p = null;
4830
+ if (m.evmProvider?.connected === !0 ? p = "evm" : m.solanaProvider?.connected === !0 ? p = "solana" : m.dogeProvider?.connected === !0 && (p = "dogecoin"), !p) {
4819
4831
  console.log("No connected provider found in connectedInfo"), o.current = !0;
4820
4832
  return;
4821
4833
  }
4822
- const h = u?.providers[b]?.provider;
4834
+ const h = u?.providers[p]?.provider;
4823
4835
  if (!h) {
4824
- console.log("Provider not available for connected chain type:", b), o.current = !0;
4836
+ console.log("Provider not available for connected chain type:", p), o.current = !0;
4825
4837
  return;
4826
4838
  }
4827
- const p = m[`${b}Provider`]?.address?.[0] || g.address;
4839
+ const b = m[`${p}Provider`]?.address?.[0] || g.address;
4828
4840
  if (console.log("Restoring embedded wallet connection", {
4829
- connectedChainType: b,
4830
- connectedAddress: p,
4841
+ connectedChainType: p,
4842
+ connectedAddress: b,
4831
4843
  connectedInfo: m
4832
4844
  }), e((w) => ({
4833
4845
  ...w,
4834
4846
  isConnected: !0,
4835
- address: p,
4847
+ address: b,
4836
4848
  chainId: g.chainId,
4837
- chainType: b,
4849
+ chainType: p,
4838
4850
  balance: g.balance || "0.0",
4839
4851
  currentWallet: u,
4840
4852
  currentProvider: h
4841
- })), l && b === k.EVM && s && A && !A.isConnected)
4853
+ })), l && p === k.EVM && s && A && !A.isConnected)
4842
4854
  try {
4843
- const w = mn(
4855
+ const w = xn(
4844
4856
  u.info.uuid,
4845
4857
  u.info.rdns,
4846
4858
  s.connectors
@@ -4859,8 +4871,8 @@ const ec = () => {
4859
4871
  } else
4860
4872
  try {
4861
4873
  const m = await C.request?.({ method: "eth_accounts" });
4862
- if (m && m.length > 0 && m[0].toLowerCase() === g.address.toLowerCase() && (console.log("Restoring plugin wallet connection for:", u.info.name), e((b) => ({
4863
- ...b,
4874
+ if (m && m.length > 0 && m[0].toLowerCase() === g.address.toLowerCase() && (console.log("Restoring plugin wallet connection for:", u.info.name), e((p) => ({
4875
+ ...p,
4864
4876
  isConnected: !0,
4865
4877
  address: g.address,
4866
4878
  chainId: g.chainId,
@@ -4870,20 +4882,20 @@ const ec = () => {
4870
4882
  currentProvider: C
4871
4883
  })), l && g.chainType === k.EVM && s && A && !A.isConnected))
4872
4884
  try {
4873
- const b = mn(
4885
+ const p = xn(
4874
4886
  u.info.uuid,
4875
4887
  u.info.rdns,
4876
4888
  s.connectors
4877
4889
  );
4878
- if (b && b.ready) {
4890
+ if (p && p.ready) {
4879
4891
  const h = g.chainId ? parseInt(g.chainId, 16) : void 0;
4880
4892
  await l.connectAsync({
4881
- connector: b,
4893
+ connector: p,
4882
4894
  chainId: h
4883
4895
  });
4884
4896
  }
4885
- } catch (b) {
4886
- console.warn("Failed to restore wagmi connection:", b);
4897
+ } catch (p) {
4898
+ console.warn("Failed to restore wagmi connection:", p);
4887
4899
  }
4888
4900
  o.current = !0;
4889
4901
  } catch (m) {
@@ -4906,12 +4918,12 @@ const ec = () => {
4906
4918
  A
4907
4919
  ]);
4908
4920
  };
4909
- function hc(e) {
4921
+ function Mc(e) {
4910
4922
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4911
4923
  }
4912
- var sn = { exports: {} }, it;
4913
- function Mc() {
4914
- return it || (it = 1, function(e) {
4924
+ var on = { exports: {} }, ot;
4925
+ function Wc() {
4926
+ return ot || (ot = 1, function(e) {
4915
4927
  var n = Object.prototype.hasOwnProperty, t = "~";
4916
4928
  function r() {
4917
4929
  }
@@ -4950,9 +4962,9 @@ function Mc() {
4950
4962
  }, a.prototype.emit = function(A, d, f, g, u, x) {
4951
4963
  var C = t ? t + A : A;
4952
4964
  if (!this._events[C]) return !1;
4953
- var m = this._events[C], b = arguments.length, h, p;
4965
+ var m = this._events[C], p = arguments.length, h, b;
4954
4966
  if (m.fn) {
4955
- switch (m.once && this.removeListener(A, m.fn, void 0, !0), b) {
4967
+ switch (m.once && this.removeListener(A, m.fn, void 0, !0), p) {
4956
4968
  case 1:
4957
4969
  return m.fn.call(m.context), !0;
4958
4970
  case 2:
@@ -4966,29 +4978,29 @@ function Mc() {
4966
4978
  case 6:
4967
4979
  return m.fn.call(m.context, d, f, g, u, x), !0;
4968
4980
  }
4969
- for (p = 1, h = new Array(b - 1); p < b; p++)
4970
- h[p - 1] = arguments[p];
4981
+ for (b = 1, h = new Array(p - 1); b < p; b++)
4982
+ h[b - 1] = arguments[b];
4971
4983
  m.fn.apply(m.context, h);
4972
4984
  } else {
4973
4985
  var w = m.length, I;
4974
- for (p = 0; p < w; p++)
4975
- switch (m[p].once && this.removeListener(A, m[p].fn, void 0, !0), b) {
4986
+ for (b = 0; b < w; b++)
4987
+ switch (m[b].once && this.removeListener(A, m[b].fn, void 0, !0), p) {
4976
4988
  case 1:
4977
- m[p].fn.call(m[p].context);
4989
+ m[b].fn.call(m[b].context);
4978
4990
  break;
4979
4991
  case 2:
4980
- m[p].fn.call(m[p].context, d);
4992
+ m[b].fn.call(m[b].context, d);
4981
4993
  break;
4982
4994
  case 3:
4983
- m[p].fn.call(m[p].context, d, f);
4995
+ m[b].fn.call(m[b].context, d, f);
4984
4996
  break;
4985
4997
  case 4:
4986
- m[p].fn.call(m[p].context, d, f, g);
4998
+ m[b].fn.call(m[b].context, d, f, g);
4987
4999
  break;
4988
5000
  default:
4989
- if (!h) for (I = 1, h = new Array(b - 1); I < b; I++)
5001
+ if (!h) for (I = 1, h = new Array(p - 1); I < p; I++)
4990
5002
  h[I - 1] = arguments[I];
4991
- m[p].fn.apply(m[p].context, h);
5003
+ m[b].fn.apply(m[b].context, h);
4992
5004
  }
4993
5005
  }
4994
5006
  return !0;
@@ -5005,7 +5017,7 @@ function Mc() {
5005
5017
  if (x.fn)
5006
5018
  x.fn === d && (!g || x.once) && (!f || x.context === f) && c(this, u);
5007
5019
  else {
5008
- for (var C = 0, m = [], b = x.length; C < b; C++)
5020
+ for (var C = 0, m = [], p = x.length; C < p; C++)
5009
5021
  (x[C].fn !== d || g && !x[C].once || f && x[C].context !== f) && m.push(x[C]);
5010
5022
  m.length ? this._events[u] = m.length === 1 ? m[0] : m : c(this, u);
5011
5023
  }
@@ -5014,11 +5026,11 @@ function Mc() {
5014
5026
  var d;
5015
5027
  return A ? (d = t ? t + A : A, this._events[d] && c(this, d)) : (this._events = new r(), this._eventsCount = 0), this;
5016
5028
  }, a.prototype.off = a.prototype.removeListener, a.prototype.addListener = a.prototype.on, a.prefixed = t, a.EventEmitter = a, e.exports = a;
5017
- }(sn)), sn.exports;
5029
+ }(on)), on.exports;
5018
5030
  }
5019
- var Wc = Mc();
5020
- const Vc = /* @__PURE__ */ hc(Wc);
5021
- class Xc {
5031
+ var Vc = Wc();
5032
+ const Xc = /* @__PURE__ */ Mc(Vc);
5033
+ class Nc {
5022
5034
  constructor(n) {
5023
5035
  Object.defineProperty(this, "uid", {
5024
5036
  enumerable: !0,
@@ -5029,7 +5041,7 @@ class Xc {
5029
5041
  enumerable: !0,
5030
5042
  configurable: !0,
5031
5043
  writable: !0,
5032
- value: new Vc()
5044
+ value: new Xc()
5033
5045
  });
5034
5046
  }
5035
5047
  on(n, t) {
@@ -5049,34 +5061,34 @@ class Xc {
5049
5061
  return this._emitter.listenerCount(n);
5050
5062
  }
5051
5063
  }
5052
- function Nc(e) {
5053
- return new Xc(e);
5064
+ function jc(e) {
5065
+ return new Nc(e);
5054
5066
  }
5055
- const pn = 256;
5056
- let We = pn, Ve;
5057
- function jc(e = 11) {
5058
- if (!Ve || We + e > pn * 2) {
5059
- Ve = "", We = 0;
5060
- for (let n = 0; n < pn; n++)
5061
- Ve += (256 + Math.random() * 256 | 0).toString(16).substring(1);
5067
+ const bn = 256;
5068
+ let Ve = bn, Xe;
5069
+ function Tc(e = 11) {
5070
+ if (!Xe || Ve + e > bn * 2) {
5071
+ Xe = "", Ve = 0;
5072
+ for (let n = 0; n < bn; n++)
5073
+ Xe += (256 + Math.random() * 256 | 0).toString(16).substring(1);
5062
5074
  }
5063
- return Ve.substring(We, We++ + e);
5075
+ return Xe.substring(Ve, Ve++ + e);
5064
5076
  }
5065
- const Tc = "2.22.1", Ec = () => `@wagmi/core@${Tc}`;
5066
- var gr = function(e, n, t, r) {
5077
+ const Ec = "2.22.1", Lc = () => `@wagmi/core@${Ec}`;
5078
+ var Cr = function(e, n, t, r) {
5067
5079
  if (t === "a" && !r) throw new TypeError("Private accessor was defined without a getter");
5068
5080
  if (typeof n == "function" ? e !== n || !r : !n.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
5069
5081
  return t === "m" ? r : t === "a" ? r.call(e) : r ? r.value : n.get(e);
5070
- }, Ze, vr;
5071
- class ze extends Error {
5082
+ }, ke, mr;
5083
+ class we extends Error {
5072
5084
  get docsBaseUrl() {
5073
5085
  return "https://wagmi.sh/core";
5074
5086
  }
5075
5087
  get version() {
5076
- return Ec();
5088
+ return Lc();
5077
5089
  }
5078
5090
  constructor(n, t = {}) {
5079
- super(), Ze.add(this), Object.defineProperty(this, "details", {
5091
+ super(), ke.add(this), Object.defineProperty(this, "details", {
5080
5092
  enumerable: !0,
5081
5093
  configurable: !0,
5082
5094
  writable: !0,
@@ -5102,7 +5114,7 @@ class ze extends Error {
5102
5114
  writable: !0,
5103
5115
  value: "WagmiCoreError"
5104
5116
  });
5105
- const r = t.cause instanceof ze ? t.cause.details : t.cause?.message ? t.cause.message : t.details, s = t.cause instanceof ze && t.cause.docsPath || t.docsPath;
5117
+ const r = t.cause instanceof we ? t.cause.details : t.cause?.message ? t.cause.message : t.details, s = t.cause instanceof we && t.cause.docsPath || t.docsPath;
5106
5118
  this.message = [
5107
5119
  n || "An error occurred.",
5108
5120
  "",
@@ -5116,13 +5128,13 @@ class ze extends Error {
5116
5128
  `), t.cause && (this.cause = t.cause), this.details = r, this.docsPath = s, this.metaMessages = t.metaMessages, this.shortMessage = n;
5117
5129
  }
5118
5130
  walk(n) {
5119
- return gr(this, Ze, "m", vr).call(this, this, n);
5131
+ return Cr(this, ke, "m", mr).call(this, this, n);
5120
5132
  }
5121
5133
  }
5122
- Ze = /* @__PURE__ */ new WeakSet(), vr = function e(n, t) {
5123
- return t?.(n) ? n : n.cause ? gr(this, Ze, "m", e).call(this, n.cause, t) : n;
5134
+ ke = /* @__PURE__ */ new WeakSet(), mr = function e(n, t) {
5135
+ return t?.(n) ? n : n.cause ? Cr(this, ke, "m", e).call(this, n.cause, t) : n;
5124
5136
  };
5125
- class Lc extends ze {
5137
+ class Sc extends we {
5126
5138
  constructor() {
5127
5139
  super("Chain not configured."), Object.defineProperty(this, "name", {
5128
5140
  enumerable: !0,
@@ -5132,7 +5144,7 @@ class Lc extends ze {
5132
5144
  });
5133
5145
  }
5134
5146
  }
5135
- class re extends ze {
5147
+ class re extends we {
5136
5148
  constructor() {
5137
5149
  super("Provider not found."), Object.defineProperty(this, "name", {
5138
5150
  enumerable: !0,
@@ -5142,8 +5154,8 @@ class re extends ze {
5142
5154
  });
5143
5155
  }
5144
5156
  }
5145
- En.type = "injected";
5146
- function En(e = {}) {
5157
+ Ln.type = "injected";
5158
+ function Ln(e = {}) {
5147
5159
  const { shimDisconnect: n = !0, unstable_shimAsyncInject: t } = e;
5148
5160
  function r() {
5149
5161
  const l = e.target;
@@ -5153,7 +5165,7 @@ function En(e = {}) {
5153
5165
  return A;
5154
5166
  }
5155
5167
  return typeof l == "object" ? l : typeof l == "string" ? {
5156
- ...Sc[l] ?? {
5168
+ ...Oc[l] ?? {
5157
5169
  id: l,
5158
5170
  name: `${l[0].toUpperCase()}${l.slice(1)}`,
5159
5171
  provider: `is${l[0].toUpperCase()}${l.slice(1)}`
@@ -5181,7 +5193,7 @@ function En(e = {}) {
5181
5193
  get supportsSimulation() {
5182
5194
  return !0;
5183
5195
  },
5184
- type: En.type,
5196
+ type: Ln.type,
5185
5197
  async setup() {
5186
5198
  const A = await this.getProvider();
5187
5199
  A?.on && e.target && (c || (c = this.onConnect.bind(this), A.on("connect", c)), s || (s = this.onAccountsChanged.bind(this), A.on("accountsChanged", s)));
@@ -5198,18 +5210,18 @@ function En(e = {}) {
5198
5210
  u = (await g.request({
5199
5211
  method: "wallet_requestPermissions",
5200
5212
  params: [{ eth_accounts: {} }]
5201
- }))[0]?.caveats?.[0]?.value?.map((C) => he(C)), u.length > 0 && (u = await this.getAccounts());
5213
+ }))[0]?.caveats?.[0]?.value?.map((C) => Me(C)), u.length > 0 && (u = await this.getAccounts());
5202
5214
  } catch (x) {
5203
5215
  const C = x;
5204
5216
  if (C.code === F.code)
5205
5217
  throw new F(C);
5206
- if (C.code === Ue.code)
5218
+ if (C.code === Re.code)
5207
5219
  throw C;
5208
5220
  }
5209
5221
  try {
5210
5222
  !u?.length && !d && (u = (await g.request({
5211
5223
  method: "eth_requestAccounts"
5212
- })).map((m) => he(m))), c && (g.removeListener("connect", c), c = void 0), s || (s = this.onAccountsChanged.bind(this), g.on("accountsChanged", s)), o || (o = this.onChainChanged.bind(this), g.on("chainChanged", o)), a || (a = this.onDisconnect.bind(this), g.on("disconnect", a));
5224
+ })).map((m) => Me(m))), c && (g.removeListener("connect", c), c = void 0), s || (s = this.onAccountsChanged.bind(this), g.on("accountsChanged", s)), o || (o = this.onChainChanged.bind(this), g.on("chainChanged", o)), a || (a = this.onDisconnect.bind(this), g.on("disconnect", a));
5213
5225
  let x = await this.getChainId();
5214
5226
  return A && x !== A && (x = (await this.switchChain({ chainId: A }).catch((m) => {
5215
5227
  if (m.code === F.code)
@@ -5221,7 +5233,7 @@ function En(e = {}) {
5221
5233
  };
5222
5234
  } catch (x) {
5223
5235
  const C = x;
5224
- throw C.code === F.code ? new F(C) : C.code === Ue.code ? new Ue(C) : C;
5236
+ throw C.code === F.code ? new F(C) : C.code === Re.code ? new Re(C) : C;
5225
5237
  }
5226
5238
  },
5227
5239
  async disconnect() {
@@ -5230,7 +5242,7 @@ function En(e = {}) {
5230
5242
  throw new re();
5231
5243
  o && (A.removeListener("chainChanged", o), o = void 0), a && (A.removeListener("disconnect", a), a = void 0), c || (c = this.onConnect.bind(this), A.on("connect", c));
5232
5244
  try {
5233
- await ss(() => (
5245
+ await os(() => (
5234
5246
  // TODO: Remove explicit type for viem@3
5235
5247
  A.request({
5236
5248
  // `'wallet_revokePermissions'` added in `viem@2.10.3`
@@ -5246,7 +5258,7 @@ function En(e = {}) {
5246
5258
  const A = await this.getProvider();
5247
5259
  if (!A)
5248
5260
  throw new re();
5249
- return (await A.request({ method: "eth_accounts" })).map((f) => he(f));
5261
+ return (await A.request({ method: "eth_accounts" })).map((f) => Me(f));
5250
5262
  },
5251
5263
  async getChainId() {
5252
5264
  const A = await this.getProvider();
@@ -5260,7 +5272,7 @@ function En(e = {}) {
5260
5272
  return;
5261
5273
  let A;
5262
5274
  const d = r();
5263
- return typeof d.provider == "function" ? A = d.provider(window) : typeof d.provider == "string" ? A = je(window, d.provider) : A = d.provider, A && !A.removeListener && ("off" in A && typeof A.off == "function" ? A.removeListener = A.off : A.removeListener = () => {
5275
+ return typeof d.provider == "function" ? A = d.provider(window) : typeof d.provider == "string" ? A = Te(window, d.provider) : A = d.provider, A && !A.removeListener && ("off" in A && typeof A.off == "function" ? A.removeListener = A.off : A.removeListener = () => {
5264
5276
  }), A;
5265
5277
  },
5266
5278
  async isAuthorized() {
@@ -5281,7 +5293,7 @@ function En(e = {}) {
5281
5293
  }
5282
5294
  throw new re();
5283
5295
  }
5284
- return !!(await rs(() => this.getAccounts())).length;
5296
+ return !!(await is(() => this.getAccounts())).length;
5285
5297
  } catch {
5286
5298
  return !1;
5287
5299
  }
@@ -5292,7 +5304,7 @@ function En(e = {}) {
5292
5304
  throw new re();
5293
5305
  const g = l.chains.find((x) => x.id === d);
5294
5306
  if (!g)
5295
- throw new Zn(new Lc());
5307
+ throw new kn(new Sc());
5296
5308
  const u = new Promise((x) => {
5297
5309
  const C = (m) => {
5298
5310
  "chainId" in m && m.chainId === d && (l.emitter.off("change", C), x());
@@ -5303,7 +5315,7 @@ function En(e = {}) {
5303
5315
  return await Promise.all([
5304
5316
  f.request({
5305
5317
  method: "wallet_switchEthereumChain",
5306
- params: [{ chainId: kn(d) }]
5318
+ params: [{ chainId: Jn(d) }]
5307
5319
  }).then(async () => {
5308
5320
  await this.getChainId() === d && l.emitter.emit("change", { chainId: d });
5309
5321
  }),
@@ -5315,21 +5327,21 @@ function En(e = {}) {
5315
5327
  // https://github.com/MetaMask/metamask-mobile/issues/2944#issuecomment-976988719
5316
5328
  C?.data?.originalError?.code === 4902)
5317
5329
  try {
5318
- const { default: m, ...b } = g.blockExplorers ?? {};
5330
+ const { default: m, ...p } = g.blockExplorers ?? {};
5319
5331
  let h;
5320
5332
  A?.blockExplorerUrls ? h = A.blockExplorerUrls : m && (h = [
5321
5333
  m.url,
5322
- ...Object.values(b).map((I) => I.url)
5334
+ ...Object.values(p).map((I) => I.url)
5323
5335
  ]);
5324
- let p;
5325
- A?.rpcUrls?.length ? p = A.rpcUrls : p = [g.rpcUrls.default?.http[0] ?? ""];
5336
+ let b;
5337
+ A?.rpcUrls?.length ? b = A.rpcUrls : b = [g.rpcUrls.default?.http[0] ?? ""];
5326
5338
  const w = {
5327
5339
  blockExplorerUrls: h,
5328
- chainId: kn(d),
5340
+ chainId: Jn(d),
5329
5341
  chainName: A?.chainName ?? g.name,
5330
5342
  iconUrls: A?.iconUrls,
5331
5343
  nativeCurrency: A?.nativeCurrency ?? g.nativeCurrency,
5332
- rpcUrls: p
5344
+ rpcUrls: b
5333
5345
  };
5334
5346
  return await Promise.all([
5335
5347
  f.request({
@@ -5346,7 +5358,7 @@ function En(e = {}) {
5346
5358
  } catch (m) {
5347
5359
  throw new F(m);
5348
5360
  }
5349
- throw C.code === F.code ? new F(C) : new Zn(C);
5361
+ throw C.code === F.code ? new F(C) : new kn(C);
5350
5362
  }
5351
5363
  },
5352
5364
  async onAccountsChanged(A) {
@@ -5357,7 +5369,7 @@ function En(e = {}) {
5357
5369
  this.onConnect({ chainId: d }), n && await l.storage?.removeItem(`${this.id}.disconnected`);
5358
5370
  } else
5359
5371
  l.emitter.emit("change", {
5360
- accounts: A.map((d) => he(d))
5372
+ accounts: A.map((d) => Me(d))
5361
5373
  });
5362
5374
  },
5363
5375
  onChainChanged(A) {
@@ -5379,19 +5391,19 @@ function En(e = {}) {
5379
5391
  }
5380
5392
  });
5381
5393
  }
5382
- const Sc = {
5394
+ const Oc = {
5383
5395
  coinbaseWallet: {
5384
5396
  id: "coinbaseWallet",
5385
5397
  name: "Coinbase Wallet",
5386
5398
  provider(e) {
5387
- return e?.coinbaseWalletExtension ? e.coinbaseWalletExtension : je(e, "isCoinbaseWallet");
5399
+ return e?.coinbaseWalletExtension ? e.coinbaseWalletExtension : Te(e, "isCoinbaseWallet");
5388
5400
  }
5389
5401
  },
5390
5402
  metaMask: {
5391
5403
  id: "metaMask",
5392
5404
  name: "MetaMask",
5393
5405
  provider(e) {
5394
- return je(e, (n) => {
5406
+ return Te(e, (n) => {
5395
5407
  if (!n.isMetaMask || n.isBraveWallet && !n._events && !n._state)
5396
5408
  return !1;
5397
5409
  const t = [
@@ -5425,11 +5437,11 @@ const Sc = {
5425
5437
  id: "phantom",
5426
5438
  name: "Phantom",
5427
5439
  provider(e) {
5428
- return e?.phantom?.ethereum ? e.phantom?.ethereum : je(e, "isPhantom");
5440
+ return e?.phantom?.ethereum ? e.phantom?.ethereum : Te(e, "isPhantom");
5429
5441
  }
5430
5442
  }
5431
5443
  };
5432
- function je(e, n) {
5444
+ function Te(e, n) {
5433
5445
  function t(s) {
5434
5446
  return typeof n == "function" ? n(s) : typeof n == "string" ? s[n] : !0;
5435
5447
  }
@@ -5439,15 +5451,15 @@ function je(e, n) {
5439
5451
  if (r && t(r))
5440
5452
  return r;
5441
5453
  }
5442
- function Oc(e, n = k.EVM) {
5454
+ function Yc(e, n = k.EVM) {
5443
5455
  if (!e.providers[n])
5444
5456
  return null;
5445
5457
  const t = e.providers[n]?.provider;
5446
5458
  if (!t)
5447
5459
  return null;
5448
5460
  const r = e.info, s = r.rdns || r.uuid || `wallet-${r.name.toLowerCase().replace(/\s+/g, "-")}`;
5449
- return ts((o) => ({
5450
- ...En({
5461
+ return ss((o) => ({
5462
+ ...Ln({
5451
5463
  target: () => ({
5452
5464
  id: s,
5453
5465
  name: r.name,
@@ -5462,14 +5474,14 @@ function Oc(e, n = k.EVM) {
5462
5474
  emitter: o.emitter
5463
5475
  }));
5464
5476
  }
5465
- function Yc(e, n = k.EVM, t) {
5477
+ function Zc(e, n = k.EVM, t) {
5466
5478
  const r = [];
5467
5479
  if (t.length === 0)
5468
5480
  return r;
5469
5481
  for (const s of e) {
5470
- const o = Oc(s, n);
5482
+ const o = Yc(s, n);
5471
5483
  if (o) {
5472
- const c = Nc(jc());
5484
+ const c = jc(Tc());
5473
5485
  r.push(
5474
5486
  o({
5475
5487
  chains: t,
@@ -5480,81 +5492,81 @@ function Yc(e, n = k.EVM, t) {
5480
5492
  }
5481
5493
  return r;
5482
5494
  }
5483
- function Zc(e, n = []) {
5495
+ function kc(e, n = []) {
5484
5496
  const t = [...n], r = (o) => o.id ?? o.options?.id ?? o.options?.name, s = new Set(n.map((o) => r(o)));
5485
5497
  for (const o of e)
5486
5498
  s.has(r(o)) || t.push(o);
5487
5499
  return t;
5488
5500
  }
5489
- const kc = new Gr(), ea = ({ children: e, config: n }) => {
5490
- const [t, r] = N(P.Loading), { walletState: s, setWalletState: o, error: c, setError: a, resetWalletState: l } = Nn(), A = or(), d = B(() => {
5501
+ const Jc = new Rr(), na = ({ children: e, config: n }) => {
5502
+ const [t, r] = N(P.Loading), { walletState: s, setWalletState: o, error: c, setError: a, resetWalletState: l } = jn(), A = ar(), d = B(() => {
5491
5503
  const fe = {
5492
- evm: Xe.evm,
5493
- solana: Xe.solana,
5504
+ evm: Ne.evm,
5505
+ solana: Ne.solana,
5494
5506
  // dogecoin: recommonedChains.dogecoin,
5495
- aptos: Xe.aptos
5496
- }, Ge = n?.chains || {}, Cr = {
5507
+ aptos: Ne.aptos
5508
+ }, Ue = n?.chains || {}, xr = {
5497
5509
  ...fe,
5498
- ...Ge
5499
- }, mr = {
5510
+ ...Ue
5511
+ }, pr = {
5500
5512
  ...n,
5501
- connectors: n?.connectors || Be.recommonedWallets,
5502
- chains: Cr,
5503
- embeddedWalletConfig: { ...Yo, clientId: n?.clientId || nr },
5513
+ connectors: n?.connectors || ye.recommonedWallets,
5514
+ chains: xr,
5515
+ embeddedWalletConfig: { ...rr, clientId: n?.clientId || tr },
5504
5516
  themeMode: "light",
5505
- prodType: Ne.MyDoge,
5517
+ prodType: je.MyDoge,
5506
5518
  wagmi: A ? {
5507
5519
  config: A
5508
5520
  } : void 0
5509
5521
  };
5510
- return rt(A || null), mr;
5511
- }, [n, A]), f = B(() => d?.prodType === Ne.Tomo ? P.SocialLogin : d?.prodType === Ne.MyDoge ? P.MyDogeSocialLogin : P.SocialLogin, [d?.prodType]), {
5522
+ return st(A || null), pr;
5523
+ }, [n, A]), f = B(() => d?.prodType === je.Tomo ? P.SocialLogin : d?.prodType === je.MyDoge ? P.MyDogeSocialLogin : P.SocialLogin, [d?.prodType]), {
5512
5524
  wallet: g,
5513
5525
  isAvailable: u,
5514
5526
  isLoading: x,
5515
5527
  connectedInfo: C,
5516
5528
  message: m
5517
- } = Bc({
5529
+ } = yc({
5518
5530
  config: d.embeddedWalletConfig
5519
5531
  });
5520
5532
  Z(() => {
5521
5533
  !x && g && r(u ? P.Logged : f);
5522
5534
  }, [u, x, g, f]);
5523
- const b = jo(t), h = T(() => {
5524
- b.setView(s.isConnected ? P.Account : t), b.openModal();
5525
- }, [b.setView, b.openModal, s.isConnected, t]), p = Ho({
5535
+ const p = Eo(t), h = T(() => {
5536
+ p.setView(s.isConnected ? P.Account : t), p.openModal();
5537
+ }, [p.setView, p.openModal, s.isConnected, t]), b = Qo({
5526
5538
  walletState: s,
5527
- modalState: b,
5539
+ modalState: p,
5528
5540
  setWalletState: o,
5529
5541
  resetWalletState: l,
5530
5542
  setError: a,
5531
5543
  setMainView: r
5532
5544
  }), w = B(
5533
5545
  () => ({
5534
- isOpen: b.isOpen,
5535
- view: b.view,
5536
- prevView: b.prevView,
5546
+ isOpen: p.isOpen,
5547
+ view: p.view,
5548
+ prevView: p.prevView,
5537
5549
  openModal: h,
5538
- closeModal: b.closeModal,
5539
- setView: b.setView,
5540
- openModalWithState: b.openModalWithState,
5541
- backView: b.backView,
5542
- state: b.state,
5543
- setCurrentViewState: b.setCurrentViewState,
5550
+ closeModal: p.closeModal,
5551
+ setView: p.setView,
5552
+ openModalWithState: p.openModalWithState,
5553
+ backView: p.backView,
5554
+ state: p.state,
5555
+ setCurrentViewState: p.setCurrentViewState,
5544
5556
  mainView: t,
5545
5557
  setMainView: r
5546
5558
  }),
5547
5559
  [
5548
- b.isOpen,
5549
- b.view,
5550
- b.prevView,
5551
- b.closeModal,
5552
- b.setView,
5553
- b.backView,
5554
- b.state,
5555
- b.setCurrentViewState,
5560
+ p.isOpen,
5561
+ p.view,
5562
+ p.prevView,
5563
+ p.closeModal,
5564
+ p.setView,
5565
+ p.backView,
5566
+ p.state,
5567
+ p.setCurrentViewState,
5556
5568
  h,
5557
- b.openModalWithState,
5569
+ p.openModalWithState,
5558
5570
  t,
5559
5571
  r
5560
5572
  ]
@@ -5583,25 +5595,25 @@ const kc = new Gr(), ea = ({ children: e, config: n }) => {
5583
5595
  s.currentWallet,
5584
5596
  s.currentProvider
5585
5597
  ]
5586
- ), W = B(
5598
+ ), M = B(
5587
5599
  () => ({
5588
- connect: p.connect,
5589
- disconnect: p.disconnect,
5590
- switchChain: p.switchChain,
5591
- signInWithWallet: p.signInWithWallet,
5592
- signMessage: p.signMessage,
5600
+ connect: b.connect,
5601
+ disconnect: b.disconnect,
5602
+ switchChain: b.switchChain,
5603
+ signInWithWallet: b.signInWithWallet,
5604
+ signMessage: b.signMessage,
5593
5605
  // signTransaction: walletActions.signTransaction,
5594
5606
  // signAndSendTransaction: walletActions.signAndSendTransaction,
5595
5607
  // sendTransaction: walletActions.sendTransaction,
5596
- _setCurrentWallet: p._setCurrentWallet
5608
+ _setCurrentWallet: b._setCurrentWallet
5597
5609
  }),
5598
5610
  [
5599
- p.connect,
5600
- p.disconnect,
5601
- p.switchChain,
5602
- p.signInWithWallet,
5603
- p.signMessage,
5604
- p._setCurrentWallet
5611
+ b.connect,
5612
+ b.disconnect,
5613
+ b.switchChain,
5614
+ b.signInWithWallet,
5615
+ b.signMessage,
5616
+ b._setCurrentWallet
5605
5617
  ]
5606
5618
  ), E = B(
5607
5619
  () => ({
@@ -5619,18 +5631,18 @@ const kc = new Gr(), ea = ({ children: e, config: n }) => {
5619
5631
  connection: I,
5620
5632
  account: j,
5621
5633
  embeddedWallet: E,
5622
- ...W
5634
+ ...M
5623
5635
  }),
5624
- [d, w, I, j, E, W]
5636
+ [d, w, I, j, E, M]
5625
5637
  ), Y = B(() => {
5626
- const Ge = "doge" + "_" + d.themeMode;
5627
- return d.themeMode === "dark" ? "dark" : Ge;
5638
+ const Ue = "doge" + "_" + d.themeMode;
5639
+ return d.themeMode === "dark" ? "dark" : Ue;
5628
5640
  }, [d.themeMode]);
5629
- return console.log("--- WalletConnectProvider --- defaultTheme::", Y), /* @__PURE__ */ i(Kr, { client: kc, children: /* @__PURE__ */ v(M.Provider, { value: L, children: [
5630
- /* @__PURE__ */ i(Jc, { setWalletState: o }),
5631
- /* @__PURE__ */ v(Tr, { defaultTheme: Y, forcedTheme: Y, children: [
5641
+ return console.log("--- WalletConnectProvider --- defaultTheme::", Y), /* @__PURE__ */ i(Ur, { client: Jc, children: /* @__PURE__ */ v(W.Provider, { value: L, children: [
5642
+ /* @__PURE__ */ i(Fc, { setWalletState: o }),
5643
+ /* @__PURE__ */ v(Lr, { defaultTheme: Y, forcedTheme: Y, children: [
5632
5644
  /* @__PURE__ */ i(
5633
- Er,
5645
+ Sr,
5634
5646
  {
5635
5647
  maxVisibleToasts: 3,
5636
5648
  placement: "top-center",
@@ -5642,24 +5654,24 @@ const kc = new Gr(), ea = ({ children: e, config: n }) => {
5642
5654
  }
5643
5655
  ),
5644
5656
  e,
5645
- /* @__PURE__ */ i(Pc, {})
5657
+ /* @__PURE__ */ i(Bc, {})
5646
5658
  ] })
5647
5659
  ] }) });
5648
- }, Jc = ({ setWalletState: e }) => {
5649
- const n = V(M);
5660
+ }, Fc = ({ setWalletState: e }) => {
5661
+ const n = V(W);
5650
5662
  if (!n)
5651
5663
  throw new Error("SetupHooks must be used within WalletConnectProvider");
5652
- const t = ye("all", n.config?.connectors || []), r = n.config?.wagmi, s = r?.config;
5664
+ const t = he("all", n.config?.connectors || []), r = n.config?.wagmi, s = r?.config;
5653
5665
  return Z(() => {
5654
5666
  if (!s || !t.data) {
5655
- tn(null);
5667
+ rn(null);
5656
5668
  return;
5657
5669
  }
5658
- const o = s.connectors || [], c = s.chains || [], a = t?.data?.all?.filter((d) => d.providers.evm), l = Yc(a || [], k.EVM, c), A = Zc(l, o);
5659
- A.length > 0 ? tn(A) : tn(null);
5670
+ const o = s.connectors || [], c = s.chains || [], a = t?.data?.all?.filter((d) => d.providers.evm), l = Zc(a || [], k.EVM, c), A = kc(l, o);
5671
+ A.length > 0 ? rn(A) : rn(null);
5660
5672
  }, [t.data, s]), Z(() => {
5661
- Qr(n.config?.walletConnectConfig || Lo);
5662
- }, [n.config?.walletConnectConfig]), yc({
5673
+ Kr(n.config?.walletConnectConfig || Oo);
5674
+ }, [n.config?.walletConnectConfig]), hc({
5663
5675
  setWalletState: e,
5664
5676
  currentWallet: n.account.currentWallet,
5665
5677
  isConnected: n.connection.isConnected,
@@ -5672,14 +5684,14 @@ const kc = new Gr(), ea = ({ children: e, config: n }) => {
5672
5684
  },
5673
5685
  wagmiConfig: r
5674
5686
  }), null;
5675
- }, na = ({ className: e, style: n }) => {
5676
- const t = V(M), r = t?.modal.mainView || P.MyDogeSocialLogin;
5687
+ }, ta = ({ className: e, style: n }) => {
5688
+ const t = V(W), r = t?.modal.mainView || P.MyDogeSocialLogin;
5677
5689
  if (Z(() => {
5678
5690
  t && t.modal.view !== r && t.modal.setView(r);
5679
5691
  }, [r]), !t)
5680
5692
  return console.error("WalletConnectEmbed must be used within WalletConnectProvider"), null;
5681
5693
  const s = t.modal.view, c = (() => {
5682
- const a = ur[s];
5694
+ const a = vr[s];
5683
5695
  return a ? a(t) : null;
5684
5696
  })();
5685
5697
  return /* @__PURE__ */ i(
@@ -5692,9 +5704,9 @@ const kc = new Gr(), ea = ({ children: e, config: n }) => {
5692
5704
  );
5693
5705
  };
5694
5706
  export {
5695
- na as WalletConnectEmbed,
5696
- ea as WalletConnectProvider,
5697
- jn as useAccount,
5698
- er as useEmbeddedWallet,
5699
- $c as useWalletConnect
5707
+ ta as WalletConnectEmbed,
5708
+ na as WalletConnectProvider,
5709
+ Tn as useAccount,
5710
+ nr as useEmbeddedWallet,
5711
+ ea as useWalletConnect
5700
5712
  };